v0.3.2
Patch Changes
-
eb44dac: Fix
acquire()rejecting with a raw, untypedError("Unexpected lifecycle state") when called after the hook unmounts mid-download. It now rejects with a typedAbortError, consistent with every other teardown/abort path.Internally, the lifecycle store is modeled as a discriminated-union state machine, so a
readystate owns its instance by construction — eliminating the desync betweenstatusand the live instance that produced the raw throw.