@bitcobblers/wod-wiki-storage 0.59.2244 → 0.59.2245
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.mjs
CHANGED
|
@@ -139,7 +139,7 @@ var IDBStore = class _IDBStore {
|
|
|
139
139
|
}
|
|
140
140
|
return Promise.all(keys.map((key) => this.tx.objectStore(this.name).get(key)));
|
|
141
141
|
}
|
|
142
|
-
return this.owner.transaction([this.name], "readonly", (tx) => tx.readonly(this.name).getMany(keys));
|
|
142
|
+
return await this.owner.transaction([this.name], "readonly", (tx) => tx.readonly(this.name).getMany(keys));
|
|
143
143
|
}
|
|
144
144
|
async getAll(query, count) {
|
|
145
145
|
if (this.tx) return this.tx.objectStore(this.name).getAll(query, count);
|
|
@@ -173,7 +173,7 @@ var IDBStore = class _IDBStore {
|
|
|
173
173
|
}
|
|
174
174
|
return Promise.all(keys.map((key) => this.tx.objectStore(this.name).index(index).getAll(key)));
|
|
175
175
|
}
|
|
176
|
-
return this.owner.transaction([this.name], "readonly", (tx) => tx.readonly(this.name).getAllFromIndexMany(index, keys));
|
|
176
|
+
return await this.owner.transaction([this.name], "readonly", (tx) => tx.readonly(this.name).getAllFromIndexMany(index, keys));
|
|
177
177
|
}
|
|
178
178
|
async count(query) {
|
|
179
179
|
if (this.tx) return this.tx.objectStore(this.name).count(query);
|