dexie-cloud-addon 4.1.0-alpha.13 → 4.1.0-alpha.14
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 +9 -8
- 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 +9 -8
- 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.14, 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.14",
|
|
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.14";
|
|
8402
8402
|
Dexie.Cloud = dexieCloud;
|
|
8403
8403
|
|
|
8404
8404
|
const ydocTriggers = {};
|
|
@@ -8432,7 +8432,7 @@
|
|
|
8432
8432
|
}
|
|
8433
8433
|
}
|
|
8434
8434
|
else {
|
|
8435
|
-
enqueueTrigger(tblName, primaryKey, trigger);
|
|
8435
|
+
enqueueTrigger(db, tblName, primaryKey, trigger);
|
|
8436
8436
|
}
|
|
8437
8437
|
}
|
|
8438
8438
|
break;
|
|
@@ -8455,7 +8455,7 @@
|
|
|
8455
8455
|
keySet.addKey(k);
|
|
8456
8456
|
}
|
|
8457
8457
|
for (const key of keySet) {
|
|
8458
|
-
enqueueTrigger(tblName, key, trigger);
|
|
8458
|
+
enqueueTrigger(db, tblName, key, trigger);
|
|
8459
8459
|
}
|
|
8460
8460
|
});
|
|
8461
8461
|
}
|
|
@@ -8497,11 +8497,12 @@
|
|
|
8497
8497
|
}
|
|
8498
8498
|
});
|
|
8499
8499
|
}
|
|
8500
|
-
function enqueueTrigger(updatesTable, parentId, trigger) {
|
|
8501
|
-
|
|
8502
|
-
|
|
8500
|
+
function enqueueTrigger(db, updatesTable, parentId, trigger) {
|
|
8501
|
+
scheduledTriggers.push({
|
|
8502
|
+
db,
|
|
8503
8503
|
parentId,
|
|
8504
8504
|
trigger,
|
|
8505
|
+
updatesTable
|
|
8505
8506
|
});
|
|
8506
8507
|
}
|
|
8507
8508
|
function onTransactionCommitted() {
|