@cocreate/crdt 1.14.7 → 1.14.9

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.9](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.14.8...v1.14.9) (2022-11-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([cf590b0](https://github.com/CoCreate-app/CoCreate-crdt/commit/cf590b0ca76c339560a91768fb46b7abc3b3c3c4))
7
+
8
+ ## [1.14.8](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.14.7...v1.14.8) (2022-11-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump dependencies ([0343dca](https://github.com/CoCreate-app/CoCreate-crdt/commit/0343dcae083fc7fd4749ea55160ffee09fb41b91))
14
+ * CoCreate.crud.default removed bug causing default object ([9579fb7](https://github.com/CoCreate-app/CoCreate-crdt/commit/9579fb7e6dc879b4e6a0628df2d073030246da8d))
15
+
1
16
  ## [1.14.7](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.14.6...v1.14.7) (2022-11-24)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/crdt",
3
- "version": "1.14.7",
3
+ "version": "1.14.9",
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.14.2",
47
- "@cocreate/message-client": "^1.1.94",
48
- "@cocreate/utils": "^1.10.22"
46
+ "@cocreate/crud-client": "^1.15.1",
47
+ "@cocreate/message-client": "^1.1.96",
48
+ "@cocreate/utils": "^1.12.0"
49
49
  }
50
50
  }
package/src/index.js CHANGED
@@ -1,14 +1,8 @@
1
1
  /*globals config, atob, btoa, localStorage, CustomEvent*/
2
- import CRUD from '@cocreate/crud-client';
2
+ import crud from '@cocreate/crud-client';
3
3
  import message from '@cocreate/message-client';
4
4
  import uuid from '@cocreate/uuid';
5
5
 
6
- let crud
7
- if (CRUD && CRUD.default)
8
- crud = CRUD.default
9
- else
10
- crud = CRUD
11
-
12
6
  const docs = new Map();
13
7
  const clientId = crud.socket.clientId || uuid.generate(12);
14
8
  const checkedDb = new Map();