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

tardis-machine

Package Overview
Dependencies
Maintainers
0
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.30.0 to 3.31.0

17

dist/ws/subscriptionsmappers.js

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

};
const bitgetMapper = {
canHandle: (message) => {
return message.op === 'subscribe';
},
map: (message) => {
return message.args.map((arg) => {
return {
channel: arg.channel,
symbols: [arg.instId]
};
});
}
};
exports.subscriptionsMappers = {

@@ -580,4 +593,6 @@ bitmex: bitmexMapper,

'okex-spreads': okexMapper,
'kucoin-futures': kucoinMapper
'kucoin-futures': kucoinMapper,
bitget: bitgetMapper,
'bitget-futures': bitgetMapper
};
//# sourceMappingURL=subscriptionsmappers.js.map

4

package.json
{
"name": "tardis-machine",
"version": "3.30.0",
"version": "3.31.0",
"engines": {

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

"is-docker": "^2.2.1",
"tardis-dev": "^13.30.0",
"tardis-dev": "^13.31.0",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.42.0",

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

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

const bitgetMapper: SubscriptionMapper = {
canHandle: (message: any) => {
return message.op === 'subscribe'
},
map: (message: any) => {
return message.args.map((arg: any) => {
return {
channel: arg.channel,
symbols: [arg.instId]
}
})
}
}
export const subscriptionsMappers: { [key in Exchange]: SubscriptionMapper } = {

@@ -665,3 +680,5 @@ bitmex: bitmexMapper,

'okex-spreads': okexMapper,
'kucoin-futures': kucoinMapper
'kucoin-futures': kucoinMapper,
bitget: bitgetMapper,
'bitget-futures': bitgetMapper
}

@@ -668,0 +685,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