v3.9.9: feat() support demo trading apis
This commit is contained in:
@@ -623,12 +623,7 @@ export class WebsocketClient extends EventEmitter {
|
||||
}
|
||||
|
||||
const authParams = await this.getAuthParams(wsKey);
|
||||
const url = getWsUrl(
|
||||
wsKey,
|
||||
this.options.wsUrl,
|
||||
this.isTestnet(),
|
||||
this.logger,
|
||||
);
|
||||
const url = getWsUrl(wsKey, this.options, this.logger);
|
||||
const ws = this.connectToWsUrl(url + authParams, wsKey);
|
||||
|
||||
return this.wsStore.setWs(wsKey, ws);
|
||||
|
||||
Reference in New Issue
Block a user