@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/client.d.ts +12 -5
- package/client.js +509 -444
- package/package.json +1 -1
- package/server.d.ts +3 -3
- package/server.js +449 -397
package/package.json
CHANGED
package/server.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ interface RemoterInfo {
|
|
|
62
62
|
/**
|
|
63
63
|
* 所连接客户端的 Session ID
|
|
64
64
|
*/
|
|
65
|
-
client:
|
|
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
|
|
141
|
-
remoters: Record
|
|
140
|
+
clients: Record<string, ClientInfo>;
|
|
141
|
+
remoters: Record<string, RemoterInfo>;
|
|
142
142
|
reset: () => void;
|
|
143
143
|
};
|
|
144
144
|
|