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.5.7 to 0.6.0

6

dist/websocket.js

@@ -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)),

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