hb-nb-tools 2.0.25 → 2.1.1

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.
Files changed (2) hide show
  1. package/lib/NbClient.js +1 -1
  2. package/package.json +1 -1
package/lib/NbClient.js CHANGED
@@ -142,7 +142,7 @@ class NbClient extends HttpClient {
142
142
  }
143
143
 
144
144
  get id () { return this._params.id }
145
- get name () { return this._params.hostname }
145
+ get name () { return this._params.id == null ? this._params.hostname : 'Nuki Bridge ' + this._params.id }
146
146
  get encryption () { return this._params.encryption }
147
147
  get firmware () { return this._params.firmware }
148
148
  get token () { return this._params.token }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "ebaauw"
7
7
  ],
8
8
  "license": "Apache-2.0",
9
- "version": "2.0.25",
9
+ "version": "2.1.1",
10
10
  "type": "module",
11
11
  "exports": {
12
12
  "./*": "./lib/*.js"