expose ws store

This commit is contained in:
tiagosiebler
2022-09-28 09:55:48 +01:00
parent 2971dd7f2b
commit 7fa82e099a
3 changed files with 25 additions and 3 deletions

View File

@@ -174,6 +174,11 @@ export class WebsocketClient extends EventEmitter {
}
}
/** Get the WsStore that tracks websockets & topics */
public getWsStore(): WsStore {
return this.wsStore;
}
public isTestnet(): boolean {
return this.options.testnet === true;
}