Skip to content

Commit

Permalink
Bump versions
Browse files Browse the repository at this point in the history
- homebridge v0.4.44;
- homebridge-lib v1.0.4.
  • Loading branch information
ebaauw committed Jun 29, 2018
1 parent d7cdfe2 commit 7131659
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
8 changes: 3 additions & 5 deletions lib/ZPPlatform.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function minVersion (range) {
let Service
let Characteristic
let homebridgeVersion
// let _homebridge
let _homebridge
let my

function setHomebridge (homebridge) {
Expand All @@ -57,7 +57,7 @@ function setHomebridge (homebridge) {
Service = homebridge.hap.Service
Characteristic = homebridge.hap.Characteristic
homebridgeVersion = homebridge.serverVersion
// _homebridge = homebridge
_homebridge = homebridge
}

// =======================================================================================
Expand Down Expand Up @@ -130,9 +130,7 @@ function ZPPlatform (log, config) {
this.parser = new xml2js.Parser()

process.on('exit', () => { this.log.info('exit') })
// _homebridge.on('shutdown', this.onExit.bind(this))
process.on('SIGINT', this.onExit.bind(this))
process.on('SIGTERM', this.onExit.bind(this))
_homebridge.on('shutdown', this.onExit.bind(this))
process.on('uncaughtException', (error) => {
this.log.error('uncaught exception')
this.log.error(error)
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.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
],
"main": "index.js",
"engines": {
"homebridge": "^0.4.43",
"homebridge": "^0.4.44",
"node": "^8.11.3"
},
"dependencies": {
"he": "^1.1.1",
"homebridge-lib": "^1.0.3",
"homebridge-lib": "^1.0.4",
"request": "^2.87.0",
"semver": "^5.5.0",
"sonos": "^0.22.2",
Expand Down

0 comments on commit 7131659

Please sign in to comment.