diff --git a/CHANGELOG.md b/CHANGELOG.md index 2650f56f..ad3457a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,13 @@ All notable changes to this project will be documented in this file. This projec ### Notable Changes -* Updated [HAP-Nodejs](https://github.com/homebridge/HAP-NodeJS) to v0.7.1. +* Updated [HAP-Nodejs](https://github.com/homebridge/HAP-NodeJS) to v0.7.3. * Moved to the built in Node.js crypto library for *chacha20-poly1305* encryption and decryption. This gives a 10x performance boost when doing crypto. * All debuggers are now prefixed with the library name, `HAP-NodeJS:`. * [v0.7.0 Release Notes](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.7.0) * [v0.7.1 Release Notes](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.7.1) + * [v0.7.2 Release Notes](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.7.2) + * [v0.7.3 Release Notes](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.7.3) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index fe338abc..f54a0f70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1216,9 +1216,9 @@ } }, "bonjour-hap": { - "version": "3.5.9", - "resolved": "https://registry.npmjs.org/bonjour-hap/-/bonjour-hap-3.5.9.tgz", - "integrity": "sha512-uqph9WOC1k9ZoocprvdfhS/tZmzQpMa+u64u/B2jlsZTAbK4QSzlaw/qW7lON6uCtbAZPxPWmDveMfFHlpLgIg==", + "version": "3.5.10", + "resolved": "https://registry.npmjs.org/bonjour-hap/-/bonjour-hap-3.5.10.tgz", + "integrity": "sha512-vaqa4uUST8K5rj9QGe6GaSJ+6rQ24KzgkjdyZvoTpbKBti5xL/m8H9Dp9VmPdo434OAetqU5PKAn5izucrKEBA==", "requires": { "array-flatten": "^2.1.2", "deep-equal": "^2.0.2", @@ -2507,9 +2507,9 @@ "optional": true }, "hap-nodejs": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.7.1.tgz", - "integrity": "sha512-L3+X/cVJbhkNnDx0YSO4XxT9KC19xrLWfd4c+eorVT8UTMhvROiKjKZ8533c/cx7j9+mqDFF/eZhs+9K0wN0zA==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/hap-nodejs/-/hap-nodejs-0.7.3.tgz", + "integrity": "sha512-kCPwdRizCPJk43eTSMtW2LtCh+it8rTYW7aGkhW8qFKPS4z5JQilpggvVJvdfmSy5l+L5F0/UyKwkeM/KsdrHA==", "requires": { "bonjour-hap": "~3.5.8", "debug": "^4.1.1", diff --git a/package.json b/package.json index e413ad42..1e26570a 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "dependencies": { "chalk": "^3.0.0", "commander": "5.0.0", - "hap-nodejs": "^0.7.1", + "hap-nodejs": "^0.7.3", "node-persist": "^0.0.11", "qrcode-terminal": "^0.12.0", "semver": "^7.1.3", diff --git a/src/index.ts b/src/index.ts index 3596dec9..9584caa4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,9 @@ +/** + * Export HAP + */ +import type { API } from "./api"; +export type HAP = API["hap"]; + /** * Export API const enums */ diff --git a/src/pluginManager.ts b/src/pluginManager.ts index 1d46b9fe..5ff7c852 100644 --- a/src/pluginManager.ts +++ b/src/pluginManager.ts @@ -127,7 +127,7 @@ export class PluginManager { return; } - log.info(`Loaded plugin: ${identifier}`); + log.info(`Loaded plugin: ${identifier}@${plugin.version}`); try { this.currentInitializingPlugin = plugin;