@kronos-integration/service-mqtt 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/service-mqtt",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@kronos-integration/service": "^11.2.13",
40
- "model-attributes": "^4.2.6",
40
+ "model-attributes": "^4.3.0",
41
41
  "mqtt": "^5.13.2"
42
42
  },
43
43
  "devDependencies": {
@@ -41,7 +41,8 @@ export class ServiceMQTT extends Service {
41
41
  type: "integer"
42
42
  },
43
43
  username: {
44
- type: "string"
44
+ type: "string",
45
+ private: true
45
46
  },
46
47
  password: {
47
48
  type: "string",
@@ -72,8 +73,6 @@ export class ServiceMQTT extends Service {
72
73
  .filter(key => this[key] !== undefined)
73
74
  .map(key => [key, this[key]])
74
75
  );
75
-
76
- //return { username: this.username, password: this.password };
77
76
  }
78
77
 
79
78
  get topics() {
@@ -97,7 +96,6 @@ export class ServiceMQTT extends Service {
97
96
  async _start() {
98
97
  await super._start();
99
98
 
100
- console.log(this.options);
101
99
  const client = connect(this.url, this.options);
102
100
 
103
101
  this.client = client;