@bitcobblers/wod-wiki-storage 0.59.2244 → 0.59.2246
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.
- package/dist/idb/index.cjs +2 -2
- package/dist/idb/index.cjs.map +1 -1
- package/dist/idb/index.mjs +2 -2
- package/dist/idb/index.mjs.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/sql/index.cjs +1 -1
- package/dist/sql/index.cjs.map +1 -1
- package/dist/sql/index.mjs +1 -1
- package/dist/sql/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/idb/index.cjs
CHANGED
|
@@ -540,7 +540,7 @@ var IDBStore = class _IDBStore {
|
|
|
540
540
|
}
|
|
541
541
|
return Promise.all(keys.map((key) => this.tx.objectStore(this.name).get(key)));
|
|
542
542
|
}
|
|
543
|
-
return this.owner.transaction([this.name], "readonly", (tx) => tx.readonly(this.name).getMany(keys));
|
|
543
|
+
return await this.owner.transaction([this.name], "readonly", (tx) => tx.readonly(this.name).getMany(keys));
|
|
544
544
|
}
|
|
545
545
|
async getAll(query, count) {
|
|
546
546
|
if (this.tx) return this.tx.objectStore(this.name).getAll(query, count);
|
|
@@ -574,7 +574,7 @@ var IDBStore = class _IDBStore {
|
|
|
574
574
|
}
|
|
575
575
|
return Promise.all(keys.map((key) => this.tx.objectStore(this.name).index(index).getAll(key)));
|
|
576
576
|
}
|
|
577
|
-
return this.owner.transaction([this.name], "readonly", (tx) => tx.readonly(this.name).getAllFromIndexMany(index, keys));
|
|
577
|
+
return await this.owner.transaction([this.name], "readonly", (tx) => tx.readonly(this.name).getAllFromIndexMany(index, keys));
|
|
578
578
|
}
|
|
579
579
|
async count(query) {
|
|
580
580
|
if (this.tx) return this.tx.objectStore(this.name).count(query);
|