Payload shape for the four module.* lifecycle events emitted by
HotReloadApi. versionId is the truncated sha256 of the module
source bytes at load time; null for Unloaded. previousVersionId
carries the version that this transition replaced, or null when
there was no prior. exports is the set of class export names from
the new module; empty for Unloaded / ReloadFailed. error is
present only on ReloadFailed.
Payload shape for the four
module.*lifecycle events emitted byHotReloadApi.versionIdis the truncated sha256 of the module source bytes at load time;nullforUnloaded.previousVersionIdcarries the version that this transition replaced, ornullwhen there was no prior.exportsis the set of class export names from the new module; empty forUnloaded/ReloadFailed.erroris present only onReloadFailed.