@cocreate/crdt 1.13.4 → 1.13.5
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 +7 -0
- package/package.json +1 -1
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.13.5](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.13.4...v1.13.5) (2022-09-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* get clientId from socket object ([a2f5b68](https://github.com/CoCreate-app/CoCreate-crdt/commit/a2f5b68a7d8ba1ecee0f66d7d9254cc236deaeaf))
|
|
7
|
+
|
|
1
8
|
## [1.13.4](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.13.3...v1.13.4) (2022-09-22)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import message from '@cocreate/message-client';
|
|
|
4
4
|
import uuid from '@cocreate/uuid';
|
|
5
5
|
|
|
6
6
|
const docs = new Map();
|
|
7
|
-
const clientId =
|
|
7
|
+
const clientId = crud.socket.clientId || uuid.generate(12);
|
|
8
8
|
const checkedDb = new Map();
|
|
9
9
|
const isInit = new Map();
|
|
10
10
|
|