JavaScript websocket client for Home Assistant
OTHER License
Bot releases are visible (Hide)
Published by release-drafter[bot] over 4 years ago
Remove modern export types that was confusing older node versions #113
Published by release-drafter[bot] over 4 years ago
Published by release-drafter[bot] over 4 years ago
Published by balloob over 4 years ago
Migrate from microbundle
to tsc
to create the module version and use rollup to create the UMD version. Our module build will now not be bundled up but just be ES2017 code using native async/await. It's up to consumers of this package to decide on how to deal with this.
Tests are also run against the transpiled build so we're testing against prod builds.
To make our module build browser compatible, we're now requiring all import specifiers to include .js
.
Dropped Object.assign
too in favor of ...
Published by release-drafter[bot] over 4 years ago
Published by release-drafter[bot] over 4 years ago
safe_mode
to core config typePublished by release-drafter[bot] about 5 years ago
Published by release-drafter[bot] over 5 years ago
Published by release-drafter[bot] over 5 years ago
Published by release-drafter[bot] over 5 years ago
Published by balloob over 5 years ago
Published by release-drafter[bot] over 5 years ago
Published by release-drafter[bot] over 5 years ago
Published by release-drafter[bot] over 5 years ago
Published by release-drafter[bot] over 5 years ago
NodeJS integration has been greatly simplified by allowing the WebSocket constructor to be passed in.
const WebSocket = require("ws");
createConnection({
WebSocket
});
Published by release-drafter[bot] over 5 years ago
This release adds support for websocket subscriptions via PR #85 via the new function connection.subscribeMessage
. This function is the generalized version of the logic that powers connection.subscribeEvents
.
See https://github.com/home-assistant/home-assistant/pull/21696 for an example on how to implement a websocket subscription endpoint.
Published by release-drafter[bot] almost 6 years ago
Published by release-drafter[bot] almost 6 years ago
3.2.3 skipped because publish went wrong.
Published by release-drafter[bot] almost 6 years ago
Published by release-drafter[bot] almost 6 years ago