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

binance-api-node

Package Overview
Dependencies
Maintainers
1
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.10.12 to 0.10.13

8

dist/http-client.js

@@ -223,3 +223,9 @@ "use strict";

}, payload) : payload;
return checkParams('order', newPayload, ['symbol', 'side', 'quantity']) && privCall(url, _objectSpread({
var requires = ['symbol', 'side'];
if (!(newPayload.type === 'MARKET' && newPayload.quoteOrderQty)) {
requires.push('quantity');
}
return checkParams('order', newPayload, requires) && privCall(url, _objectSpread({
type: 'LIMIT'

@@ -226,0 +232,0 @@ }, newPayload), 'POST');

@@ -277,2 +277,10 @@ // tslint:disable:interface-name

futuresAccountBalance(options?: { recvWindow: number }): Promise<FuturesBalanceResult[]>
marginOrder(options: NewOrder): Promise<Order>
marginAllOrders(options: { symbol: string, useServerTime?: boolean }): Promise<QueryOrderResult[]>
marginCancelOrder(options: {
symbol: string
orderId?: number
useServerTime?: boolean
}): Promise<CancelOrderResult>
marginOpenOrders(options: { symbol?: string; useServerTime?: boolean }): Promise<QueryOrderResult[]>
}

@@ -279,0 +287,0 @@

2

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

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

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