dexie-cloud-addon 4.2.2 → 4.2.4

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.2.2, Sat Oct 04 2025
11
+ * Version 4.2.4, Tue Dec 09 2025
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -14253,7 +14253,7 @@
14253
14253
  *
14254
14254
  * ==========================================================================
14255
14255
  *
14256
- * Version 4.2.1, Sat Oct 04 2025
14256
+ * Version 4.2.2, Tue Dec 09 2025
14257
14257
  *
14258
14258
  * https://dexie.org
14259
14259
  *
@@ -15838,7 +15838,8 @@
15838
15838
  if (req.type === 'put') {
15839
15839
  delete req.criteria;
15840
15840
  delete req.changeSpec;
15841
- delete req.updates;
15841
+ if (!req.upsert)
15842
+ delete req.updates;
15842
15843
  obj.$ts = Date.now();
15843
15844
  }
15844
15845
  }
@@ -16164,7 +16165,7 @@
16164
16165
  userId,
16165
16166
  values,
16166
16167
  }
16167
- : upsert ? {
16168
+ : upsert && updates ? {
16168
16169
  type: 'upsert',
16169
16170
  ts,
16170
16171
  opNo,
@@ -17400,7 +17401,12 @@
17400
17401
  outline: "none",
17401
17402
  fontSize: "16px",
17402
17403
  padding: "8px",
17403
- boxSizing: "border-box"
17404
+ boxSizing: "border-box",
17405
+ backgroundColor: "#f9f9f9",
17406
+ borderRadius: "4px",
17407
+ border: "1px solid #ccc",
17408
+ marginTop: "6px",
17409
+ fontFamily: "inherit"
17404
17410
  },
17405
17411
  Button: {
17406
17412
  padding: "10px 20px",
@@ -18305,7 +18311,7 @@
18305
18311
  const syncComplete = new rxjs.Subject();
18306
18312
  dexie.cloud = {
18307
18313
  // @ts-ignore
18308
- version: "4.2.2",
18314
+ version: "4.2.4",
18309
18315
  options: Object.assign({}, DEFAULT_OPTIONS),
18310
18316
  schema: null,
18311
18317
  get currentUserId() {
@@ -18622,7 +18628,7 @@
18622
18628
  }
18623
18629
  }
18624
18630
  // @ts-ignore
18625
- dexieCloud.version = "4.2.2";
18631
+ dexieCloud.version = "4.2.4";
18626
18632
  Dexie.Cloud = dexieCloud;
18627
18633
 
18628
18634
  exports.default = dexieCloud;