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.10.3 to 13.10.4

4

dist/mappers/coinbase.js

@@ -141,6 +141,6 @@ "use strict";

exchange: 'coinbase',
askAmount: undefined,
askAmount: message.best_ask_size !== undefined ? Number(message.best_ask_size) : undefined,
askPrice: message.best_ask !== undefined ? Number(message.best_ask) : undefined,
bidPrice: message.best_bid !== undefined ? Number(message.best_bid) : undefined,
bidAmount: undefined,
bidAmount: message.best_bid_size !== undefined ? Number(message.best_bid_size) : undefined,
timestamp,

@@ -147,0 +147,0 @@ localTimestamp: localTimestamp

{
"name": "tardis-dev",
"version": "13.10.3",
"version": "13.10.4",
"engines": {

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

@@ -158,6 +158,6 @@ import { parseμs, upperCaseSymbols } from '../handy'

exchange: 'coinbase',
askAmount: undefined,
askAmount: message.best_ask_size !== undefined ? Number(message.best_ask_size) : undefined,
askPrice: message.best_ask !== undefined ? Number(message.best_ask) : undefined,
bidPrice: message.best_bid !== undefined ? Number(message.best_bid) : undefined,
bidAmount: undefined,
bidAmount: message.best_bid_size !== undefined ? Number(message.best_bid_size) : undefined,
timestamp,

@@ -197,10 +197,32 @@ localTimestamp: localTimestamp

type CoinbaseTicker = {
type: 'ticker'
sequence: 2349290585
product_id: 'CGLD-USD'
price: '5.415'
best_bid: '5.4149'
best_ask: '5.4150'
time: '2021-10-13T07:05:00.028961Z'
}
type CoinbaseTicker =
| {
type: 'ticker'
sequence: 2349290585
product_id: 'CGLD-USD'
price: '5.415'
best_bid: '5.4149'
best_ask: '5.4150'
time: '2021-10-13T07:05:00.028961Z'
best_bid_size: undefined
best_ask_size: undefined
}
| {
type: 'ticker'
sequence: 50978628538
product_id: 'BTC-USD'
price: '17165.16'
open_24h: '16437.94'
volume_24h: '42492.05081975'
low_24h: '16423.37'
high_24h: '17259.37'
volume_30d: '1093827.95195495'
best_bid: '17165.15'
best_bid_size: '0.61540890'
best_ask: '17167.76'
best_ask_size: '0.18528568'
side: 'sell'
time: '2022-12-01T00:00:00.122581Z'
trade_id: 463751434
last_size: '0.05'
}

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