diff --git a/deno.json b/deno.json index 666f7d9..167176f 100644 --- a/deno.json +++ b/deno.json @@ -22,7 +22,7 @@ "@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0", "@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.15.0", "@sentry/deno": "https://deno.land/x/sentry@7.112.2/index.mjs", - "@soapbox/kysely-deno-sqlite": "jsr:@soapbox/kysely-deno-sqlite@^2.0.2", + "@soapbox/kysely-deno-sqlite": "jsr:@soapbox/kysely-deno-sqlite@^2.1.0", "@soapbox/stickynotes": "jsr:@soapbox/stickynotes@^0.4.0", "@std/cli": "jsr:@std/cli@^0.223.0", "@std/crypto": "jsr:@std/crypto@^0.224.0", diff --git a/src/workers/sqlite.ts b/src/workers/sqlite.ts index c6f2d2e..37c33b4 100644 --- a/src/workers/sqlite.ts +++ b/src/workers/sqlite.ts @@ -33,6 +33,10 @@ class SqliteWorker { return this.#client.executeQuery(query) as Promise>; } + streamQuery(): AsyncIterableIterator { + throw new Error('Streaming queries are not supported in the web worker'); + } + destroy(): Promise { return this.#client.destroy(); }