@oox/ws 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oox/ws",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "OOX WebSocket Module",
5
5
  "publishConfig": {
6
6
  "access": "public",
package/server.js CHANGED
@@ -167,12 +167,12 @@ export default class WebSocketServer extends Module {
167
167
  oox.addKeepAliveConnection(connection);
168
168
  connection.emit('connect');
169
169
  this.bindServerConnectionEvents(connection);
170
+ this.adapter.bindCall(connection);
170
171
  socket.emit(OOXEvent.READY, {
171
172
  id: oox.config.id,
172
173
  name: oox.config.name
173
174
  });
174
175
  connection.enabled = true;
175
- this.adapter.bindCall(connection);
176
176
  }
177
177
  /**
178
178
  * 绑定服务器连接事件