dexie-cloud-addon 4.0.8 → 4.0.11
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 +15 -13
- 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 +15 -13
- 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 +15 -13
- 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 +15 -13
- 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 +2 -2
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* ==========================================================================
|
|
10
10
|
*
|
|
11
|
-
* Version 4.0.
|
|
11
|
+
* Version 4.0.11, Wed Jan 15 2025
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -2827,7 +2827,7 @@
|
|
|
2827
2827
|
},
|
|
2828
2828
|
};
|
|
2829
2829
|
|
|
2830
|
-
const bigIntDef = {
|
|
2830
|
+
const bigIntDef$1 = {
|
|
2831
2831
|
bigint: {
|
|
2832
2832
|
replace: (realVal) => {
|
|
2833
2833
|
return { $t: "bigint", v: "" + realVal };
|
|
@@ -3070,7 +3070,7 @@
|
|
|
3070
3070
|
|
|
3071
3071
|
const builtin = {
|
|
3072
3072
|
...numberDef,
|
|
3073
|
-
...bigIntDef,
|
|
3073
|
+
...bigIntDef$1,
|
|
3074
3074
|
...DateDef,
|
|
3075
3075
|
...SetDef,
|
|
3076
3076
|
...MapDef,
|
|
@@ -3180,7 +3180,7 @@
|
|
|
3180
3180
|
this.v = value;
|
|
3181
3181
|
}
|
|
3182
3182
|
}
|
|
3183
|
-
const
|
|
3183
|
+
const bigIntDef = hasBigIntSupport
|
|
3184
3184
|
? {}
|
|
3185
3185
|
: {
|
|
3186
3186
|
bigint: {
|
|
@@ -3188,17 +3188,19 @@
|
|
|
3188
3188
|
replace: (fakeBigInt) => {
|
|
3189
3189
|
return Object.assign({ $t: 'bigint' }, fakeBigInt);
|
|
3190
3190
|
},
|
|
3191
|
-
revive: ({ v
|
|
3192
|
-
}
|
|
3193
|
-
}
|
|
3191
|
+
revive: ({ v }) => new FakeBigInt(v),
|
|
3192
|
+
},
|
|
3193
|
+
};
|
|
3194
|
+
const defs = Object.assign(Object.assign(Object.assign({}, undefinedDef), bigIntDef), { PropModification: {
|
|
3194
3195
|
test: (val) => val instanceof Dexie.PropModification,
|
|
3195
3196
|
replace: (propModification) => {
|
|
3196
|
-
return Object.assign({ $t: 'PropModification' }, propModification);
|
|
3197
|
+
return Object.assign({ $t: 'PropModification' }, propModification['@@propmod']);
|
|
3197
3198
|
},
|
|
3198
3199
|
revive: (_a) => {
|
|
3199
|
-
var
|
|
3200
|
-
|
|
3201
|
-
|
|
3200
|
+
var propModSpec = __rest(_a, ["$t"]) // keep the rest
|
|
3201
|
+
;
|
|
3202
|
+
return new Dexie.PropModification(propModSpec);
|
|
3203
|
+
},
|
|
3202
3204
|
} });
|
|
3203
3205
|
const TSON = TypesonSimplified(builtin, defs);
|
|
3204
3206
|
const BISON = Bison(defs);
|
|
@@ -6306,7 +6308,7 @@
|
|
|
6306
6308
|
const syncComplete = new rxjs.Subject();
|
|
6307
6309
|
dexie.cloud = {
|
|
6308
6310
|
// @ts-ignore
|
|
6309
|
-
version: "4.0.
|
|
6311
|
+
version: "4.0.11",
|
|
6310
6312
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
6311
6313
|
schema: null,
|
|
6312
6314
|
get currentUserId() {
|
|
@@ -6601,7 +6603,7 @@
|
|
|
6601
6603
|
}
|
|
6602
6604
|
}
|
|
6603
6605
|
// @ts-ignore
|
|
6604
|
-
dexieCloud.version = "4.0.
|
|
6606
|
+
dexieCloud.version = "4.0.11";
|
|
6605
6607
|
Dexie.Cloud = dexieCloud;
|
|
6606
6608
|
|
|
6607
6609
|
// In case the SW lives for a while, let it reuse already opened connections:
|