Skip to content

Commit

Permalink
feat(): doc improvement for ws api method
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Jun 7, 2024
1 parent fdd0a6a commit 2e06564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebsocketClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ export class WebsocketClient extends BaseWebsocketClient<WsKey> {
* @param wsKey - The connection this event is for (e.g. "spotV4" | "perpFuturesUSDTV4" | "perpFuturesBTCV4" | "deliveryFuturesUSDTV4" | "deliveryFuturesBTCV4" | "optionsV4")
* @param channel - The channel this event is for (e.g. "spot.login" to authenticate)
* @param params - Any request parameters for the payload. Signature generation is automatic, only send parameters such as order ID as per the docs.
* @returns
* @returns Promise - tries to resolve with async WS API response. Rejects if disconnected or exception is seen in async WS API response
*/
async sendWSAPIRequest<TRequestParams extends object | string = object>(
wsKey: WsKey,
Expand Down

0 comments on commit 2e06564

Please sign in to comment.