feat(): mark optional params

This commit is contained in:
Tiago Siebler
2023-11-14 11:07:00 +00:00
parent 62aad4e2b8
commit c45dd5d382
3 changed files with 34 additions and 38 deletions

View File

@@ -646,6 +646,12 @@ export class WebsocketClient extends EventEmitter {
case WS_KEY_MAP.mixv1: {
return WS_BASE_URL_MAP.mixv1.all[networkKey];
}
case WS_KEY_MAP.v2Private: {
return WS_BASE_URL_MAP.v2Private.all[networkKey];
}
case WS_KEY_MAP.v2Public: {
return WS_BASE_URL_MAP.v2Public.all[networkKey];
}
default: {
this.logger.error('getWsUrl(): Unhandled wsKey: ', {
...LOGGER_CATEGORY,