@cocreate/cursors 1.11.23 → 1.11.25
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 +15 -0
- package/package.json +8 -8
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.11.25](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.24...v1.11.25) (2022-09-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* access clientId from message.socket ([77b8330](https://github.com/CoCreate-app/CoCreate-cursors/commit/77b833066642aaacb88cb3177635a57fd39f5c8a))
|
|
7
|
+
* renamed CoCreateSockets to CoCreateSocket ([29c0b2a](https://github.com/CoCreate-app/CoCreate-cursors/commit/29c0b2a674c9d1767dac234d7114238d947fc9b1))
|
|
8
|
+
|
|
9
|
+
## [1.11.24](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.23...v1.11.24) (2022-09-01)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* bump all of [@cocreate](https://github.com/cocreate) dependencies ([64977a9](https://github.com/CoCreate-app/CoCreate-cursors/commit/64977a99819e8d708cd0fae553bb5760e8587270))
|
|
15
|
+
|
|
1
16
|
## [1.11.23](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.22...v1.11.23) (2022-06-24)
|
|
2
17
|
|
|
3
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/cursors",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.25",
|
|
4
4
|
"description": "Collaborative user cursor position for inputs, textarea's and contenteditable elements.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cursors",
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
"webpack-log": "^3.0.1"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@cocreate/crud-client": "^1.
|
|
66
|
-
"@cocreate/docs": "^1.3.
|
|
67
|
-
"@cocreate/message-client": "^1.1.
|
|
68
|
-
"@cocreate/observer": "^1.5.
|
|
69
|
-
"@cocreate/random-color": "^1.2.
|
|
70
|
-
"@cocreate/selection": "^1.4.
|
|
71
|
-
"@cocreate/uuid": "^1.2.
|
|
65
|
+
"@cocreate/crud-client": "^1.10.0",
|
|
66
|
+
"@cocreate/docs": "^1.3.5",
|
|
67
|
+
"@cocreate/message-client": "^1.1.73",
|
|
68
|
+
"@cocreate/observer": "^1.5.4",
|
|
69
|
+
"@cocreate/random-color": "^1.2.28",
|
|
70
|
+
"@cocreate/selection": "^1.4.13",
|
|
71
|
+
"@cocreate/uuid": "^1.2.5"
|
|
72
72
|
}
|
|
73
73
|
}
|
package/src/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { getElementPosition } from '@cocreate/selection';
|
|
|
6
6
|
import {randomColor} from '@cocreate/random-color';
|
|
7
7
|
import './index.css';
|
|
8
8
|
|
|
9
|
-
const clientId =
|
|
9
|
+
const clientId = message.socket.clientId || uuid.generate(12);
|
|
10
10
|
const cursorBackground = randomColor();
|
|
11
11
|
|
|
12
12
|
let environment_prod = true;
|