hb-nb-tools 1.0.0 → 1.1.0

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 +3 -3
package/lib/NbClient.js CHANGED
@@ -143,7 +143,7 @@ class NbClient extends HttpClient {
143
143
  this._params.token = response.body.token
144
144
  return response.body.token
145
145
  }
146
- throw new Error('Nuki bridge button not pressed')
146
+ return null
147
147
  }
148
148
 
149
149
  async info () { return this._get('/info') }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Homebridge NB Command-Line Tools",
4
4
  "author": "Erik Baauw",
5
5
  "license": "Apache-2.0",
6
- "version": "1.0.0",
6
+ "version": "1.1.0",
7
7
  "keywords": [
8
8
  "nuki",
9
9
  "smart-lock",
@@ -14,10 +14,10 @@
14
14
  "nb": "cli/nb.js"
15
15
  },
16
16
  "engines": {
17
- "node": "^18.15.0"
17
+ "node": "^18.16.0"
18
18
  },
19
19
  "dependencies": {
20
- "hb-lib-tools": "~1.0.6"
20
+ "hb-lib-tools": "~1.0.8"
21
21
  },
22
22
  "optionalDependencies": {
23
23
  "sodium-plus": "~0.9.0"