Upgrade kysely-deno-sqlite, fix the type
This commit is contained in:
parent
d1a4a71e31
commit
444a6efd7d
|
@ -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",
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue