@fireproof/core 0.10.1-dev → 0.10.2-dev
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
});
|