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

bitmex-realtime-api

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitmex-realtime-api - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

4

index.js

@@ -215,5 +215,5 @@ 'use strict';

const newData = deltaParser.onAction(action, table, symbol, client, data);
// Truncate table to protect from unbounded memory growth
// Shift oldest elements out of the table (FIFO queue) to prevent unbounded memory growth
if (newData.length > client._maxTableLen) {
newData.length = client._maxTableLen;
newData.splice(0, newData.length - client._maxTableLen);
}

@@ -220,0 +220,0 @@ callback(newData, symbol, table);

{
"name": "bitmex-realtime-api",
"version": "0.2.4",
"version": "0.2.5",
"description": "A library for interacting with BitMEX's websocket API.",

@@ -5,0 +5,0 @@ "main": "index.js",

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