cgserver 11.2.6 → 11.2.7

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.
@@ -67,6 +67,9 @@ class RpcConfig {
67
67
  exports.RpcConfig = RpcConfig;
68
68
  class CgMq {
69
69
  _ws = null;
70
+ get ws() {
71
+ return this._ws;
72
+ }
70
73
  _inited = false;
71
74
  _cfg = null;
72
75
  _onmsg = null;
@@ -28,6 +28,7 @@ export declare class RpcConfig {
28
28
  }
29
29
  export declare class CgMq {
30
30
  protected _ws: CgMqServerWebsocket;
31
+ get ws(): CgMqServerWebsocket;
31
32
  protected _inited: boolean;
32
33
  protected _cfg: RpcConfig;
33
34
  protected _onmsg: (msg: RpcMsg) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cgserver",
3
- "version": "11.2.6",
3
+ "version": "11.2.7",
4
4
  "author": "trojan",
5
5
  "type": "commonjs",
6
6
  "description": "free for all.Websocket or Http",