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
|
*
|
|
@@ -3140,7 +3140,7 @@ var numberDef = {
|
|
|
3140
3140
|
},
|
|
3141
3141
|
};
|
|
3142
3142
|
|
|
3143
|
-
const bigIntDef = {
|
|
3143
|
+
const bigIntDef$1 = {
|
|
3144
3144
|
bigint: {
|
|
3145
3145
|
replace: (realVal) => {
|
|
3146
3146
|
return { $t: "bigint", v: "" + realVal };
|
|
@@ -3383,7 +3383,7 @@ var BlobDef = {
|
|
|
3383
3383
|
|
|
3384
3384
|
const builtin = {
|
|
3385
3385
|
...numberDef,
|
|
3386
|
-
...bigIntDef,
|
|
3386
|
+
...bigIntDef$1,
|
|
3387
3387
|
...DateDef,
|
|
3388
3388
|
...SetDef,
|
|
3389
3389
|
...MapDef,
|
|
@@ -3493,7 +3493,7 @@ class FakeBigInt {
|
|
|
3493
3493
|
this.v = value;
|
|
3494
3494
|
}
|
|
3495
3495
|
}
|
|
3496
|
-
const
|
|
3496
|
+
const bigIntDef = hasBigIntSupport
|
|
3497
3497
|
? {}
|
|
3498
3498
|
: {
|
|
3499
3499
|
bigint: {
|
|
@@ -3501,17 +3501,19 @@ const defs = Object.assign(Object.assign(Object.assign({}, undefinedDef), (hasBi
|
|
|
3501
3501
|
replace: (fakeBigInt) => {
|
|
3502
3502
|
return Object.assign({ $t: 'bigint' }, fakeBigInt);
|
|
3503
3503
|
},
|
|
3504
|
-
revive: ({ v
|
|
3505
|
-
}
|
|
3506
|
-
}
|
|
3504
|
+
revive: ({ v }) => new FakeBigInt(v),
|
|
3505
|
+
},
|
|
3506
|
+
};
|
|
3507
|
+
const defs = Object.assign(Object.assign(Object.assign({}, undefinedDef), bigIntDef), { PropModification: {
|
|
3507
3508
|
test: (val) => val instanceof PropModification,
|
|
3508
3509
|
replace: (propModification) => {
|
|
3509
|
-
return Object.assign({ $t: 'PropModification' }, propModification);
|
|
3510
|
+
return Object.assign({ $t: 'PropModification' }, propModification['@@propmod']);
|
|
3510
3511
|
},
|
|
3511
3512
|
revive: (_a) => {
|
|
3512
|
-
var
|
|
3513
|
-
|
|
3514
|
-
|
|
3513
|
+
var propModSpec = __rest(_a, ["$t"]) // keep the rest
|
|
3514
|
+
;
|
|
3515
|
+
return new PropModification(propModSpec);
|
|
3516
|
+
},
|
|
3515
3517
|
} });
|
|
3516
3518
|
const TSON = TypesonSimplified(builtin, defs);
|
|
3517
3519
|
const BISON = Bison(defs);
|
|
@@ -6310,7 +6312,7 @@ function dexieCloud(dexie) {
|
|
|
6310
6312
|
const syncComplete = new Subject();
|
|
6311
6313
|
dexie.cloud = {
|
|
6312
6314
|
// @ts-ignore
|
|
6313
|
-
version: "4.0.
|
|
6315
|
+
version: "4.0.11",
|
|
6314
6316
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
6315
6317
|
schema: null,
|
|
6316
6318
|
get currentUserId() {
|
|
@@ -6605,7 +6607,7 @@ function dexieCloud(dexie) {
|
|
|
6605
6607
|
}
|
|
6606
6608
|
}
|
|
6607
6609
|
// @ts-ignore
|
|
6608
|
-
dexieCloud.version = "4.0.
|
|
6610
|
+
dexieCloud.version = "4.0.11";
|
|
6609
6611
|
Dexie.Cloud = dexieCloud;
|
|
6610
6612
|
|
|
6611
6613
|
export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId, resolveText };
|