binance-api-node
Advanced tools
Comparing version 0.5.7 to 0.6.0
@@ -36,3 +36,4 @@ 'use strict'; | ||
symbol = _JSON$parse.s, | ||
updateId = _JSON$parse.u, | ||
firstUpdateId = _JSON$parse.U, | ||
finalUpdateId = _JSON$parse.u, | ||
bidDepth = _JSON$parse.b, | ||
@@ -45,3 +46,4 @@ askDepth = _JSON$parse.a; | ||
symbol: symbol, | ||
updateId: updateId, | ||
firstUpdateId: firstUpdateId, | ||
finalUpdateId: finalUpdateId, | ||
bidDepth: bidDepth.map(function (b) { | ||
@@ -48,0 +50,0 @@ return (0, _lodash2.default)(['price', 'quantity'], b); |
{ | ||
"name": "binance-api-node", | ||
"version": "0.5.7", | ||
"version": "0.6.0", | ||
"description": "A node API wrapper for Binance", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
@@ -873,3 +873,4 @@ # binance-api-node [![build](https://img.shields.io/travis/HyperCubeProject/binance-api-node.svg?style=flat-square)](https://travis-ci.org/HyperCubeProject/binance-api-node) [![cover](https://img.shields.io/coveralls/HyperCubeProject/binance-api-node.svg?style=flat-square)](https://coveralls.io/github/HyperCubeProject/binance-api-node) [![bnb](https://img.shields.io/badge/binance-winner-yellow.svg?style=flat-square)](https://github.com/binance-exchange/binance-api-node) | ||
symbol: 'ETHBTC', | ||
updateId: 18331140, | ||
firstUpdateId: 18331140, | ||
finalUpdateId: 18331145, | ||
bidDepth: [ | ||
@@ -876,0 +877,0 @@ { price: '0.04896500', quantity: '0.00000000' }, |
@@ -16,3 +16,4 @@ import WebSocket from 'ws' | ||
s: symbol, | ||
u: updateId, | ||
U: firstUpdateId, | ||
u: finalUpdateId, | ||
b: bidDepth, | ||
@@ -26,3 +27,4 @@ a: askDepth, | ||
symbol, | ||
updateId, | ||
firstUpdateId, | ||
finalUpdateId, | ||
bidDepth: bidDepth.map(b => zip(['price', 'quantity'], b)), | ||
@@ -29,0 +31,0 @@ askDepth: askDepth.map(a => zip(['price', 'quantity'], a)), |
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
227819
1731
1065