@cocreate/socket-server 1.20.1 → 1.20.2
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.20.2](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.20.1...v1.20.2) (2023-10-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* added more methods to the message_log if condition ([37f1106](https://github.com/CoCreate-app/CoCreate-socket-server/commit/37f1106efc30c1278aded8462d779c70e18f28f4))
|
|
7
|
+
|
|
1
8
|
## [1.20.1](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.20.0...v1.20.1) (2023-10-19)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -421,7 +421,7 @@ class SocketServer extends EventEmitter {
|
|
|
421
421
|
if (authorized && authorized.authorized)
|
|
422
422
|
data = authorized.authorized
|
|
423
423
|
|
|
424
|
-
if (!data.method.startsWith('read.')
|
|
424
|
+
if (!data.method.startsWith('read.') && data.method !== 'updateUserStatus' && data.method !== 'userStatus' && data.method !== 'signIn' && data.method !== 'signUp') {
|
|
425
425
|
let object = { url: socket.socketUrl, data }
|
|
426
426
|
delete object.socket
|
|
427
427
|
this.emit('create.object', {
|