@fireproof/core 0.10.1-dev → 0.10.2-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17374,12 +17374,11 @@ You can use close({ resize: true }) to resize header`);
|
|
17374
17374
|
return __async(this, null, function* () {
|
17375
17375
|
if (!this.idb) {
|
17376
17376
|
const dbName = `fp.${FORMAT}.${this.keyId}.${this.name}.valet`;
|
17377
|
-
|
17377
|
+
this.idb = yield openDB(dbName, 1, {
|
17378
17378
|
upgrade(db) {
|
17379
17379
|
db.createObjectStore("cars");
|
17380
17380
|
}
|
17381
|
-
};
|
17382
|
-
this.idb = yield openDB(dbName, 0, options);
|
17381
|
+
});
|
17383
17382
|
}
|
17384
17383
|
return yield dbWorkFun(this.idb);
|
17385
17384
|
});
|