From 351300ddcad3b6959f148725c3c13a6005ad8a08 Mon Sep 17 00:00:00 2001 From: Jerko J <83344666+JJ-Cro@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:55:44 +0200 Subject: [PATCH] chore(): Bumped version --- package-lock.json | 4 ++-- src/rest-client-v5.ts | 9 +++------ 2 files changed, 5 insertions(+), 8 deletions(-) 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); } /**