@opentiny/next 0.2.0 → 0.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/next",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Chunhui Mo",
package/server.d.ts CHANGED
@@ -62,7 +62,7 @@ interface RemoterInfo {
62
62
  /**
63
63
  * 所连接客户端的 Session ID
64
64
  */
65
- client: `${string}-${string}-${string}-${string}-${string}`;
65
+ client: string;
66
66
  /**
67
67
  * 连接的用户信息
68
68
  */
@@ -137,8 +137,8 @@ declare const useProxyHandles: () => {
137
137
  handleSseMessage: (req: Request, res: Response) => Promise<void>;
138
138
  handleStreamRequest: (req: Request, res: Response) => Promise<void>;
139
139
  handleStreamInspector: (req: Request, res: Response) => Promise<void>;
140
- clients: Record<`${string}-${string}-${string}-${string}-${string}`, ClientInfo>;
141
- remoters: Record<`${string}-${string}-${string}-${string}-${string}`, RemoterInfo>;
140
+ clients: Record<string, ClientInfo>;
141
+ remoters: Record<string, RemoterInfo>;
142
142
  reset: () => void;
143
143
  };
144
144