cordova-plugin-mqtt-pahojs
Advanced tools
Comparing version 1.5.3 to 1.5.4
{ | ||
"name": "cordova-plugin-mqtt-pahojs", | ||
"cordova_name": "MQTT JavaScript Client", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"description": "Pure JavaScript MQTT client library. Wrapper for paho.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -44,4 +44,4 @@ var Paho = require('./paho_mqttws31'); | ||
if (this.connection) { | ||
this.connection.onConnectionLost = null; | ||
this.connection.onMessageArrived = null; | ||
this.connection.onConnectionLost = function(){console.debug('stale onConnectionLost called');}; | ||
this.connection.onMessageArrived = function(){console.debug('stale onMessageArrived called');}; | ||
} | ||
@@ -48,0 +48,0 @@ this.connection = new Paho.MQTT.Client(this.uri, this.clientId); |
96705