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

tardis-dev

Package Overview
Dependencies
Maintainers
1
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tardis-dev - npm Package Compare versions

Comparing version 13.20.1 to 13.20.2

10

dist/mappers/bybit.js

@@ -101,4 +101,4 @@ "use strict";

*map(message, localTimestamp) {
const bestAsk = message.data.a[0];
const bestBid = message.data.b[0];
const bestAsk = message.data.a.filter((ask) => ask[1] != '0')[0];
const bestBid = message.data.b.filter((bid) => bid[1] != '0')[0];
if (message.type === 'snapshot') {

@@ -127,2 +127,8 @@ this._snapshots[message.data.s] = {

};
this._snapshots[message.data.s] = {
askAmount: bookTicker.askAmount,
askPrice: bookTicker.askPrice,
bidPrice: bookTicker.bidPrice,
bidAmount: bookTicker.bidAmount
};
yield bookTicker;

@@ -129,0 +135,0 @@ }

2

package.json
{
"name": "tardis-dev",
"version": "13.20.1",
"version": "13.20.2",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=12"

@@ -114,4 +114,4 @@ import { asNumberIfValid, upperCaseSymbols } from '../handy'

*map(message: BybitV5OrderBookMessage, localTimestamp: Date) {
const bestAsk = message.data.a[0]
const bestBid = message.data.b[0]
const bestAsk = message.data.a.filter((ask) => ask[1] != '0')[0]
const bestBid = message.data.b.filter((bid) => bid[1] != '0')[0]

@@ -144,2 +144,9 @@ if (message.type === 'snapshot') {

this._snapshots[message.data.s] = {
askAmount: bookTicker.askAmount,
askPrice: bookTicker.askPrice,
bidPrice: bookTicker.bidPrice,
bidAmount: bookTicker.bidAmount
}
yield bookTicker

@@ -146,0 +153,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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