@cocreate/crdt 1.14.14 → 1.14.16

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 CHANGED
@@ -1,3 +1,18 @@
1
+ ## [1.14.16](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.14.15...v1.14.16) (2022-12-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([5ba127a](https://github.com/CoCreate-app/CoCreate-crdt/commit/5ba127a614304d362323d0683b707d69819b7f4a))
7
+
8
+ ## [1.14.15](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.14.14...v1.14.15) (2022-12-04)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump dependencies ([5bf06fc](https://github.com/CoCreate-app/CoCreate-crdt/commit/5bf06fcc4ac7d75b6386433037a687281468f70f))
14
+ * renamed getObjectValueByPath to getValueFromObject ([965b38e](https://github.com/CoCreate-app/CoCreate-crdt/commit/965b38ee84b07df3722f72eeb0cfc646cffc002f))
15
+
1
16
  ## [1.14.14](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.14.13...v1.14.14) (2022-12-02)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/crdt",
3
- "version": "1.14.14",
3
+ "version": "1.14.16",
4
4
  "description": "CoCreate crdt",
5
5
  "author": "CoCreate LLC",
6
6
  "license": "SEE LICENSE",
@@ -43,8 +43,8 @@
43
43
  "webpack-log": "^3.0.1"
44
44
  },
45
45
  "dependencies": {
46
- "@cocreate/crud-client": "^1.15.10",
47
- "@cocreate/message-client": "^1.1.101",
48
- "@cocreate/utils": "^1.13.0"
46
+ "@cocreate/crud-client": "^1.16.1",
47
+ "@cocreate/message-client": "^1.1.103",
48
+ "@cocreate/utils": "^1.14.2"
49
49
  }
50
50
  }
package/src/index.js CHANGED
@@ -111,7 +111,7 @@ async function checkDb(data, flag) {
111
111
  string = data.newDocument
112
112
  else {
113
113
  let response = await crud.readDocument({ collection, document: {_id: document_id, name}});
114
- string = crud.getObjectValueByPath(response.document[0], name);
114
+ string = crud.getValueFromObject(response.document[0], name);
115
115
  }
116
116
  if (string && flag != false) {
117
117
  data.value = string;