Alex2Node/dist/esm
David d12767f9a7 bridge: the discovery answer is published through send()
The answer on <root>/discover_r called the publisher directly; a publisher
that threw or rejected was only caught by the handler meant for listeners
of "discover". It now takes the path of every device message: send()
resolves, and a failure goes to the "error" event when somebody listens.
A test covers a publish that fails, throws and rejects, with and without
an "error" listener: receive() resolves each time and "discover" is not
emitted.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-28 21:15:47 +00:00
..
compat errors: typed helpers for every documented error type 2026-09-28 21:14:55 +00:00
device messages: DoorbellPress is sent with the empty context of its page 2026-09-28 21:08:10 +00:00
messages errors: typed helpers for every documented error type 2026-09-28 21:14:55 +00:00
registry errors: typed helpers for every documented error type 2026-09-28 21:14:55 +00:00
Alex2Node.d.ts dispatch: typed handlers, respond/defer/error, automatic ErrorResponse, watchdog 2026-09-28 19:49:41 +00:00
Alex2Node.js bridge: the discovery answer is published through send() 2026-09-28 21:15:47 +00:00
dispatcher.d.ts dispatch: typed handlers, respond/defer/error, automatic ErrorResponse, watchdog 2026-09-28 19:49:41 +00:00
dispatcher.js registry: SceneController events, DoorbellEventSource, SimpleEventSource, TimeHoldController, InventoryLevelSensor, WakeOnLANController 2026-09-28 21:01:53 +00:00
index.d.ts errors: typed helpers for every documented error type 2026-09-28 21:14:55 +00:00
index.js registry: SceneController events, DoorbellEventSource, SimpleEventSource, TimeHoldController, InventoryLevelSensor, WakeOnLANController 2026-09-28 21:01:53 +00:00
package.json build: dual CJS/ESM output, ES2020 target, Node 18 floor 2026-09-28 13:58:17 +00:00
topics.d.ts registry: SceneController events, DoorbellEventSource, SimpleEventSource, TimeHoldController, InventoryLevelSensor, WakeOnLANController 2026-09-28 21:01:53 +00:00
topics.js registry: SceneController events, DoorbellEventSource, SimpleEventSource, TimeHoldController, InventoryLevelSensor, WakeOnLANController 2026-09-28 21:01:53 +00:00
transport.d.ts dispatch: typed handlers, respond/defer/error, automatic ErrorResponse, watchdog 2026-09-28 19:49:41 +00:00
transport.js dispatch: typed handlers, respond/defer/error, automatic ErrorResponse, watchdog 2026-09-28 19:49:41 +00:00