fix(core): update

This commit is contained in:
2022-08-01 15:50:05 +02:00
parent f62e0f87ce
commit 18145a27e2
4 changed files with 3699 additions and 141 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/webstore',
version: '2.0.4',
version: '2.0.5',
description: 'high performance storage in the browser using indexed db'
}

View File

@ -25,7 +25,7 @@ export class WebStore<T = any> {
const smartenv = new plugins.smartenv.Smartenv();
if (!smartenv.isBrowser) {
await smartenv.getSafeNodeModule('fake-indexeddb/auto.js');
await smartenv.getSafeNodeModule('fake-indexeddb/auto');
}
this.db = await plugins.idb.openDB(this.options.dbName, 1, {