diff --git a/package-lock.json b/package-lock.json index 684fc3c..8b545e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bybit-api", - "version": "3.10.9", + "version": "3.10.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bybit-api", - "version": "3.10.9", + "version": "3.10.10", "license": "MIT", "dependencies": { "axios": "^1.6.6", diff --git a/package.json b/package.json index d55ad99..e320b30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "3.10.9", + "version": "3.10.10", "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", @@ -80,4 +80,4 @@ "url": "https://github.com/tiagosiebler/bybit-api/issues" }, "homepage": "https://github.com/tiagosiebler/bybit-api#readme" -} +} \ No newline at end of file diff --git a/src/types/response/v5-account.ts b/src/types/response/v5-account.ts index bd155f2..e38e159 100644 --- a/src/types/response/v5-account.ts +++ b/src/types/response/v5-account.ts @@ -60,11 +60,14 @@ export interface CollateralInfoV5 { currency: string; hourlyBorrowRate: string; maxBorrowingAmount: string; - freeBorrowingAmount: string; + freeBorrowAmount: string; + freeBorrowingLimit: string; borrowAmount: string; availableToBorrow: string; borrowable: boolean; + borrowUsageRate: string; marginCollateral: boolean; + collateralSwitch: boolean; collateralRatio: string; } diff --git a/src/types/v5-shared.ts b/src/types/v5-shared.ts index 1eb3864..cdc977d 100644 --- a/src/types/v5-shared.ts +++ b/src/types/v5-shared.ts @@ -174,7 +174,7 @@ export type OptionTypeV5 = 'Call' | 'Put'; export type TradeModeV5 = 0 | 1; export type TPSLModeV5 = 'Full' | 'Partial'; -export type AccountMarginModeV5 = 'REGULAR_MARGIN' | 'PORTFOLIO_MARGIN'; +export type AccountMarginModeV5 = 'ISOLATED_MARGIN' | 'REGULAR_MARGIN' | 'PORTFOLIO_MARGIN'; export type UnifiedUpdateStatusV5 = 'FAIL' | 'PROCESS' | 'SUCCESS'; export type AccountTypeV5 =