Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitmex-orderbook

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitmex-orderbook - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "bitmex-orderbook",
"version": "1.1.0",
"version": "1.1.1",
"description": "BitMEX WebSocket-driven Orderbook",

@@ -5,0 +5,0 @@ "main": "src/OrderBook.js",

@@ -22,6 +22,8 @@ const crypto = require("crypto");

return new Promise((resolve, reject) => {
if (!this.socket) {
this.socket = new WebSocket(this.endpoint);
if (this.socket) {
return resolve(true);
}
this.socket = new WebSocket(this.endpoint);
let heartbeatInterval;

@@ -28,0 +30,0 @@

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