Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

binance-api-node

Package Overview
Dependencies
Maintainers
0
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binance-api-node - npm Package Compare versions

Comparing version 0.12.7 to 0.12.8

3

dist/http-client.js

@@ -559,2 +559,5 @@ "use strict";

},
marginGetOrderOco: function marginGetOrderOco(payload) {
return privCall('/sapi/v1/margin/orderList', payload);
},
marginCancelOrder: function marginCancelOrder(payload) {

@@ -561,0 +564,0 @@ return privCall('/sapi/v1/margin/order', payload, 'DELETE');

@@ -254,2 +254,17 @@ // tslint:disable:interface-name

export interface DustTransferResult {
amount: string;
fromAsset: string;
operateTime: number;
serviceChargeAmount: string;
tranId: number;
transferedAmount: string;
}
export interface DustTransfer {
totalServiceCharge: string
totalTransfered: string
transferResult: DustTransferResult[]
}
export interface DepositHistoryResponse {

@@ -608,2 +623,6 @@ [index: number]: {

}): DustLog
dustTransfer(options: {
asset: string[],
recvWindow?: number,
})
universalTransfer(options: UniversalTransfer): Promise<{ tranId: number }>

@@ -736,2 +755,9 @@ universalTransferHistory(

}): Promise<Order>
marginGetOrderOco(options: {
symbol: string
isIsolated?: string | boolean
orderId?: string
origClientOrderId?: string
recvWindow?: number
}): Promise<QueryOrderOcoResult>
marginAllOrders(options: {

@@ -1892,2 +1918,14 @@ symbol: string

export interface QueryMarginOrderOcoResult {
orderListId: number
contingencyType: OcoOrderType.CONTINGENCY_TYPE
listStatusType: ListStatusType_LT
listOrderStatus: ListOrderStatus_LT
listClientOrderId: string
transactionTime: number
symbol: string
isIsolated: Boolean
orders: Order[]
}
export interface CancelOrderResult {

@@ -1894,0 +1932,0 @@ symbol: string

2

package.json
{
"name": "binance-api-node",
"version": "0.12.7",
"version": "0.12.8",
"description": "A node API wrapper for Binance",

@@ -5,0 +5,0 @@ "main": "dist",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc