mirror of
https://github.com/PR0M3TH3AN/bitgate.git
synced 2026-10-27 16:41:03 +00:00
The package documented itself as safe to import in Node, with registration a no-op absent a DOM. That was false: a class declaration evaluates its extends clause at module load, so `extends globalThis.HTMLElement` threw before canRegisterElements() could run. Caught by loading the deployed bundle rather than the source. Falls back to a plain base class when there is no DOM, so a server-rendering host can import the helpers and the documented promise is now true.