Changelog
This documentation targets @waylocate/embed@0.2.1 speaking wire protocol waylocate: 1.
All notable changes to @waylocate/embed are documented here. The format follows
Keep a Changelog, and this package follows
semantic versioning on its JavaScript API.
The wire protocol is versioned separately by the waylocate field on every
message and changes far less often. Each release notes the protocol it speaks
and, where relevant, the minimum map build a feature needs.
Unreleased
0.2.1 — 2026-08-14
Patch release. Speaks protocol v1.
Fixed
- Documentation and packaging fixes ahead of public docs site launch.
0.2.0 — 2026-08-14
Transport-agnostic Tier 1 API. Speaks protocol v1.
Added
mount()— transport-free entry point. Pass a container and campus intent; the SDK creates the embed surface, connects, and returns aWaylocateMaphandle. SupportsAbortSignalfor StrictMode-safe teardown.@waylocate/embed/react—<CampusMap>component anduseCampusMap()hook. Renders a single container div; props forbuilding,floor, androomsync declaratively after connect.@waylocate/embed/protocolsubpath for wire protocol and transport internals.docs/embed/API_STABILITY.md— three-tier stability contract.surface.test.ts— snapshots Tier 1 exports and rejects transport vocabulary.
Changed
- Root export surface slimmed to Tier 1 + Tier 2 (
mount,connect,buildEmbedUrl,WaylocateMap, payload types, errors). Wire helpers moved to/protocol. - Verify script smoke-tests all subpaths under bundler and Node16 resolution.
Notes
- Moving internals to
/protocolis breaking for anyone importingcreateEmbedHostClientfrom the root. Do that before1.0.0while the package is still on thenextdist-tag. - IIFE global (
WaylocateEmbed) exportsmountinstead of protocol internals.
0.1.0 — 2026-08-14
First release. Speaks protocol v1.
Added
connect()— typed handle withhost.hellohandshake race.buildEmbedUrl()— iframesrcbuilder withhostvalidation.- Typed command namespaces, camera paths, self-managing
on()/off(). WaylocateError,createEmbedHostClient(), ESM/CJS/IIFE builds.