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.0.5 to 10.0.6

6

dist/mappers/cryptofacilities.js

@@ -7,3 +7,3 @@ "use strict";

canHandle(message) {
return message.feed === 'trade';
return message.feed === 'trade' && message.event === undefined;
},

@@ -37,3 +37,3 @@ getFilters(symbols) {

canHandle(message) {
return message.feed === 'book' || message.feed === 'book_snapshot';
return message.event === undefined && (message.feed === 'book' || message.feed === 'book_snapshot');
},

@@ -91,3 +91,3 @@ getFilters(symbols) {

canHandle(message) {
return message.feed === 'ticker';
return message.feed === 'ticker' && message.event === undefined;
}

@@ -94,0 +94,0 @@ getFilters(symbols) {

{
"name": "tardis-dev",
"version": "10.0.5",
"version": "10.0.6",
"engines": {

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

@@ -8,3 +8,3 @@ import { BookChange, DerivativeTicker, Trade } from '../types'

canHandle(message: CryptofacilitiesTrade | CryptofacilitiesTicker | CryptofacilitiesBookSnapshot | CryptofacilitiesBookUpdate) {
return message.feed === 'trade'
return message.feed === 'trade' && message.event === undefined
},

@@ -42,3 +42,3 @@

canHandle(message: CryptofacilitiesTrade | CryptofacilitiesTicker | CryptofacilitiesBookSnapshot | CryptofacilitiesBookUpdate) {
return message.feed === 'book' || message.feed === 'book_snapshot'
return message.event === undefined && (message.feed === 'book' || message.feed === 'book_snapshot')
},

@@ -97,3 +97,3 @@

canHandle(message: CryptofacilitiesTrade | CryptofacilitiesTicker | CryptofacilitiesBookSnapshot | CryptofacilitiesBookUpdate) {
return message.feed === 'ticker'
return message.feed === 'ticker' && message.event === undefined
}

@@ -100,0 +100,0 @@

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