dexie-cloud-addon 4.1.0-alpha.18 → 4.1.0-alpha.19
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 -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 +7 -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 +7 -4
- 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 +7 -4
- 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.1.0-alpha.
|
|
11
|
+
* Version 4.1.0-alpha.19, Fri Oct 18 2024
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -6573,7 +6573,10 @@ function createMutationTrackingMiddleware({ currentUserObservable, db, }) {
|
|
|
6573
6573
|
return keys.length > 0 || criteria
|
|
6574
6574
|
? mutsTable
|
|
6575
6575
|
.mutate({ type: 'add', trans, values: [mut] }) // Log entry
|
|
6576
|
-
.then(() =>
|
|
6576
|
+
.then(() => {
|
|
6577
|
+
trans.mutationsAdded = true; // Mark transaction as having added mutations to trigger eager sync
|
|
6578
|
+
return res; // Return original response
|
|
6579
|
+
})
|
|
6577
6580
|
: res;
|
|
6578
6581
|
});
|
|
6579
6582
|
}
|
|
@@ -8093,7 +8096,7 @@ function dexieCloud(dexie) {
|
|
|
8093
8096
|
const syncComplete = new Subject();
|
|
8094
8097
|
dexie.cloud = {
|
|
8095
8098
|
// @ts-ignore
|
|
8096
|
-
version: "4.1.0-alpha.
|
|
8099
|
+
version: "4.1.0-alpha.19",
|
|
8097
8100
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
8098
8101
|
schema: null,
|
|
8099
8102
|
get currentUserId() {
|
|
@@ -8395,7 +8398,7 @@ function dexieCloud(dexie) {
|
|
|
8395
8398
|
}
|
|
8396
8399
|
}
|
|
8397
8400
|
// @ts-ignore
|
|
8398
|
-
dexieCloud.version = "4.1.0-alpha.
|
|
8401
|
+
dexieCloud.version = "4.1.0-alpha.19";
|
|
8399
8402
|
Dexie.Cloud = dexieCloud;
|
|
8400
8403
|
|
|
8401
8404
|
const ydocTriggers = {};
|