We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d0c352 commit eda8717Copy full SHA for eda8717
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@haroonwaves/sqlite-wasm-easy",
3
- "version": "0.1.7",
+ "version": "0.1.8",
4
"description": "A simple, zero-config wrapper around @sqlite.org/sqlite-wasm",
5
"type": "module",
6
"main": "./dist/index.js",
src/core/database.ts
@@ -41,7 +41,7 @@ export class SQLiteWASM<Schema = any> {
41
private async initialize(): Promise<void> {
42
// Create worker
43
const workerPath =
44
- this.config.worker.path || new URL('../worker/sqliteWorker.js', import.meta.url).href;
+ this.config.worker.path || new URL('./worker/sqliteWorker.js', import.meta.url).href;
45
this.worker = new Worker(workerPath, { type: 'module' });
46
47
// Setup message handler
0 commit comments