binance-api-node
Advanced tools
Comparing version 0.10.37 to 0.10.38
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169568
2681