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.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * ==========================================================================
10
10
  *
11
- * Version 4.0.1-beta.57, Wed Feb 14 2024
11
+ * Version 4.0.1-rc.1, Wed Mar 20 2024
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -53,6 +53,18 @@
53
53
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
54
54
  }
55
55
 
56
+ function __rest(s, e) {
57
+ var t = {};
58
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
59
+ t[p] = s[p];
60
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
61
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
62
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
63
+ t[p[i]] = s[p[i]];
64
+ }
65
+ return t;
66
+ }
67
+
56
68
  function __awaiter(thisArg, _arguments, P, generator) {
57
69
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
58
70
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -3464,7 +3476,7 @@
3464
3476
  this.v = value;
3465
3477
  }
3466
3478
  }
3467
- const defs = Object.assign(Object.assign({}, undefinedDef), (hasBigIntSupport
3479
+ const defs = Object.assign(Object.assign(Object.assign({}, undefinedDef), (hasBigIntSupport
3468
3480
  ? {}
3469
3481
  : {
3470
3482
  bigint: {
@@ -3474,7 +3486,16 @@
3474
3486
  },
3475
3487
  revive: ({ v, }) => new FakeBigInt(v)
3476
3488
  }
3477
- }));
3489
+ })), { PropModification: {
3490
+ test: (val) => val instanceof Dexie.PropModification,
3491
+ replace: (propModification) => {
3492
+ return Object.assign({ $t: 'PropModification' }, propModification);
3493
+ },
3494
+ revive: (_a) => {
3495
+ var propModification = __rest(_a, ["$t"]);
3496
+ return new Dexie.PropModification(propModification);
3497
+ }
3498
+ } });
3478
3499
  const TSON = TypesonSimplified(builtin, defs);
3479
3500
  const BISON = Bison(defs);
3480
3501
 
@@ -6267,7 +6288,7 @@
6267
6288
  const syncComplete = new rxjs.Subject();
6268
6289
  dexie.cloud = {
6269
6290
  // @ts-ignore
6270
- version: "4.0.1-beta.57",
6291
+ version: "4.0.1-rc.1",
6271
6292
  options: Object.assign({}, DEFAULT_OPTIONS),
6272
6293
  schema: null,
6273
6294
  get currentUserId() {
@@ -6544,7 +6565,7 @@
6544
6565
  }
6545
6566
  }
6546
6567
  // @ts-ignore
6547
- dexieCloud.version = "4.0.1-beta.57";
6568
+ dexieCloud.version = "4.0.1-rc.1";
6548
6569
  Dexie.Cloud = dexieCloud;
6549
6570
 
6550
6571
  exports.default = dexieCloud;