@arcblock/ws 1.21.2 → 1.21.3

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.
@@ -135,7 +135,7 @@ class WsServer extends EventEmitter {
135
135
  [topic, event, data, options] = args;
136
136
  }
137
137
 
138
- const enableLog = options.enableLog !== undefined ? !!options.enableLog : true;
138
+ const enableLog = !!options.enableLog;
139
139
  const { socketFilters, noCluster } = options;
140
140
  const replyId = nanoid();
141
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ws",
3
- "version": "1.21.2",
3
+ "version": "1.21.3",
4
4
  "description": "OCAP Chain websocket server and client",
5
5
  "keywords": [
6
6
  "websocket"
@@ -33,7 +33,7 @@
33
33
  "lodash": "^4.17.21",
34
34
  "phoenix": "1.7.2",
35
35
  "ws": "^8.18.0",
36
- "@arcblock/event-hub": "1.21.2"
36
+ "@arcblock/event-hub": "1.21.3"
37
37
  },
38
38
  "devDependencies": {
39
39
  "get-port": "^5.1.1"