cgserver 9.0.3 → 9.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.
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ 9.0.4
2
+ 1、rpc回复指定发送的消息的位置不正确的bug
1
3
  9.0.3
2
4
  1、request添加rawBody接口,方便获取原始body字符串
3
5
  2、v4替换uuidv4(官方弃用,现有接口不影响)
@@ -38,7 +38,7 @@ class IRpcServerWebSocket extends IServerWebSocket_1.IServerWebSocket {
38
38
  ret_msg.from_group = this._group;
39
39
  ret_msg.from_id = this._id;
40
40
  ret_msg.to_group = req_msg.from_group;
41
- ret_msg.to_id = req_msg.to_id;
41
+ ret_msg.to_id = req_msg.from_id;
42
42
  return ret_msg;
43
43
  }
44
44
  async callRemote(msg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cgserver",
3
- "version": "9.0.3",
3
+ "version": "9.0.4",
4
4
  "author": "trojan",
5
5
  "type": "commonjs",
6
6
  "description": "free for all.Websocket or Http",