dexie-cloud-addon 4.4.9 → 4.4.10
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/modern/dexie-cloud-addon.js +16 -4
- package/dist/modern/dexie-cloud-addon.js.map +1 -1
- package/dist/modern/dexie-cloud-addon.min.js +1 -1
- package/dist/modern/dexie-cloud-addon.min.js.map +1 -1
- package/dist/modern/service-worker.js +16 -4
- package/dist/modern/service-worker.js.map +1 -1
- package/dist/modern/service-worker.min.js +1 -1
- package/dist/modern/service-worker.min.js.map +1 -1
- package/dist/umd/dexie-cloud-addon.js +17 -5
- package/dist/umd/dexie-cloud-addon.js.map +1 -1
- package/dist/umd/dexie-cloud-addon.min.js +1 -1
- package/dist/umd/dexie-cloud-addon.min.js.map +1 -1
- package/dist/umd/service-worker.js +17 -5
- package/dist/umd/service-worker.js.map +1 -1
- package/dist/umd/service-worker.min.js +1 -1
- package/dist/umd/service-worker.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ==========================================================================
|
|
10
10
|
*
|
|
11
|
-
* Version 4.4.
|
|
11
|
+
* Version 4.4.10, Sat Apr 04 2026
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -13623,7 +13623,7 @@
|
|
|
13623
13623
|
*
|
|
13624
13624
|
* ==========================================================================
|
|
13625
13625
|
*
|
|
13626
|
-
* Version 4.4.0,
|
|
13626
|
+
* Version 4.4.0, Sat Apr 04 2026
|
|
13627
13627
|
*
|
|
13628
13628
|
* https://dexie.org
|
|
13629
13629
|
*
|
|
@@ -17172,8 +17172,20 @@
|
|
|
17172
17172
|
* each onNext callback, ensuring cursor.value is always available.
|
|
17173
17173
|
*/
|
|
17174
17174
|
function createBlobResolvingCursor(cursor, table, blobSavingQueue, db) {
|
|
17175
|
-
// Create wrapped cursor using Object.create() - inherits everything
|
|
17175
|
+
// Create wrapped cursor using Object.create() - inherits everything.
|
|
17176
|
+
// Important: .key and .primaryKey must be explicitly overridden with
|
|
17177
|
+
// closure-based getters to prevent native IDBCursorWithValue getters from
|
|
17178
|
+
// being reached through the prototype chain with a wrong `this`, which
|
|
17179
|
+
// throws "Illegal invocation" in Chrome 146+.
|
|
17176
17180
|
const wrappedCursor = Object.create(cursor, {
|
|
17181
|
+
key: {
|
|
17182
|
+
get() { return cursor.key; },
|
|
17183
|
+
configurable: true,
|
|
17184
|
+
},
|
|
17185
|
+
primaryKey: {
|
|
17186
|
+
get() { return cursor.primaryKey; },
|
|
17187
|
+
configurable: true,
|
|
17188
|
+
},
|
|
17177
17189
|
value: {
|
|
17178
17190
|
value: cursor.value,
|
|
17179
17191
|
enumerable: true,
|
|
@@ -19559,7 +19571,7 @@
|
|
|
19559
19571
|
const downloading$ = createDownloadingState();
|
|
19560
19572
|
dexie.cloud = {
|
|
19561
19573
|
// @ts-ignore
|
|
19562
|
-
version: "4.4.
|
|
19574
|
+
version: "4.4.10",
|
|
19563
19575
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
19564
19576
|
schema: null,
|
|
19565
19577
|
get currentUserId() {
|
|
@@ -20004,7 +20016,7 @@
|
|
|
20004
20016
|
}
|
|
20005
20017
|
}
|
|
20006
20018
|
// @ts-ignore
|
|
20007
|
-
dexieCloud.version = "4.4.
|
|
20019
|
+
dexieCloud.version = "4.4.10";
|
|
20008
20020
|
Dexie.Cloud = dexieCloud;
|
|
20009
20021
|
|
|
20010
20022
|
// In case the SW lives for a while, let it reuse already opened connections:
|