@binance/connector
Advanced tools
Comparing version 3.0.0-rc.2 to 3.0.0
{ | ||
"name": "@binance/connector", | ||
"version": "3.0.0-rc.2", | ||
"version": "3.0.0", | ||
"description": "This is a lightweight library that works as a connector to the Binance public API.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -73,3 +73,3 @@ # Binance connector in Nodejs | ||
privateKey, | ||
privateKeyPassphrase // only used for encrypted key | ||
privateKeyPassphrase, // only used for encrypted key | ||
privateKeyAlgo | ||
@@ -76,0 +76,0 @@ }) |
@@ -15,4 +15,3 @@ 'use strict' | ||
isConnected () { | ||
if (!this.wsConnection.ws || this.wsConnection.ws.readyState !== WebSocketClient.OPEN) return false | ||
return true | ||
return !(!this.wsConnection.ws || this.wsConnection.ws.readyState !== WebSocketClient.OPEN) | ||
} | ||
@@ -73,3 +72,2 @@ | ||
* | ||
* @param {WebSocketClient} wsConnection - websocket client instance created by ws package | ||
*/ | ||
@@ -76,0 +74,0 @@ disconnect () { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
219070
6471