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 12.0.0 to 12.0.1

3

dist/mappers/binance.js

@@ -281,4 +281,5 @@ "use strict";

if (message.data.e === 'markPriceUpdate') {
if ('r' in message.data) {
if ('r' in message.data && message.data.r !== '') {
// only perpetual futures have funding rate info in mark price
// delivery futures sometimes send empty ('') r value
pendingTickerInfo.updateFundingRate(Number(message.data.r));

@@ -285,0 +286,0 @@ pendingTickerInfo.updateFundingTimestamp(new Date(message.data.T));

{
"name": "tardis-dev",
"version": "12.0.0",
"version": "12.0.1",
"engines": {

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

@@ -324,4 +324,5 @@ import { debug } from '../debug'

if (message.data.e === 'markPriceUpdate') {
if ('r' in message.data) {
if ('r' in message.data && message.data.r !== '') {
// only perpetual futures have funding rate info in mark price
// delivery futures sometimes send empty ('') r value
pendingTickerInfo.updateFundingRate(Number(message.data.r))

@@ -328,0 +329,0 @@ pendingTickerInfo.updateFundingTimestamp(new Date(message.data.T!))

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