diff --git a/package.json b/package.json index 84a14594..b89de1b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jsstore", - "version": "4.6.2", + "version": "4.6.3", "description": "A complete IndexedDB wrapper with SQL like syntax.", "main": "dist/npm.export.js", "types": "dist/ts/main/index.d.ts", diff --git a/src/worker/query_manager.ts b/src/worker/query_manager.ts index 7d73fd8e..7cdce405 100644 --- a/src/worker/query_manager.ts +++ b/src/worker/query_manager.ts @@ -329,7 +329,7 @@ export class QueryManager { this.util.db = value; dbInfo.database = userDbSchema(this.db); res(dbInfo); - }).catch(rej) + }).catch(rej); } }).catch(rej); });