@cocreate/socket-server 1.21.4 → 1.21.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 +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.21.5](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.21.4...v1.21.5) (2023-10-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* disabled message_log ([0977880](https://github.com/CoCreate-app/CoCreate-socket-server/commit/09778807aeaf9b7d574d956e0327d3277554ea19))
|
|
7
|
+
|
|
1
8
|
## [1.21.4](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.21.3...v1.21.4) (2023-10-25)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -427,14 +427,14 @@ class SocketServer extends EventEmitter {
|
|
|
427
427
|
data = authorized.authorized
|
|
428
428
|
|
|
429
429
|
if (data.log !== false && data.log !== 'false' && !data.method.startsWith('read.') && data.method !== 'updateUserStatus' && data.method !== 'userStatus' && data.method !== 'signIn' && data.method !== 'signUp') {
|
|
430
|
-
let object = { url: socket.socketUrl, data }
|
|
431
|
-
delete object.socket
|
|
432
|
-
this.emit('create.object', {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
});
|
|
430
|
+
// let object = { url: socket.socketUrl, data }
|
|
431
|
+
// delete object.socket
|
|
432
|
+
// this.emit('create.object', {
|
|
433
|
+
// method: 'create.object',
|
|
434
|
+
// array: 'message_log',
|
|
435
|
+
// object,
|
|
436
|
+
// organization_id: data.organization_id
|
|
437
|
+
// });
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
let sockets = this.get(data);
|