Alex2Node/dist/esm
David e0fe9d2812 bridge: subscribe to discover and +/alexaDirective only
The bridge subscribed to <root>/#, so the broker sent back every discover_r, alexaResponce and changeReport
the bridge published, and the backend's <endpointId>/alexaDirective_e. It now subscribes to <root>/discover
and <root>/+/alexaDirective, both named in src/topics.ts; a directive topic is recognised by the root and the
last segment instead of by counting three segments.
The test reads the subscriptions from the broker, publishes seven other topics under the root and one
directive for each of two endpoints: the bridge receives the two directives and the discovery request,
nothing else. Tests: 148 -> 150 (the count in the body of 6789a1a, 108 -> 113, should read 143 -> 148).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-28 19:36:09 +00:00
..
compat bridge: publish through a Publisher; devices no longer hold the broker client 2026-09-28 19:34:39 +00:00
device bridge: publish through a Publisher; devices no longer hold the broker client 2026-09-28 19:34:39 +00:00
messages messages: pure builders for every event the bridge sends 2026-09-28 19:28:05 +00:00
registry messages: pure builders for every event the bridge sends 2026-09-28 19:28:05 +00:00
Alex2Node.d.ts bridge: subscribe to discover and +/alexaDirective only 2026-09-28 19:36:09 +00:00
Alex2Node.js bridge: subscribe to discover and +/alexaDirective only 2026-09-28 19:36:09 +00:00
index.d.ts bridge: publish through a Publisher; devices no longer hold the broker client 2026-09-28 19:34:39 +00:00
index.js bridge: publish through a Publisher; devices no longer hold the broker client 2026-09-28 19:34:39 +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 bridge: subscribe to discover and +/alexaDirective only 2026-09-28 19:36:09 +00:00
topics.js bridge: subscribe to discover and +/alexaDirective only 2026-09-28 19:36:09 +00:00
transport.d.ts bridge: publish through a Publisher; devices no longer hold the broker client 2026-09-28 19:34:39 +00:00
transport.js bridge: publish through a Publisher; devices no longer hold the broker client 2026-09-28 19:34:39 +00:00