Socket
Socket
Sign inDemoInstall

joyso

Package Overview
Dependencies
98
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

4

CHANGELOG.md
# Change Log
## v0.2.1 / 2018-10-08
### Fixed
- stop timer after disconnect.
## v0.2.0 / 2018-10-08

@@ -4,0 +8,0 @@ ### Added

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc