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.
- package/lib/NbClient.js +1 -1
- 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 }
|