fix(core): update
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user