@xiaoguomeiyitian/core 2.0.2 → 2.0.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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiaoguomeiyitian/core",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "types/lib.d.ts",
6
6
  "bin": {
package/types/lib.d.ts CHANGED
@@ -60,8 +60,10 @@ export declare class Global {
60
60
  outputGC(threshold?: number, durationMs?: number): void;
61
61
  }
62
62
  export declare class Entity {
63
- type: string; /** 实体类型 */
64
- id: string; /** 实体id */
63
+ /** 实体类型 */
64
+ type: string;
65
+ /** 实体id */
66
+ id: string;
65
67
  /** 连接列表 */
66
68
  conns: WsConnection[];
67
69
  constructor(type: string, id?: string);