homebridge-flume 1.2.3 → 1.2.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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to homebridge-flume will be documented in this file.
4
4
 
5
+ ## 1.2.4 (2022-01-13)
6
+
7
+ ### Changed
8
+
9
+ - Bump `node` recommended versions to v14.18.3 or v16.13.2
10
+
11
+ ### Fixed
12
+
13
+ - Plugin crash for older versions of Homebridge
14
+
5
15
  ## 1.2.3 (2022-01-03)
6
16
 
7
17
  ### Changed
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  Homebridge plugin to integrate Flume devices into HomeKit
9
9
 
10
10
  [![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
11
- [![hoobs-certified](https://badgen.net/badge/HOOBS/certified/yellow)](https://plugins.hoobs.org/plugin/homebridge-thermobit)
11
+ [![hoobs-certified](https://badgen.net/badge/HOOBS/certified/yellow)](https://plugins.hoobs.org/plugin/homebridge-thermobit)
12
12
  [![npm](https://img.shields.io/npm/v/homebridge-flume/latest?label=latest)](https://www.npmjs.com/package/homebridge-flume)
13
13
  [![npm](https://img.shields.io/npm/v/homebridge-flume/beta?label=beta)](https://github.com/bwp91/homebridge-flume/wiki/Beta-Version)
14
14
  [![npm](https://img.shields.io/npm/dt/homebridge-flume)](https://www.npmjs.com/package/homebridge-flume)
package/lib/index.js CHANGED
@@ -43,7 +43,7 @@ class FlumePlatform {
43
43
  plugin.version,
44
44
  process.version,
45
45
  api.serverVersion,
46
- api.hap.HAPLibraryVersion(),
46
+ api.hap.HAPLibraryVersion ? api.hap.HAPLibraryVersion() : '?',
47
47
  config.plugin_map
48
48
  ? ' | HOOBS v3'
49
49
  : require('os')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-flume",
3
3
  "alias": "Flume",
4
- "version": "1.2.3",
4
+ "version": "1.2.4",
5
5
  "author": {
6
6
  "name": "Ben Potter",
7
7
  "email": "bwp91@icloud.com"
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "engines": {
26
26
  "homebridge": "^1.3.9",
27
- "node": "^14.18.2 || ^16.13.1"
27
+ "node": "^14.18.3 || ^16.13.2"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",