tardis-dev
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -14,6 +14,5 @@ "use strict"; | ||
this.provideManualSnapshots = async (filters, snapshotsBuffer, shouldCancel) => { | ||
// does not work currently due to https://github.com/nodejs/node/issues/27711 | ||
const doesNotWorkInNode12 = true; | ||
// does not work currently on node v12 due to https://github.com/nodejs/node/issues/27711 | ||
const orderBookFilter = filters.find(f => f.channel === 'diff_order_book'); | ||
if (!orderBookFilter || doesNotWorkInNode12) { | ||
if (!orderBookFilter) { | ||
return; | ||
@@ -20,0 +19,0 @@ } |
{ | ||
"name": "tardis-dev", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=12" |
@@ -29,3 +29,3 @@ # tardis-dev | ||
[![Try this code live on RunKit](https://img.shields.io/badge/-Try%20this%20code%20live%20on%20RunKit-c?color=5558be)](https://runkit.com/thad/tardis-dev-stream-real-time-market-data) | ||
[![Try this code live on RunKit](https://img.shields.io/badge/-Try%20this%20code%20live%20on%20RunKit-c?color=5558be)](https://runkit.com/thad/tardis-dev-stream-market-data-normalized) | ||
@@ -37,7 +37,7 @@ <br/> | ||
- [real-time streaming](https://docs.tardis.dev/api/node-js#tardis-streamnormalized-options-normalizers) of tick-level market data with unified API for connecting directly to exchanges public WebSocket APIs without any intermediary/3rd party proxy | ||
- [real-time streaming](https://docs.tardis.dev/api/node-js#streaming-real-time-market-data) of tick-level market data with unified API for connecting directly to exchanges public WebSocket APIs without any intermediary/3rd party proxy | ||
<br/> | ||
- historical tick-level [market data replay](https://docs.tardis.dev/api/node-js#tardis-replaynormalized-options-normalizers) backed by [tardis.dev HTTP API](https://docs.tardis.dev/api/http#data-feeds-exchange) - includes full order book depth snapshots plus incremental updates, tick-by-tick trades, historical open interest, funding, index, mark prices, liquidations and more | ||
- historical tick-level [market data replay](https://docs.tardis.dev/api/node-js#replaying-historical-market-data) backed by [tardis.dev HTTP API](https://docs.tardis.dev/api/http#data-feeds-exchange) — includes full order book depth snapshots plus incremental updates, tick-by-tick trades, historical open interest, funding, index, mark prices, liquidations and more | ||
@@ -44,0 +44,0 @@ <br/> |
@@ -33,6 +33,6 @@ import got from 'got' | ||
protected provideManualSnapshots = async (filters: Filter<string>[], snapshotsBuffer: any[], shouldCancel: () => boolean) => { | ||
// does not work currently due to https://github.com/nodejs/node/issues/27711 | ||
const doesNotWorkInNode12 = true | ||
// does not work currently on node v12 due to https://github.com/nodejs/node/issues/27711 | ||
const orderBookFilter = filters.find(f => f.channel === 'diff_order_book') | ||
if (!orderBookFilter || doesNotWorkInNode12) { | ||
if (!orderBookFilter) { | ||
return | ||
@@ -39,0 +39,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
508718
8800