Skip to content

Commit

Permalink
export HAP type
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed May 8, 2020
2 parents 923dda7 + c5841e6 commit bce96b2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Export HAP
*/
import type { API } from "./api";
export type HAP = API["hap"];

/**
* Export API const enums
*/
Expand Down
2 changes: 1 addition & 1 deletion src/pluginManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class PluginManager {
return;
}

log.info(`Loaded plugin: ${identifier}`);
log.info(`Loaded plugin: ${identifier}@${plugin.version}`);

try {
this.currentInitializingPlugin = plugin;
Expand Down

0 comments on commit bce96b2

Please sign in to comment.