dexie-cloud-addon 4.1.0-alpha.17 → 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 +10 -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 +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 +10 -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 +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
|
}
|
|
@@ -8086,7 +8089,7 @@ function dexieCloud(dexie) {
|
|
|
8086
8089
|
const syncComplete = new Subject();
|
|
8087
8090
|
dexie.cloud = {
|
|
8088
8091
|
// @ts-ignore
|
|
8089
|
-
version: "4.1.0-alpha.
|
|
8092
|
+
version: "4.1.0-alpha.19",
|
|
8090
8093
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
8091
8094
|
schema: null,
|
|
8092
8095
|
get currentUserId() {
|
|
@@ -8388,7 +8391,7 @@ function dexieCloud(dexie) {
|
|
|
8388
8391
|
}
|
|
8389
8392
|
}
|
|
8390
8393
|
// @ts-ignore
|
|
8391
|
-
dexieCloud.version = "4.1.0-alpha.
|
|
8394
|
+
dexieCloud.version = "4.1.0-alpha.19";
|
|
8392
8395
|
Dexie.Cloud = dexieCloud;
|
|
8393
8396
|
|
|
8394
8397
|
// In case the SW lives for a while, let it reuse already opened connections:
|