From f43b731b62d16d8b2d58f4133d8743e06159dd51 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Sun, 2 Apr 2023 10:45:01 +0100 Subject: [PATCH] v3.5.5: fix() add missing wallet balance response type properties --- package.json | 2 +- src/types/response/v5-account.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 74a5e49..a0203d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "3.5.4", + "version": "3.5.5", "description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/types/response/v5-account.ts b/src/types/response/v5-account.ts index 33fa08b..1b11132 100644 --- a/src/types/response/v5-account.ts +++ b/src/types/response/v5-account.ts @@ -11,6 +11,8 @@ export interface WalletBalanceV5Coin { equity: string; usdValue: string; walletBalance: string; + free: string; // spot only + locked: string; // spot only borrowAmount: string; availableToBorrow: string; availableToWithdraw: string; @@ -20,10 +22,12 @@ export interface WalletBalanceV5Coin { totalPositionMM: string; unrealisedPnl: string; cumRealisedPnl: string; + bonus: string; } export interface WalletBalanceV5 { accountType: AccountTypeV5; + accountLTV: string; accountIMRate: string; accountMMRate: string; totalEquity: string;