binance-api-node
Advanced tools
Comparing version 0.10.46 to 0.10.47
@@ -31,3 +31,6 @@ "use strict"; | ||
rws.addEventListener('open', function () { | ||
rws._ws.on('ping', pong); | ||
// .on only works in node env, not in browser. https://github.com/Ashlar/binance-api-node/issues/404#issuecomment-833668033 | ||
if (rws._ws.on) { | ||
rws._ws.on('ping', pong); | ||
} | ||
}); | ||
@@ -34,0 +37,0 @@ return rws; |
{ | ||
"name": "binance-api-node", | ||
"version": "0.10.46", | ||
"version": "0.10.47", | ||
"description": "A node API wrapper for Binance", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
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
184451
2707