diff --git a/package-lock.json b/package-lock.json index ead78f0..4dbc244 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bybit-api", - "version": "3.10.11", + "version": "3.10.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bybit-api", - "version": "3.10.11", + "version": "3.10.12", "license": "MIT", "dependencies": { "axios": "^1.6.6", diff --git a/src/rest-client-v5.ts b/src/rest-client-v5.ts index 52ff883..3140f6d 100644 --- a/src/rest-client-v5.ts +++ b/src/rest-client-v5.ts @@ -582,14 +582,11 @@ export class RestClientV5 extends BaseRestClient { * * Only for institutional clients! */ - setDisconnectCancelAllWindowV2( + setDisconnectCancelAllWindowV2(params: { product: 'OPTION' | 'SPOT' | 'DERIVATIVES', timeWindow: number, - ): Promise> { - return this.postPrivate('/v5/order/disconnected-cancel-all', { - product, - timeWindow, - }); + }): Promise> { + return this.postPrivate('/v5/order/disconnected-cancel-all', params); } /**