expose ws store
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user