@cocreate/socket-server 1.4.20 → 1.4.21

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,10 @@
1
+ ## [1.4.21](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.4.20...v1.4.21) (2022-12-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * syncServer trigers action createDocument ([608e390](https://github.com/CoCreate-app/CoCreate-socket-server/commit/608e3907e542622c309502a91a08a76a071a4abf))
7
+
1
8
  ## [1.4.20](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.4.19...v1.4.20) (2022-12-07)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/socket-server",
3
- "version": "1.4.20",
3
+ "version": "1.4.21",
4
4
  "description": "CoCreate-socket-server",
5
5
  "keywords": [
6
6
  "cocreate-socket",
package/src/index.js CHANGED
@@ -147,7 +147,7 @@ class SocketServer extends EventEmitter{
147
147
  if (passStatus !== true) {
148
148
  // if (action == 'syncServer' && passStatus.database === true)
149
149
  // if (action == 'syncServer')
150
- // this.emit(action, socket, data);
150
+ // this.emit('createDocument', socket, data);
151
151
  // else
152
152
  this.send(socket, 'Access Denied', passStatus)
153
153
  return;