cgserver 9.0.4 → 9.0.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/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ 9.0.5(不重要)
2
+ 1、添加一个rpc提示
1
3
  9.0.4
2
4
  1、rpc回复指定发送的消息的位置不正确的bug
3
5
  9.0.3
@@ -65,6 +65,10 @@ class IRpcClientWebSocket extends IClientWebSocket_1.IClientWebSocket {
65
65
  }
66
66
  async _onMessage(msg) {
67
67
  if (msg.__return) {
68
+ let ret = this.filterMsg(msg);
69
+ if (!ret) {
70
+ return;
71
+ }
68
72
  EventTool_1.GEventTool.emit(msg.__rpcid, msg);
69
73
  return;
70
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cgserver",
3
- "version": "9.0.4",
3
+ "version": "9.0.5",
4
4
  "author": "trojan",
5
5
  "type": "commonjs",
6
6
  "description": "free for all.Websocket or Http",