@cocreate/socket-server 1.5.3 → 1.6.1
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/package.json +3 -3
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.6.1](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.6.0...v1.6.1) (2023-01-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump dependencies ([f0a5fbf](https://github.com/CoCreate-app/CoCreate-socket-server/commit/f0a5fbfcb42ce363ac93ac089ea0ab561676325d))
|
|
7
|
+
|
|
8
|
+
# [1.6.0](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.5.3...v1.6.0) (2023-01-02)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* Access Denied returns action, status, and data ([cd98a28](https://github.com/CoCreate-app/CoCreate-socket-server/commit/cd98a287af38567d9a726964e63476d6cd15a90e))
|
|
14
|
+
|
|
1
15
|
## [1.5.3](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.5.2...v1.5.3) (2023-01-01)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/socket-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "CoCreate-socket-server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cocreate-socket",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://cocreate.app/docs/CoCreate-socket-server",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@cocreate/docs": "^1.5.
|
|
44
|
-
"@cocreate/uuid": "^1.2.
|
|
43
|
+
"@cocreate/docs": "^1.5.3",
|
|
44
|
+
"@cocreate/uuid": "^1.2.52"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"express": "^4.17.1",
|
package/src/index.js
CHANGED
|
@@ -153,7 +153,7 @@ class SocketServer extends EventEmitter{
|
|
|
153
153
|
// if (action == 'syncServer')
|
|
154
154
|
// this.emit('createDocument', socket, data);
|
|
155
155
|
// else
|
|
156
|
-
this.send(socket, 'Access Denied', passStatus)
|
|
156
|
+
this.send(socket, 'Access Denied', {action, passStatus, data})
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
159
|
}
|