New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

binance

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binance - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "binance",
"version": "1.0.1",
"version": "1.0.2",
"description": "node.js wrapper for the Binance REST and WebSocket APIs",

@@ -5,0 +5,0 @@ "main": "./lib/binance.js",

@@ -21,3 +21,3 @@ # Binance

binanceRest.allOrders({
symbole: 'BNBBTC' // Object is transformed into a query string, timestamp is automatically added
symbol: 'BNBBTC' // Object is transformed into a query string, timestamp is automatically added
})

@@ -44,3 +44,3 @@ .then((data) => {

// WebSocket API
const binanceWS = api.BinanceWS();
const binanceWS = new api.BinanceWS();

@@ -52,3 +52,3 @@ binanceWS.onDepthUpdate('BNBBTC', (data) => {

/*
* onUserData requires an instance of binanceRest in order to make the necessary startUserDataStream and
* onUserData requires an instance of BinanceRest in order to make the necessary startUserDataStream and
* keepAliveUserDataStream calls

@@ -58,3 +58,3 @@ */

console.log(data);
}, 60000); // How often the keep alive should be sent in milliseconds
}, 60000); // Optional, how often the keep alive should be sent in milliseconds

@@ -61,0 +61,0 @@ binanceWS.onKline('BNBBTC', '1m', (data) => {

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