@switchbot/homebridge-switchbot 2.9.1-beta.1 → 2.9.1-beta.3
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/dist/platform.js +1 -1
- package/package.json +9 -9
- package/src/platform.ts +1 -1
package/dist/platform.js
CHANGED
|
@@ -74,7 +74,7 @@ class SwitchBotPlatform {
|
|
|
74
74
|
this.Characteristic = this.api.hap.Characteristic;
|
|
75
75
|
// this is used to track restored cached accessories
|
|
76
76
|
this.accessories = [];
|
|
77
|
-
this.version = process.env.npm_package_version || '2.
|
|
77
|
+
this.version = process.env.npm_package_version || '2.9.0';
|
|
78
78
|
this.generateHeaders = () => {
|
|
79
79
|
const t = `${Date.now()}`;
|
|
80
80
|
const nonce = (0, crypto_1.randomUUID)();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Homebridge SwitchBot",
|
|
3
3
|
"name": "@switchbot/homebridge-switchbot",
|
|
4
|
-
"version": "2.9.1-beta.
|
|
4
|
+
"version": "2.9.1-beta.3",
|
|
5
5
|
"description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
|
|
6
6
|
"author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
|
|
7
7
|
"license": "ISC",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"async-mqtt": "^2.6.3",
|
|
60
60
|
"crypto-js": "^4.1.1",
|
|
61
61
|
"fakegato-history": "^0.6.4",
|
|
62
|
-
"homebridge-lib": "^6.
|
|
62
|
+
"homebridge-lib": "^6.6.1",
|
|
63
63
|
"rxjs": "^7.8.1",
|
|
64
|
-
"undici": "^5.
|
|
64
|
+
"undici": "^5.25.4"
|
|
65
65
|
},
|
|
66
66
|
"optionalDependencies": {
|
|
67
67
|
"@abandonware/bluetooth-hci-socket": "^0.5.3-10",
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/crypto-js": "^4.1.2",
|
|
73
|
-
"@types/node": "^20.
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "^6.7.
|
|
75
|
-
"@typescript-eslint/parser": "^6.7.
|
|
76
|
-
"eslint": "^8.
|
|
73
|
+
"@types/node": "^20.8.2",
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
75
|
+
"@typescript-eslint/parser": "^6.7.4",
|
|
76
|
+
"eslint": "^8.50.0",
|
|
77
77
|
"eslint-config-prettier": "9.0.0",
|
|
78
78
|
"eslint-plugin-prettier": "5.0.0",
|
|
79
79
|
"homebridge": "^1.6.1",
|
|
80
80
|
"nodemon": "^3.0.1",
|
|
81
|
-
"npm-check-updates": "^16.14.
|
|
81
|
+
"npm-check-updates": "^16.14.4",
|
|
82
82
|
"prettier": "3.0.3",
|
|
83
|
-
"rimraf": "^5.0.
|
|
83
|
+
"rimraf": "^5.0.5",
|
|
84
84
|
"ts-node": "^10.9.1",
|
|
85
85
|
"typescript": "^5.2.2"
|
|
86
86
|
}
|
package/src/platform.ts
CHANGED
|
@@ -46,7 +46,7 @@ export class SwitchBotPlatform implements DynamicPlatformPlugin {
|
|
|
46
46
|
// this is used to track restored cached accessories
|
|
47
47
|
public readonly accessories: PlatformAccessory[] = [];
|
|
48
48
|
|
|
49
|
-
version = process.env.npm_package_version || '2.
|
|
49
|
+
version = process.env.npm_package_version || '2.9.0';
|
|
50
50
|
debugMode!: boolean;
|
|
51
51
|
platformLogging?: string;
|
|
52
52
|
|