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
|
*
|
|
@@ -3143,7 +3143,7 @@
|
|
|
3143
3143
|
},
|
|
3144
3144
|
};
|
|
3145
3145
|
|
|
3146
|
-
const bigIntDef = {
|
|
3146
|
+
const bigIntDef$1 = {
|
|
3147
3147
|
bigint: {
|
|
3148
3148
|
replace: (realVal) => {
|
|
3149
3149
|
return { $t: "bigint", v: "" + realVal };
|
|
@@ -3386,7 +3386,7 @@
|
|
|
3386
3386
|
|
|
3387
3387
|
const builtin = {
|
|
3388
3388
|
...numberDef,
|
|
3389
|
-
...bigIntDef,
|
|
3389
|
+
...bigIntDef$1,
|
|
3390
3390
|
...DateDef,
|
|
3391
3391
|
...SetDef,
|
|
3392
3392
|
...MapDef,
|
|
@@ -3496,7 +3496,7 @@
|
|
|
3496
3496
|
this.v = value;
|
|
3497
3497
|
}
|
|
3498
3498
|
}
|
|
3499
|
-
const
|
|
3499
|
+
const bigIntDef = hasBigIntSupport
|
|
3500
3500
|
? {}
|
|
3501
3501
|
: {
|
|
3502
3502
|
bigint: {
|
|
@@ -3504,17 +3504,19 @@
|
|
|
3504
3504
|
replace: (fakeBigInt) => {
|
|
3505
3505
|
return Object.assign({ $t: 'bigint' }, fakeBigInt);
|
|
3506
3506
|
},
|
|
3507
|
-
revive: ({ v
|
|
3508
|
-
}
|
|
3509
|
-
}
|
|
3507
|
+
revive: ({ v }) => new FakeBigInt(v),
|
|
3508
|
+
},
|
|
3509
|
+
};
|
|
3510
|
+
const defs = Object.assign(Object.assign(Object.assign({}, undefinedDef), bigIntDef), { PropModification: {
|
|
3510
3511
|
test: (val) => val instanceof Dexie.PropModification,
|
|
3511
3512
|
replace: (propModification) => {
|
|
3512
|
-
return Object.assign({ $t: 'PropModification' }, propModification);
|
|
3513
|
+
return Object.assign({ $t: 'PropModification' }, propModification['@@propmod']);
|
|
3513
3514
|
},
|
|
3514
3515
|
revive: (_a) => {
|
|
3515
|
-
var
|
|
3516
|
-
|
|
3517
|
-
|
|
3516
|
+
var propModSpec = __rest(_a, ["$t"]) // keep the rest
|
|
3517
|
+
;
|
|
3518
|
+
return new Dexie.PropModification(propModSpec);
|
|
3519
|
+
},
|
|
3518
3520
|
} });
|
|
3519
3521
|
const TSON = TypesonSimplified(builtin, defs);
|
|
3520
3522
|
const BISON = Bison(defs);
|
|
@@ -6313,7 +6315,7 @@
|
|
|
6313
6315
|
const syncComplete = new rxjs.Subject();
|
|
6314
6316
|
dexie.cloud = {
|
|
6315
6317
|
// @ts-ignore
|
|
6316
|
-
version: "4.0.
|
|
6318
|
+
version: "4.0.11",
|
|
6317
6319
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
6318
6320
|
schema: null,
|
|
6319
6321
|
get currentUserId() {
|
|
@@ -6608,7 +6610,7 @@
|
|
|
6608
6610
|
}
|
|
6609
6611
|
}
|
|
6610
6612
|
// @ts-ignore
|
|
6611
|
-
dexieCloud.version = "4.0.
|
|
6613
|
+
dexieCloud.version = "4.0.11";
|
|
6612
6614
|
Dexie.Cloud = dexieCloud;
|
|
6613
6615
|
|
|
6614
6616
|
exports.default = dexieCloud;
|