dexie-cloud-addon 4.0.1-beta.57 → 4.0.1-rc.1
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 +27 -6
- 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 +27 -6
- 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 +26 -5
- 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 +26 -5
- 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.0.1-
|
|
11
|
+
* Version 4.0.1-rc.1, Wed Mar 20 2024
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
import Dexie, { cmp, liveQuery } from 'dexie';
|
|
19
|
+
import Dexie, { PropModification, cmp, liveQuery } from 'dexie';
|
|
20
20
|
import { firstValueFrom, from as from$1, filter as filter$1, Observable as Observable$1, BehaviorSubject, Subject, fromEvent, of, merge, Subscription as Subscription$1, throwError, combineLatest, map as map$1, share, timer as timer$1 } from 'rxjs';
|
|
21
21
|
|
|
22
22
|
/******************************************************************************
|
|
@@ -50,6 +50,18 @@ function __extends(d, b) {
|
|
|
50
50
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
function __rest(s, e) {
|
|
54
|
+
var t = {};
|
|
55
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
56
|
+
t[p] = s[p];
|
|
57
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
58
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
59
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
60
|
+
t[p[i]] = s[p[i]];
|
|
61
|
+
}
|
|
62
|
+
return t;
|
|
63
|
+
}
|
|
64
|
+
|
|
53
65
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
54
66
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
55
67
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -3461,7 +3473,7 @@ class FakeBigInt {
|
|
|
3461
3473
|
this.v = value;
|
|
3462
3474
|
}
|
|
3463
3475
|
}
|
|
3464
|
-
const defs = Object.assign(Object.assign({}, undefinedDef), (hasBigIntSupport
|
|
3476
|
+
const defs = Object.assign(Object.assign(Object.assign({}, undefinedDef), (hasBigIntSupport
|
|
3465
3477
|
? {}
|
|
3466
3478
|
: {
|
|
3467
3479
|
bigint: {
|
|
@@ -3471,7 +3483,16 @@ const defs = Object.assign(Object.assign({}, undefinedDef), (hasBigIntSupport
|
|
|
3471
3483
|
},
|
|
3472
3484
|
revive: ({ v, }) => new FakeBigInt(v)
|
|
3473
3485
|
}
|
|
3474
|
-
}))
|
|
3486
|
+
})), { PropModification: {
|
|
3487
|
+
test: (val) => val instanceof PropModification,
|
|
3488
|
+
replace: (propModification) => {
|
|
3489
|
+
return Object.assign({ $t: 'PropModification' }, propModification);
|
|
3490
|
+
},
|
|
3491
|
+
revive: (_a) => {
|
|
3492
|
+
var propModification = __rest(_a, ["$t"]);
|
|
3493
|
+
return new PropModification(propModification);
|
|
3494
|
+
}
|
|
3495
|
+
} });
|
|
3475
3496
|
const TSON = TypesonSimplified(builtin, defs);
|
|
3476
3497
|
const BISON = Bison(defs);
|
|
3477
3498
|
|
|
@@ -6264,7 +6285,7 @@ function dexieCloud(dexie) {
|
|
|
6264
6285
|
const syncComplete = new Subject();
|
|
6265
6286
|
dexie.cloud = {
|
|
6266
6287
|
// @ts-ignore
|
|
6267
|
-
version: "4.0.1-
|
|
6288
|
+
version: "4.0.1-rc.1",
|
|
6268
6289
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
6269
6290
|
schema: null,
|
|
6270
6291
|
get currentUserId() {
|
|
@@ -6541,7 +6562,7 @@ function dexieCloud(dexie) {
|
|
|
6541
6562
|
}
|
|
6542
6563
|
}
|
|
6543
6564
|
// @ts-ignore
|
|
6544
|
-
dexieCloud.version = "4.0.1-
|
|
6565
|
+
dexieCloud.version = "4.0.1-rc.1";
|
|
6545
6566
|
Dexie.Cloud = dexieCloud;
|
|
6546
6567
|
|
|
6547
6568
|
export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId, resolveText };
|