homebridge-lib 7.3.2 → 8.0.0-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/Platform.js CHANGED
@@ -296,7 +296,7 @@ class Platform extends Delegate {
296
296
  }
297
297
  setTimeout(() => {
298
298
  this._beat(beat)
299
- }, 1000 - drift)
299
+ }, drift < 1000 ? 1000 - drift : 1)
300
300
 
301
301
  if (beat % context.saveInterval === 30) {
302
302
  this._flushCachedAccessories()
@@ -416,14 +416,14 @@ class Platform extends Delegate {
416
416
  )
417
417
  })
418
418
  .on('response', (response) => {
419
- this.vdebug(
420
- 'npm registry: request %d: response: %j', response.request.id,
421
- response.body
422
- )
423
419
  this.debug(
424
420
  'npm registry: request %d: %d %s', response.request.id,
425
421
  response.statusCode, response.statusMessage
426
422
  )
423
+ this.vdebug(
424
+ 'npm registry: request %d: response: %j', response.request.id,
425
+ response.body
426
+ )
427
427
  })
428
428
  }
429
429
  const { body } = await this.npmRegistry.get(
package/lib/UiServer.js CHANGED
@@ -140,13 +140,13 @@ class UiServer extends HomebridgePluginUiServer {
140
140
  }
141
141
  })
142
142
  .on('response', (response) => {
143
- this.vdebug(
144
- 'request %d: response: %j', response.request.id, response.body
145
- )
146
143
  this.debug(
147
144
  'request %d: %s %s', response.request.id,
148
145
  response.statusCode, response.statusMessage
149
146
  )
147
+ this.vdebug(
148
+ 'request %d: response: %j', response.request.id, response.body
149
+ )
150
150
  })
151
151
  }
152
152
  return this.clients[uiPort]
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "ebaauw"
7
7
  ],
8
8
  "license": "Apache-2.0",
9
- "version": "7.3.2",
9
+ "version": "8.0.0-1",
10
10
  "keywords": [
11
11
  "homekit",
12
12
  "homebridge"
@@ -29,12 +29,12 @@
29
29
  "upnp": "cli/upnp.js"
30
30
  },
31
31
  "engines": {
32
- "homebridge": "^1.11.2||^2.0.0-beta",
33
- "node": "24.14.0||^24||^22||^20"
32
+ "homebridge": "^1.11.4||^2.0.0-beta",
33
+ "node": "24.14.1||^24||^22||^20"
34
34
  },
35
35
  "dependencies": {
36
- "@homebridge/plugin-ui-utils": "~2.2.1",
37
- "hb-lib-tools": "~2.2.18"
36
+ "@homebridge/plugin-ui-utils": "~2.2.3",
37
+ "hb-lib-tools": "~3.0.0-1"
38
38
  },
39
39
  "scripts": {
40
40
  "prepare": "standard && rm -rf out && jsdoc -c jsdoc.json",