Skip to content

Commit b14e3dc

Browse files
committed
feat(): marked all public futures WSAPI methods with optional auth
1 parent 7538f86 commit b14e3dc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/websocket-api-client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,7 @@ export class WebsocketAPIClient {
897897
WS_KEY_MAP.usdmWSAPI,
898898
'depth',
899899
params,
900+
{ authIsOptional: true },
900901
);
901902
}
902903

@@ -913,6 +914,7 @@ export class WebsocketAPIClient {
913914
WS_KEY_MAP.usdmWSAPI,
914915
'ticker.price',
915916
params,
917+
{ authIsOptional: true },
916918
);
917919
}
918920

@@ -927,6 +929,7 @@ export class WebsocketAPIClient {
927929
WS_KEY_MAP.usdmWSAPI,
928930
'ticker.book',
929931
params,
932+
{ authIsOptional: true },
930933
);
931934
}
932935

0 commit comments

Comments
 (0)