binance 3.0.0-beta.2 → 3.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,7 +99,7 @@ export declare class WebsocketClient extends BaseWebsocketClient<WsKey, WsReques
99
99
  * order. Only send parameters for the request body. Everything else is automatically handled.
100
100
  * @returns Promise - tries to resolve with async WS API response. Rejects if disconnected or exception is seen in async WS API response
101
101
  */
102
- sendWSAPIRequest<TWSKey extends keyof WsAPIWsKeyTopicMap, TWSOperation extends WsAPIWsKeyTopicMap[TWSKey], TWSParams extends Exact<WsAPITopicRequestParamMap[TWSOperation]>>(wsKey: TWSKey, operation: TWSOperation, ...params: TWSParams extends undefined | void | never ? [] : [TWSParams]): Promise<WsAPIOperationResponseMap[TWSOperation]>;
102
+ sendWSAPIRequest<TWSKey extends keyof WsAPIWsKeyTopicMap, TWSOperation extends WsAPIWsKeyTopicMap[TWSKey], TWSParams extends Exact<WsAPITopicRequestParamMap<TWSKey>[TWSOperation]>>(wsKey: TWSKey, operation: TWSOperation, ...params: TWSParams extends undefined | void | never ? [] : [TWSParams]): Promise<WsAPIOperationResponseMap[TWSOperation]>;
103
103
  /**
104
104
  *
105
105
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "binance",
3
- "version": "3.0.0-beta.2",
3
+ "version": "3.0.0-beta.3",
4
4
  "description": "Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & end-to-end tests.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",