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
  *
@@ -13949,7 +13949,7 @@
13949
13949
  *
13950
13950
  * ==========================================================================
13951
13951
  *
13952
- * Version 4.2.1, Sat Oct 04 2025
13952
+ * Version 4.2.2, Tue Dec 09 2025
13953
13953
  *
13954
13954
  * https://dexie.org
13955
13955
  *
@@ -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",
@@ -18134,7 +18140,7 @@
18134
18140
  const syncComplete = new rxjs.Subject();
18135
18141
  dexie.cloud = {
18136
18142
  // @ts-ignore
18137
- version: "4.2.2",
18143
+ version: "4.2.4",
18138
18144
  options: Object.assign({}, DEFAULT_OPTIONS),
18139
18145
  schema: null,
18140
18146
  get currentUserId() {
@@ -18451,7 +18457,7 @@
18451
18457
  }
18452
18458
  }
18453
18459
  // @ts-ignore
18454
- dexieCloud.version = "4.2.2";
18460
+ dexieCloud.version = "4.2.4";
18455
18461
  Dexie.Cloud = dexieCloud;
18456
18462
 
18457
18463
  // In case the SW lives for a while, let it reuse already opened connections: