Upgrade kysely-deno-sqlite, fix the type

This commit is contained in:
Alex Gleason 2024-05-01 18:40:04 -05:00
parent d1a4a71e31
commit 444a6efd7d
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,7 @@
"@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0", "@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0",
"@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.15.0", "@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.15.0",
"@sentry/deno": "https://deno.land/x/sentry@7.112.2/index.mjs", "@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", "@soapbox/stickynotes": "jsr:@soapbox/stickynotes@^0.4.0",
"@std/cli": "jsr:@std/cli@^0.223.0", "@std/cli": "jsr:@std/cli@^0.223.0",
"@std/crypto": "jsr:@std/crypto@^0.224.0", "@std/crypto": "jsr:@std/crypto@^0.224.0",

View File

@ -33,6 +33,10 @@ class SqliteWorker {
return this.#client.executeQuery(query) as Promise<QueryResult<R>>; return this.#client.executeQuery(query) as Promise<QueryResult<R>>;
} }
streamQuery<R>(): AsyncIterableIterator<R> {
throw new Error('Streaming queries are not supported in the web worker');
}
destroy(): Promise<void> { destroy(): Promise<void> {
return this.#client.destroy(); return this.#client.destroy();
} }