@esengine/server 1.1.2 → 1.1.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -56,6 +56,11 @@ interface ServerConfig {
56
56
  * @en Server connection (extends RPC Connection)
57
57
  */
58
58
  interface ServerConnection<TData = Record<string, unknown>> extends Connection<TData> {
59
+ /**
60
+ * @zh 连接唯一标识(继承自 Connection)
61
+ * @en Connection unique identifier (inherited from Connection)
62
+ */
63
+ readonly id: string;
59
64
  /**
60
65
  * @zh 用户自定义数据
61
66
  * @en User-defined data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esengine/server",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Game server framework for ESEngine with file-based routing",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",