We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c652d commit e9605f1Copy full SHA for e9605f1
lib/mqtt.js
@@ -34,8 +34,8 @@ Cayenne.prototype.__proto__ = events.EventEmitter.prototype;
34
Cayenne.prototype.connect = function(callback) {
35
const self = this;
36
thingTopic = this.rootTopic;
37
-
38
- this.client = mqtt.connect("mqtt://" + broker, {
+
+ this.client = mqtt.connect("mqtt://" + this.broker, {
39
username: this.options.username,
40
password: this.options.password,
41
clientId: this.options.clientId,
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "cayennejs",
3
"description": "Cayenne API Node.JS Library",
4
- "version": "0.0.1",
+ "version": "0.0.2",
5
"homepage": "mydevices.com/cayenne",
6
"repository": "https://github.com/myDevicesIoT/cayennejs",
7
"main": "",
0 commit comments