Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tardis-machine

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tardis-machine - npm Package Compare versions

Comparing version 3.7.10 to 3.7.11

16

dist/ws/subscriptionsmappers.js

@@ -244,2 +244,15 @@ "use strict";

};
const bybitSpotMapper = {
canHandle: (message) => {
return message.event === 'sub';
},
map: (message) => {
return [
{
channel: message.topic,
symbols: [message.symbol]
}
];
}
};
// https://api.hitbtc.com/#subscribe-to-trades

@@ -472,4 +485,5 @@ const hitBtcMapper = {

'star-atlas': serumMaper,
mango: serumMaper
mango: serumMaper,
'bybit-spot': bybitSpotMapper
};
//# sourceMappingURL=subscriptionsmappers.js.map

4

package.json
{
"name": "tardis-machine",
"version": "3.7.10",
"version": "3.7.11",
"engines": {

@@ -62,3 +62,3 @@ "node": ">=12"

"is-docker": "^2.2.1",
"tardis-dev": "^13.4.11",
"tardis-dev": "^13.4.12",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.10.0",

@@ -65,0 +65,0 @@ "yargs": "^17.5.1"

@@ -282,2 +282,17 @@ import { Exchange, Filter } from 'tardis-dev'

const bybitSpotMapper: SubscriptionMapper = {
canHandle: (message: any) => {
return message.event === 'sub'
},
map: (message: any) => {
return [
{
channel: message.topic,
symbols: [message.symbol]
}
]
}
}
// https://api.hitbtc.com/#subscribe-to-trades

@@ -540,3 +555,4 @@ const hitBtcMapper: SubscriptionMapper = {

'star-atlas': serumMaper,
mango: serumMaper
mango: serumMaper,
'bybit-spot': bybitSpotMapper
}

@@ -543,0 +559,0 @@

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