@ynhcj/xiaoyi 2.2.9 → 2.3.0
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/dist/types.d.ts +2 -2
- package/dist/types.js +2 -2
- package/dist/websocket.js +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -163,8 +163,8 @@ export interface WebSocketConnectionState {
|
|
|
163
163
|
reconnectAttempts: number;
|
|
164
164
|
maxReconnectAttempts: number;
|
|
165
165
|
}
|
|
166
|
-
export declare const DEFAULT_WS_URL_1 = "
|
|
167
|
-
export declare const DEFAULT_WS_URL_2 = "
|
|
166
|
+
export declare const DEFAULT_WS_URL_1 = "wss://hag-drcn.op.hicloud.com/openclaw/v1/ws/link";
|
|
167
|
+
export declare const DEFAULT_WS_URL_2 = "wss://116.63.174.231";
|
|
168
168
|
export interface InternalWebSocketConfig {
|
|
169
169
|
wsUrl1: string;
|
|
170
170
|
wsUrl2: string;
|
package/dist/types.js
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.DEFAULT_WS_URL_2 = exports.DEFAULT_WS_URL_1 = void 0;
|
|
6
6
|
// Dual server configuration
|
|
7
|
-
exports.DEFAULT_WS_URL_1 = "
|
|
8
|
-
exports.DEFAULT_WS_URL_2 = "
|
|
7
|
+
exports.DEFAULT_WS_URL_1 = "wss://hag-drcn.op.hicloud.com/openclaw/v1/ws/link";
|
|
8
|
+
exports.DEFAULT_WS_URL_2 = "wss://116.63.174.231";
|
package/dist/websocket.js
CHANGED
|
@@ -106,7 +106,7 @@ class XiaoYiWebSocketManager extends events_1.EventEmitter {
|
|
|
106
106
|
agentId: userConfig.agentId,
|
|
107
107
|
ak: userConfig.ak,
|
|
108
108
|
sk: userConfig.sk,
|
|
109
|
-
enableStreaming: userConfig.enableStreaming,
|
|
109
|
+
enableStreaming: userConfig.enableStreaming ?? true,
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
/**
|