dexie-cloud-addon 4.2.2 → 4.2.3
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/README.md +1 -1
- package/dist/modern/dexie-cloud-addon.js +12 -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 +12 -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 +13 -7
- 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 +13 -7
- 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.2.
|
|
11
|
+
* Version 4.2.3, Fri Nov 28 2025
|
|
12
12
|
*
|
|
13
13
|
* https://dexie.org
|
|
14
14
|
*
|
|
@@ -4057,7 +4057,8 @@ function createImplicitPropSetterMiddleware(db) {
|
|
|
4057
4057
|
if (req.type === 'put') {
|
|
4058
4058
|
delete req.criteria;
|
|
4059
4059
|
delete req.changeSpec;
|
|
4060
|
-
|
|
4060
|
+
if (!req.upsert)
|
|
4061
|
+
delete req.updates;
|
|
4061
4062
|
obj.$ts = Date.now();
|
|
4062
4063
|
}
|
|
4063
4064
|
}
|
|
@@ -4383,7 +4384,7 @@ function createMutationTrackingMiddleware({ currentUserObservable, db, }) {
|
|
|
4383
4384
|
userId,
|
|
4384
4385
|
values,
|
|
4385
4386
|
}
|
|
4386
|
-
: upsert ? {
|
|
4387
|
+
: upsert && updates ? {
|
|
4387
4388
|
type: 'upsert',
|
|
4388
4389
|
ts,
|
|
4389
4390
|
opNo,
|
|
@@ -5357,7 +5358,12 @@ const Styles = {
|
|
|
5357
5358
|
outline: "none",
|
|
5358
5359
|
fontSize: "16px",
|
|
5359
5360
|
padding: "8px",
|
|
5360
|
-
boxSizing: "border-box"
|
|
5361
|
+
boxSizing: "border-box",
|
|
5362
|
+
backgroundColor: "#f9f9f9",
|
|
5363
|
+
borderRadius: "4px",
|
|
5364
|
+
border: "1px solid #ccc",
|
|
5365
|
+
marginTop: "6px",
|
|
5366
|
+
fontFamily: "inherit"
|
|
5361
5367
|
},
|
|
5362
5368
|
Button: {
|
|
5363
5369
|
padding: "10px 20px",
|
|
@@ -6091,7 +6097,7 @@ function dexieCloud(dexie) {
|
|
|
6091
6097
|
const syncComplete = new Subject();
|
|
6092
6098
|
dexie.cloud = {
|
|
6093
6099
|
// @ts-ignore
|
|
6094
|
-
version: "4.2.
|
|
6100
|
+
version: "4.2.3",
|
|
6095
6101
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
6096
6102
|
schema: null,
|
|
6097
6103
|
get currentUserId() {
|
|
@@ -6408,7 +6414,7 @@ function dexieCloud(dexie) {
|
|
|
6408
6414
|
}
|
|
6409
6415
|
}
|
|
6410
6416
|
// @ts-ignore
|
|
6411
|
-
dexieCloud.version = "4.2.
|
|
6417
|
+
dexieCloud.version = "4.2.3";
|
|
6412
6418
|
Dexie.Cloud = dexieCloud;
|
|
6413
6419
|
|
|
6414
6420
|
// In case the SW lives for a while, let it reuse already opened connections:
|