Skip to content

Commit

Permalink
Merge pull request #470 from jerkly/master
Browse files Browse the repository at this point in the history
Types updated for All Coins' Information response
  • Loading branch information
tiagosiebler authored Oct 26, 2024
2 parents 998c53e + 109e93b commit 2cc9f55
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "binance",
"version": "2.13.10",
"version": "2.13.11",
"description": "Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & end-to-end tests.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
12 changes: 11 additions & 1 deletion src/types/spot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export interface AllCoinsInformationResponse {
free: numberInString;
freeze: numberInString;
ipoable: numberInString;
ipoing: numberInString;
isLegalMoney: boolean;
locked: numberInString;
name: string;
Expand All @@ -120,12 +121,21 @@ export interface CoinNetwork {
name: string;
network: string;
resetAddressStatus: boolean;
specialTips: string;
specialTips?: string;
specialWithdrawTips?: string;
unlockConfirm: number;
withdrawDesc: string;
withdrawEnable: boolean;
withdrawFee: numberInString;
withdrawMin: numberInString;
withdrawMax: numberInString;
withdrawIntegerMultiple: numberInString;
depositDust?: numberInString;
sameAddress: boolean;
estimatedArrivalTime: number;
busy: boolean;
contractAddressUrl?: string;
contractAddress?: string;
}

export interface SpotBalance {
Expand Down

0 comments on commit 2cc9f55

Please sign in to comment.