Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump @zwave-js/server@1.23.0 #2680

Merged
merged 1 commit into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions lib/ZwaveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {
}

if (this.server) {
this.server.destroy()
await this.server.destroy()
}

if (this._driver) {
Expand Down Expand Up @@ -2677,7 +2677,11 @@ class ZwaveClient extends TypedEventEmitter<ZwaveClientEventCallbacks> {

// start server only when driver is ready. Fixes #602
if (this.cfg.serverEnabled && this.server) {
this.server.start()
this.server.start().catch((error) => {
logger.error(
`Failed to start zwave-js server: ${error.message}`
)
})
}

logger.info(`Scanning network with homeid: ${homeHex}`)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"@jamescoyle/vue-icon": "^0.1.2",
"@kvaster/zwavejs-prom": "^0.0.2",
"@mdi/js": "7.0.96",
"@zwave-js/server": "^1.22.1",
"@zwave-js/server": "^1.23.0",
"@zwave-js/winston-daily-rotate-file": "^4.5.6-1",
"ansi_up": "^5.1.0",
"app-root-path": "^3.0.0",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3362,19 +3362,19 @@ __metadata:
languageName: node
linkType: hard

"@zwave-js/server@npm:^1.22.1":
version: 1.22.1
resolution: "@zwave-js/server@npm:1.22.1"
"@zwave-js/server@npm:^1.23.0":
version: 1.23.0
resolution: "@zwave-js/server@npm:1.23.0"
dependencies:
"@homebridge/ciao": ^1.1.3
minimist: ^1.2.5
ws: ^8.0.0
peerDependencies:
zwave-js: ^10.0.1
zwave-js: ^10.2.0
bin:
zwave-client: dist/bin/client.js
zwave-server: dist/bin/server.js
checksum: 2af72117efe7b2a005a4d6a6251414af7c2016e9e593d17e7e99a02418e5f6e0b1f5fcd5001d0631de1c228c9ba401b3d812cd828f79d942ff09c03097c1e7c8
checksum: 5a3f404f5b51f0ddacee3e5717a9f6be59f0aa55acdef7faeabf64cf8cb90f6d37a910a27db8df0c01f68f405c58396e5894e34c03639eeb168305645230968c
languageName: node
linkType: hard

Expand Down Expand Up @@ -16742,7 +16742,7 @@ __metadata:
"@typescript-eslint/eslint-plugin": ^5.32.0
"@typescript-eslint/parser": ^5.32.0
"@vue/compiler-sfc": ^3.2.37
"@zwave-js/server": ^1.22.1
"@zwave-js/server": ^1.23.0
"@zwave-js/winston-daily-rotate-file": ^4.5.6-1
ansi_up: ^5.1.0
app-root-path: ^3.0.0
Expand Down