@cocreate/crdt 1.27.1 → 1.27.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/CHANGELOG.md +14 -0
- package/docs/index.html +0 -6
- package/package.json +1 -1
- package/src/index.js +2 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.27.3](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.27.2...v1.27.3) (2024-02-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([4cfaa76](https://github.com/CoCreate-app/CoCreate-crdt/commit/4cfaa76d1bcf3325b0c49e0cd16471202a89929a))
|
|
7
|
+
|
|
8
|
+
## [1.27.2](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.27.1...v1.27.2) (2024-01-17)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update to support new query system ([2eeba4e](https://github.com/CoCreate-app/CoCreate-crdt/commit/2eeba4e722c4ffdfef1a1ba6e59153d0d77eb6a5))
|
|
14
|
+
|
|
1
15
|
## [1.27.1](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.27.0...v1.27.1) (2023-12-09)
|
|
2
16
|
|
|
3
17
|
|
package/docs/index.html
CHANGED
|
@@ -18,12 +18,6 @@
|
|
|
18
18
|
content="helper classes, utility classes, css framework, css library, inline style classes" />
|
|
19
19
|
<meta name="robots" content="index,follow" />
|
|
20
20
|
|
|
21
|
-
<!-- CoCreate CSS -->
|
|
22
|
-
<link
|
|
23
|
-
rel="stylesheet"
|
|
24
|
-
href="https://cdn.cocreate.app/latest/CoCreate.min.css"
|
|
25
|
-
type="text/css" />
|
|
26
|
-
|
|
27
21
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
28
22
|
</head>
|
|
29
23
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -63,11 +63,7 @@ async function getObject(data) {
|
|
|
63
63
|
array: "crdt",
|
|
64
64
|
object: {
|
|
65
65
|
$filter: {
|
|
66
|
-
query:
|
|
67
|
-
key: 'name',
|
|
68
|
-
operator: "$eq",
|
|
69
|
-
value: name
|
|
70
|
-
}],
|
|
66
|
+
query: { name },
|
|
71
67
|
limit: 1
|
|
72
68
|
}
|
|
73
69
|
}
|
|
@@ -254,9 +250,7 @@ function persistChange(data, change) {
|
|
|
254
250
|
}
|
|
255
251
|
},
|
|
256
252
|
$filter: {
|
|
257
|
-
query:
|
|
258
|
-
{ key: 'name', value: name, operator: '$eq', index: true }
|
|
259
|
-
],
|
|
253
|
+
query: { name },
|
|
260
254
|
limit: 1
|
|
261
255
|
},
|
|
262
256
|
upsert: true,
|