v3.7.1: chore() naming consistency for interface, pass through logger for ws url getter

This commit is contained in:
tiagosiebler
2023-06-27 11:13:54 +01:00
parent b12f243a3d
commit 2d31bda1d7
7 changed files with 19 additions and 11 deletions

View File

@@ -621,7 +621,12 @@ export class WebsocketClient extends EventEmitter {
}
const authParams = await this.getAuthParams(wsKey);
const url = getWsUrl(wsKey, this.options.wsUrl, this.isTestnet());
const url = getWsUrl(
wsKey,
this.options.wsUrl,
this.isTestnet(),
this.logger,
);
const ws = this.connectToWsUrl(url + authParams, wsKey);
return this.wsStore.setWs(wsKey, ws);