Skip to content

Commit

Permalink
Merge pull request #362 from tiagosiebler/v3.10.13
Browse files Browse the repository at this point in the history
v3.10.13: feat() add updated withdraw request params
  • Loading branch information
tiagosiebler authored Aug 1, 2024
2 parents 14280d9 + daad11d commit b3a2c62
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bybit-api",
"version": "3.10.12",
"version": "3.10.13",
"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",
Expand Down
13 changes: 12 additions & 1 deletion src/types/request/v5-asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ export interface WithdrawParamsV5 {
timestamp: number;
forceChain?: number;
accountType?: 'SPOT' | 'FUND';
feeType?: 0 | 1;
requestId?: string;
beneficiary?: {
vaspEntityId: string;
beneficiaryName?: string;
};
}

export interface ConvertCoinsParamsV5 {
Expand All @@ -143,7 +149,12 @@ export interface RequestConvertQuoteParamsV5 {
toCoinType?: string;
requestCoin: string;
requestAmount: string;
accountType: 'eb_convert_funding' | 'eb_convert_uta' | 'eb_convert_spot' | 'eb_convert_contract' | 'eb_convert_inverse';
accountType:
| 'eb_convert_funding'
| 'eb_convert_uta'
| 'eb_convert_spot'
| 'eb_convert_contract'
| 'eb_convert_inverse';
requestId?: string;
}

Expand Down

0 comments on commit b3a2c62

Please sign in to comment.