tendermint
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -72,2 +72,5 @@ 'use strict'; | ||
}); | ||
this.ws.on('close', function () { | ||
return _this2.emit('error', Error('websocket disconnected')); | ||
}); | ||
this.ws.on('data', function (data) { | ||
@@ -74,0 +77,0 @@ data = JSON.parse(data); |
{ | ||
"name": "tendermint", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A light client which talks to your Tendermint node over RPC", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -50,2 +50,3 @@ 'use strict' | ||
this.ws.on('error', (err) => this.emit('error', err)) | ||
this.ws.on('close', () => this.emit('error', Error('websocket disconnected'))) | ||
this.ws.on('data', (data) => { | ||
@@ -52,0 +53,0 @@ data = JSON.parse(data) |
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
73435
252