- Guarded observer setup when
MutationObserveris unavailable, while still running an immediate DOM check. - Excluded
*.test.tsfrom TypeScript build output to stop emitting test artifacts intodist. - Fixed package metadata and publish list (
licensekey andLICENSEfilename). - Restricted published
distartifacts to runtime and declaration entrypoints only.
- Replaced per-element
readyboolean property (stamped directly onto DOM nodes) with aWeakSet<Element>stored per listener. This prevents stale deduplication when the same element node is reused across re-renders, and avoids polluting DOM elements with custom properties.