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.22.1 to 13.22.2

2

dist/mappers/gateio.d.ts

@@ -83,2 +83,4 @@ import { CircularBuffer } from '../handy';

asks?: GateIODepthLevel[];
current: 1669860180.632;
update: 1669860180.632;
},

@@ -85,0 +87,0 @@ string

3

dist/mappers/gateio.js

@@ -295,2 +295,3 @@ "use strict";

const asks = Array.isArray(depthMessage.params[1].asks) ? depthMessage.params[1].asks : [];
const timestamp = depthMessage.params[1].current !== undefined ? new Date(depthMessage.params[1].current * 1000) : localTimestamp;
yield {

@@ -303,3 +304,3 @@ type: 'book_change',

asks: asks.map(mapBookLevel),
timestamp: localTimestamp,
timestamp: timestamp,
localTimestamp: localTimestamp

@@ -306,0 +307,0 @@ };

@@ -107,5 +107,20 @@ import { CircularBuffer } from '../handy';

sequenceEnd: 1636276324710;
time: undefined;
};
} | {
type: 'message';
topic: '/market/level2:BTC-USDT';
subject: 'trade.l2update';
data: {
changes: {
asks: [];
bids: [['27309.8', '0.35127929', '8005280396']];
};
sequenceEnd: 8005280396;
sequenceStart: 8005280396;
symbol: 'BTC-USDT';
time: 1685578980002;
};
};
export {};
//# sourceMappingURL=kucoin.d.ts.map

@@ -176,2 +176,3 @@ "use strict";

}
const timestamp = l2UpdateMessage.data.time !== undefined ? new Date(l2UpdateMessage.data.time) : localTimestamp;
return {

@@ -184,3 +185,3 @@ type: 'book_change',

asks,
timestamp: localTimestamp,
timestamp: timestamp,
localTimestamp: localTimestamp

@@ -187,0 +188,0 @@ };

{
"name": "tardis-dev",
"version": "13.22.1",
"version": "13.22.2",
"engines": {

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

@@ -334,2 +334,5 @@ import { debug } from '../debug'

const asks = Array.isArray(depthMessage.params[1].asks) ? depthMessage.params[1].asks : []
const timestamp = depthMessage.params[1].current !== undefined ? new Date(depthMessage.params[1].current * 1000) : localTimestamp
yield {

@@ -342,3 +345,3 @@ type: 'book_change',

asks: asks.map(mapBookLevel),
timestamp: localTimestamp,
timestamp: timestamp,
localTimestamp: localTimestamp

@@ -370,2 +373,4 @@ }

asks?: GateIODepthLevel[]
current: 1669860180.632
update: 1669860180.632
},

@@ -372,0 +377,0 @@ string

@@ -197,2 +197,3 @@ import { debug } from '../debug'

const timestamp = l2UpdateMessage.data.time !== undefined ? new Date(l2UpdateMessage.data.time) : localTimestamp
return {

@@ -205,3 +206,3 @@ type: 'book_change',

asks,
timestamp: localTimestamp,
timestamp: timestamp,
localTimestamp: localTimestamp

@@ -313,12 +314,26 @@ }

type KucoinLevel2UpdateMessage = {
type: 'message'
topic: '/market/level2:BTC-USDT'
subject: 'trade.l2update'
data: {
sequenceStart: 1636276324710
symbol: 'BTC-USDT'
changes: { asks: [string, string, string][]; bids: [string, string, string][] }
sequenceEnd: 1636276324710
}
}
type KucoinLevel2UpdateMessage =
| {
type: 'message'
topic: '/market/level2:BTC-USDT'
subject: 'trade.l2update'
data: {
sequenceStart: 1636276324710
symbol: 'BTC-USDT'
changes: { asks: [string, string, string][]; bids: [string, string, string][] }
sequenceEnd: 1636276324710
time: undefined
}
}
| {
type: 'message'
topic: '/market/level2:BTC-USDT'
subject: 'trade.l2update'
data: {
changes: { asks: []; bids: [['27309.8', '0.35127929', '8005280396']] }
sequenceEnd: 8005280396
sequenceStart: 8005280396
symbol: 'BTC-USDT'
time: 1685578980002
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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