Comparing version 0.2.0 to 0.2.1
# Change Log | ||
## v0.2.1 / 2018-10-08 | ||
### Fixed | ||
- stop timer after disconnect. | ||
## v0.2.0 / 2018-10-08 | ||
@@ -4,0 +8,0 @@ ### Added |
{ | ||
"name": "joyso", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "JOYSO API client library for trading.", | ||
@@ -5,0 +5,0 @@ "main": "src/joyso.js", |
@@ -310,3 +310,3 @@ # JOYSO | ||
### disconnect() | ||
Disconnect | ||
Disconnect from JOYSO. | ||
@@ -313,0 +313,0 @@ ### subscription.unsubscribe() |
@@ -30,3 +30,2 @@ const rp = require('request-promise'); | ||
keys[this.keyIndex] = key; | ||
this.node = options.node; | ||
this.address = `0x${ethUtil.privateToAddress(key).toString('hex')}`; | ||
@@ -70,3 +69,5 @@ this.orderBooks = {}; | ||
this.cable.disconnect(); | ||
clearTimeout(this.timer); | ||
this.connected = false; | ||
delete this.accessToken; | ||
} | ||
@@ -73,0 +74,0 @@ |
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
67128
1774