mqtts
Advanced tools
Comparing version 1.4.0-beta.4 to 1.4.0
@@ -268,4 +268,6 @@ "use strict"; | ||
sendData(data) { | ||
if (!this.transport.duplex) | ||
throw new errors_1.IllegalStateError('Expected a duplex - was undefined'); | ||
if (!this.transport.duplex) { | ||
this.emitError(new errors_1.IllegalStateError('Expected a duplex - was undefined')); | ||
return; | ||
} | ||
this.transport.duplex.write(data); | ||
@@ -272,0 +274,0 @@ } |
{ | ||
"name": "mqtts", | ||
"version": "1.4.0-beta.4", | ||
"version": "1.4.0", | ||
"description": "MQTT client in Typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
174006
2641
1