v3.5.1: feat() add support for V5 public & private websockets

This commit is contained in:
tiagosiebler
2023-02-24 15:59:05 +00:00
parent fad12f460f
commit 0a1cc4ed2b
6 changed files with 358 additions and 113 deletions

View File

@@ -1,6 +1,7 @@
import { ContractClient } from '../contract-client';
import { InverseClient } from '../inverse-client';
import { LinearClient } from '../linear-client';
import { RestClientV5 } from '../rest-client-v5';
import { SpotClient } from '../spot-client';
import { SpotClientV3 } from '../spot-client-v3';
import { UnifiedMarginClient } from '../unified-margin-client';
@@ -15,7 +16,8 @@ export type RESTClient =
| USDCOptionClient
| USDCPerpetualClient
| UnifiedMarginClient
| ContractClient;
| ContractClient
| RestClientV5;
export type numberInString = string;

View File

@@ -11,7 +11,8 @@ export type APIMarket =
| 'unifiedPerp'
| 'unifiedOption'
| 'contractUSDT'
| 'contractInverse';
| 'contractInverse'
| 'v5';
// Same as inverse futures
export type WsPublicInverseTopic =