add basic ws connectivity tests

This commit is contained in:
tiagosiebler
2022-09-15 14:11:17 +01:00
parent 3f5039ef8b
commit 1b422a1beb
7 changed files with 435 additions and 31 deletions

View File

@@ -74,7 +74,7 @@ export type WsKey = typeof WS_KEY_MAP[keyof typeof WS_KEY_MAP];
export interface WSClientConfigurableOptions {
key?: string;
secret?: string;
livenet?: boolean;
testnet?: boolean;
/**
* The API group this client should connect to.
@@ -94,7 +94,7 @@ export interface WSClientConfigurableOptions {
}
export interface WebsocketClientOptions extends WSClientConfigurableOptions {
livenet: boolean;
testnet?: boolean;
market: APIMarket;
pongTimeout: number;
pingInterval: number;