Merge pull request #362 from tiagosiebler/v3.10.13

v3.10.13: feat() add updated withdraw request params
This commit is contained in:
Tiago
2024-08-01 11:30:32 +01:00
committed by GitHub
3 changed files with 15 additions and 4 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "bybit-api",
"version": "3.10.12",
"version": "3.10.13",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "bybit-api",
"version": "3.10.12",
"version": "3.10.13",
"license": "MIT",
"dependencies": {
"axios": "^1.6.6",

View File

@@ -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",

View File

@@ -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 {
@@ -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;
}