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
package/README.md
CHANGED
|
@@ -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",
|
|
@@ -6262,7 +6268,7 @@ function dexieCloud(dexie) {
|
|
|
6262
6268
|
const syncComplete = new Subject();
|
|
6263
6269
|
dexie.cloud = {
|
|
6264
6270
|
// @ts-ignore
|
|
6265
|
-
version: "4.2.
|
|
6271
|
+
version: "4.2.3",
|
|
6266
6272
|
options: Object.assign({}, DEFAULT_OPTIONS),
|
|
6267
6273
|
schema: null,
|
|
6268
6274
|
get currentUserId() {
|
|
@@ -6579,7 +6585,7 @@ function dexieCloud(dexie) {
|
|
|
6579
6585
|
}
|
|
6580
6586
|
}
|
|
6581
6587
|
// @ts-ignore
|
|
6582
|
-
dexieCloud.version = "4.2.
|
|
6588
|
+
dexieCloud.version = "4.2.3";
|
|
6583
6589
|
Dexie.Cloud = dexieCloud;
|
|
6584
6590
|
|
|
6585
6591
|
export { dexieCloud as default, defineYDocTrigger, dexieCloud, getTiedObjectId, getTiedRealmId, resolveText };
|