dexie-cloud-addon 4.1.0-alpha.17 → 4.1.0-alpha.18
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 +6 -7
- 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 +3 -3
- package/dist/modern/service-worker.min.js +1 -1
- package/dist/umd/dexie-cloud-addon.js +6 -7
- 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 +3 -3
- package/dist/umd/service-worker.min.js +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ==========================================================================
|
|
10
10
|
*
|
|
11
|
-
* Version 4.1.0-alpha.
|
|
11
|
+
* Version 4.1.0-alpha.18, Fri Oct 18 2024
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -8096,7 +8096,7 @@
|
|
|
8096
8096
|
const syncComplete = new rxjs.Subject();
|
|
8097
8097
|
dexie.cloud = {
|
|
8098
8098
|
// @ts-ignore
|
|
8099
|
-
version: "4.1.0-alpha.
|
|
8099
|
+
version: "4.1.0-alpha.18",
|
|
8100
8100
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
8101
8101
|
schema: null,
|
|
8102
8102
|
get currentUserId() {
|
|
@@ -8398,7 +8398,7 @@
|
|
|
8398
8398
|
}
|
|
8399
8399
|
}
|
|
8400
8400
|
// @ts-ignore
|
|
8401
|
-
dexieCloud.version = "4.1.0-alpha.
|
|
8401
|
+
dexieCloud.version = "4.1.0-alpha.18";
|
|
8402
8402
|
Dexie.Cloud = dexieCloud;
|
|
8403
8403
|
|
|
8404
8404
|
const ydocTriggers = {};
|
|
@@ -8423,8 +8423,8 @@
|
|
|
8423
8423
|
switch (req.type) {
|
|
8424
8424
|
case 'add': {
|
|
8425
8425
|
for (const yUpdateRow of req.values) {
|
|
8426
|
-
if (
|
|
8427
|
-
continue; // A syncer
|
|
8426
|
+
if (yUpdateRow.k == undefined)
|
|
8427
|
+
continue; // A syncer or garbage collection state does not point to a key
|
|
8428
8428
|
const primaryKey = yUpdateRow.k;
|
|
8429
8429
|
const doc = Dexie.DexieYProvider.getDocCache(db).find(parentTable, primaryKey, prop);
|
|
8430
8430
|
if (doc) {
|
|
@@ -8454,9 +8454,8 @@
|
|
|
8454
8454
|
.then((updates) => {
|
|
8455
8455
|
const keySet = new Dexie.RangeSet();
|
|
8456
8456
|
for (const { k } of updates) {
|
|
8457
|
-
if (
|
|
8457
|
+
if (k != undefined)
|
|
8458
8458
|
keySet.addKey(k);
|
|
8459
|
-
}
|
|
8460
8459
|
}
|
|
8461
8460
|
for (const interval of keySet) {
|
|
8462
8461
|
enqueueTrigger(db, tblName, interval.from, trigger);
|