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 10.1.12 to 10.1.13

5

dist/mappers/index.js

@@ -28,2 +28,5 @@ "use strict";

const isRealTime = (date) => {
if (process.env.__NO_REAL_TIME__) {
return false;
}
return date.valueOf() + THREE_MINUTES_IN_MS > new Date().valueOf();

@@ -70,3 +73,3 @@ };

'binance-futures': (localTimestamp) => new binance_1.BinanceFuturesBookChangeMapper('binance-futures', isRealTime(localTimestamp) === false),
'binance-delivery': () => new binance_1.BinanceFuturesBookChangeMapper('binance-delivery', false),
'binance-delivery': (localTimestamp) => new binance_1.BinanceFuturesBookChangeMapper('binance-delivery', isRealTime(localTimestamp) === false),
'binance-dex': () => binancedex_1.binanceDexBookChangeMapper,

@@ -73,0 +76,0 @@ bitfinex: () => new bitfinex_1.BitfinexBookChangeMapper('bitfinex'),

2

package.json
{
"name": "tardis-dev",
"version": "10.1.12",
"version": "10.1.13",
"engines": {

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

@@ -33,2 +33,5 @@ import { ONE_SEC_IN_MS } from '../handy'

const isRealTime = (date: Date) => {
if (process.env.__NO_REAL_TIME__) {
return false
}
return date.valueOf() + THREE_MINUTES_IN_MS > new Date().valueOf()

@@ -77,3 +80,4 @@ }

'binance-futures': (localTimestamp: Date) => new BinanceFuturesBookChangeMapper('binance-futures', isRealTime(localTimestamp) === false),
'binance-delivery': () => new BinanceFuturesBookChangeMapper('binance-delivery', false),
'binance-delivery': (localTimestamp: Date) =>
new BinanceFuturesBookChangeMapper('binance-delivery', isRealTime(localTimestamp) === false),
'binance-dex': () => binanceDexBookChangeMapper,

@@ -80,0 +84,0 @@ bitfinex: () => new BitfinexBookChangeMapper('bitfinex'),

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