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) {
@@ -3164,7 +3176,7 @@
3164
3176
  this.v = value;
3165
3177
  }
3166
3178
  }
3167
- const defs = Object.assign(Object.assign({}, undefinedDef), (hasBigIntSupport
3179
+ const defs = Object.assign(Object.assign(Object.assign({}, undefinedDef), (hasBigIntSupport
3168
3180
  ? {}
3169
3181
  : {
3170
3182
  bigint: {
@@ -3174,7 +3186,16 @@
3174
3186
  },
3175
3187
  revive: ({ v, }) => new FakeBigInt(v)
3176
3188
  }
3177
- }));
3189
+ })), { PropModification: {
3190
+ test: (val) => val instanceof Dexie.PropModification,
3191
+ replace: (propModification) => {
3192
+ return Object.assign({ $t: 'PropModification' }, propModification);
3193
+ },
3194
+ revive: (_a) => {
3195
+ var propModification = __rest(_a, ["$t"]);
3196
+ return new Dexie.PropModification(propModification);
3197
+ }
3198
+ } });
3178
3199
  const TSON = TypesonSimplified(builtin, defs);
3179
3200
  const BISON = Bison(defs);
3180
3201
 
@@ -6260,7 +6281,7 @@
6260
6281
  const syncComplete = new rxjs.Subject();
6261
6282
  dexie.cloud = {
6262
6283
  // @ts-ignore
6263
- version: "4.0.1-beta.57",
6284
+ version: "4.0.1-rc.1",
6264
6285
  options: Object.assign({}, DEFAULT_OPTIONS),
6265
6286
  schema: null,
6266
6287
  get currentUserId() {
@@ -6537,7 +6558,7 @@
6537
6558
  }
6538
6559
  }
6539
6560
  // @ts-ignore
6540
- dexieCloud.version = "4.0.1-beta.57";
6561
+ dexieCloud.version = "4.0.1-rc.1";
6541
6562
  Dexie.Cloud = dexieCloud;
6542
6563
 
6543
6564
  // In case the SW lives for a while, let it reuse already opened connections: