v0.1.1
Bug Fixes
-
SSR safety: Both
MfeStateServiceandConfigRepositoryServicenow guard alllocalStorageaccess behind atypeof localStorage !== 'undefined'check, preventingReferenceErrorin SSR / non-browser environments.BroadcastChannelwas already guarded;localStoragewas not. -
Echo-loop guard in
ConfigRepositoryService: Replaced thequeueMicrotask-based inbound-keySetwith a value-basedinboundValuesMap— consistent withMfeStateServiceand immune to microtask timing races (e.g. when used with Angular'sTestBed.flushEffects()). -
Removed unused peer dependency:
@angular/commonwas listed as a peer dependency but never imported. Removed to avoid spurious install warnings for consumers.
Tooling
- Added
vitest.config.tsandtest-setup.tsso the test suite can be run directly withnpx vitest runwithout requiring Angular CLI.
Full Changelog
https://github.com/dever-labs/ngx-mfe-broker/blob/main/CHANGELOG.md