binance-api-node
Advanced tools
Comparing version 0.10.11 to 0.10.12
@@ -327,3 +327,3 @@ "use strict"; | ||
return pubCall('/api/v3/ticker/price', payload).then(function (r) { | ||
return r.reduce(function (out, cur) { | ||
return (Array.isArray(r) ? r : [r]).reduce(function (out, cur) { | ||
return out[cur.symbol] = cur.price, out; | ||
@@ -338,3 +338,3 @@ }, {}); | ||
return pubCall('/api/v3/ticker/bookTicker').then(function (r) { | ||
return r.reduce(function (out, cur) { | ||
return (Array.isArray(r) ? r : [r]).reduce(function (out, cur) { | ||
return out[cur.symbol] = cur, out; | ||
@@ -496,3 +496,3 @@ }, {}); | ||
return pubCall('/fapi/v1/ticker/price').then(function (r) { | ||
return r.reduce(function (out, cur) { | ||
return (Array.isArray(r) ? r : [r]).reduce(function (out, cur) { | ||
return out[cur.symbol] = cur.price, out; | ||
@@ -504,3 +504,3 @@ }, {}); | ||
return pubCall('/fapi/v1/ticker/bookTicker').then(function (r) { | ||
return r.reduce(function (out, cur) { | ||
return (Array.isArray(r) ? r : [r]).reduce(function (out, cur) { | ||
return out[cur.symbol] = cur, out; | ||
@@ -507,0 +507,0 @@ }, {}); |
{ | ||
"name": "binance-api-node", | ||
"version": "0.10.11", | ||
"version": "0.10.12", | ||
"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
111740