Socket
Socket
Sign inDemoInstall

bitmex-realtime-api

Package Overview
Dependencies
42
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc