dexie-cloud-addon 4.4.12 → 4.4.13
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 +7 -5
- 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 +7 -5
- 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 +8 -6
- 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 +8 -6
- 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 +4 -4
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ==========================================================================
|
|
10
10
|
*
|
|
11
|
-
* Version 4.4.
|
|
11
|
+
* Version 4.4.13, Wed May 27 2026
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -4217,14 +4217,16 @@
|
|
|
4217
4217
|
}
|
|
4218
4218
|
break;
|
|
4219
4219
|
case 'update':
|
|
4220
|
-
if (!primaryKey.outbound &&
|
|
4220
|
+
if (!primaryKey.outbound &&
|
|
4221
|
+
primaryKey.keyPath &&
|
|
4222
|
+
typeof primaryKey.keyPath === 'string') {
|
|
4221
4223
|
// The primary key should never be part of an updateSpec — it cannot change
|
|
4222
4224
|
// and is already communicated via the operation's keys array.
|
|
4223
4225
|
// For private singleton IDs (e.g. "#key:userId" on server, "#key" on client),
|
|
4224
4226
|
// the encoded server-side key may leak into the changeSpec via getObjectDiff().
|
|
4225
4227
|
// Strip it here unconditionally as a defensive measure.
|
|
4226
4228
|
for (const changeSpec of mut.changeSpecs) {
|
|
4227
|
-
|
|
4229
|
+
delete changeSpec[primaryKey.keyPath];
|
|
4228
4230
|
}
|
|
4229
4231
|
}
|
|
4230
4232
|
yield bulkUpdate(table, keys, mut.changeSpecs);
|
|
@@ -13623,7 +13625,7 @@
|
|
|
13623
13625
|
*
|
|
13624
13626
|
* ==========================================================================
|
|
13625
13627
|
*
|
|
13626
|
-
* Version 4.4.0,
|
|
13628
|
+
* Version 4.4.0, Wed May 27 2026
|
|
13627
13629
|
*
|
|
13628
13630
|
* https://dexie.org
|
|
13629
13631
|
*
|
|
@@ -19720,7 +19722,7 @@
|
|
|
19720
19722
|
const downloading$ = createDownloadingState();
|
|
19721
19723
|
dexie.cloud = {
|
|
19722
19724
|
// @ts-ignore
|
|
19723
|
-
version: "4.4.
|
|
19725
|
+
version: "4.4.13",
|
|
19724
19726
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
19725
19727
|
schema: null,
|
|
19726
19728
|
get currentUserId() {
|
|
@@ -20165,7 +20167,7 @@
|
|
|
20165
20167
|
}
|
|
20166
20168
|
}
|
|
20167
20169
|
// @ts-ignore
|
|
20168
|
-
dexieCloud.version = "4.4.
|
|
20170
|
+
dexieCloud.version = "4.4.13";
|
|
20169
20171
|
Dexie.Cloud = dexieCloud;
|
|
20170
20172
|
|
|
20171
20173
|
// In case the SW lives for a while, let it reuse already opened connections:
|