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.37 to 0.10.38

7

dist/http-client.js

@@ -142,3 +142,3 @@ "use strict";

var headers = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
return sendResult(fetch("".concat(!path.includes('/fapi') ? endpoints.base : endpoints.futures).concat(path).concat(makeQueryString(data)), {
return sendResult(fetch("".concat(!(path.includes('/fapi') || path.includes('/futures')) ? endpoints.base : endpoints.futures).concat(path).concat(makeQueryString(data)), {
method: method,

@@ -218,3 +218,3 @@ json: true,

});
return sendResult(fetch("".concat(!path.includes('/fapi') ? endpoints.base : endpoints.futures).concat(path).concat(noData ? '' : makeQueryString(newData)), {
return sendResult(fetch("".concat(!(path.includes('/fapi') || path.includes('/futures')) ? endpoints.base : endpoints.futures).concat(path).concat(noData ? '' : makeQueryString(newData)), {
method: method,

@@ -564,2 +564,5 @@ headers: {

},
futuresLongShortRatio: function futuresLongShortRatio(payload) {
return pubCall('/futures/data/globalLongShortAccountRatio', payload);
},
futuresCandles: function futuresCandles(payload) {

@@ -566,0 +569,0 @@ return _candles(pubCall, payload, '/fapi/v1/klines');

{
"name": "binance-api-node",
"version": "0.10.37",
"version": "0.10.38",
"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