tardis-dev
Advanced tools
Comparing version 12.4.10 to 12.4.11
@@ -285,3 +285,3 @@ "use strict"; | ||
if (message.data.e === 'markPriceUpdate') { | ||
if ('r' in message.data && message.data.r !== '') { | ||
if ('r' in message.data && message.data.r !== '' && message.data.T !== 0) { | ||
// only perpetual futures have funding rate info in mark price | ||
@@ -288,0 +288,0 @@ // delivery futures sometimes send empty ('') r value |
{ | ||
"name": "tardis-dev", | ||
"version": "12.4.10", | ||
"version": "12.4.11", | ||
"engines": { | ||
@@ -55,20 +55,20 @@ "node": ">=12" | ||
"fs-extra": "^9.0.1", | ||
"got": "^11.8.0", | ||
"got": "^11.8.1", | ||
"p-map": "^4.0.0", | ||
"ws": "^7.4.0" | ||
"ws": "^7.4.2" | ||
}, | ||
"devDependencies": { | ||
"@types/debug": "^4.1.5", | ||
"@types/fs-extra": "^9.0.4", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^14.14.10", | ||
"@types/fs-extra": "^9.0.6", | ||
"@types/jest": "^26.0.19", | ||
"@types/node": "^14.14.20", | ||
"@types/ws": "^7.4.0", | ||
"cross-var": "^1.1.0", | ||
"husky": "^4.3.0", | ||
"husky": "^4.3.6", | ||
"jest": "^26.6.3", | ||
"lint-staged": "^10.5.2", | ||
"prettier": "^2.2.0", | ||
"lint-staged": "^10.5.3", | ||
"prettier": "^2.2.1", | ||
"source-map-support": "^0.5.19", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.2" | ||
"typescript": "^4.1.3" | ||
}, | ||
@@ -75,0 +75,0 @@ "lint-staged": { |
@@ -331,3 +331,3 @@ import { debug } from '../debug' | ||
if (message.data.e === 'markPriceUpdate') { | ||
if ('r' in message.data && message.data.r !== '') { | ||
if ('r' in message.data && message.data.r !== '' && message.data.T !== 0) { | ||
// only perpetual futures have funding rate info in mark price | ||
@@ -334,0 +334,0 @@ // delivery futures sometimes send empty ('') r value |
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
1048874
Updatedgot@^11.8.1
Updatedws@^7.4.2