New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-mqtt-pahojs

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-mqtt-pahojs - npm Package Compare versions

Comparing version

to
1.5.1

2

package.json
{
"name": "cordova-plugin-mqtt-pahojs",
"cordova_name": "MQTT JavaScript Client",
"version": "1.5.0",
"version": "1.5.1",
"description": "Pure JavaScript MQTT client library. Wrapper for paho.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -131,7 +131,9 @@ var Paho = require('./paho_mqttws31');

var connectionParams = {
onSuccess: connectionSuccess.bind(this),
onFailure: connectionFailed.bind(this),
userName: this.userName,
password: this.password
onSuccess: connectionSuccess.bind(this),
onFailure: connectionFailed.bind(this)
};
if (this.userName && this.userName.length) {
connectionParams.userName = this.userName;
connectionParams.password = this.password;
}
if (this.keepAliveInterval) connectionParams.keepAliveInterval = this.keepAliveInterval;

@@ -213,2 +215,2 @@ if (this.timeout) connectionParams.timeout = this.timeout;

module.exports = MQTTClient;
module.exports = MQTTClient;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display