You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@metamask/wallet 12.0.0
Added
Add optional instanceOptions.remoteFeatureFlagController.getCanonicalProfileId constructor option to RemoteFeatureFlagController for threshold flag segmentation (#9325)
Add optional instanceOptions.remoteFeatureFlagController.metaMetricsFlags constructor option to RemoteFeatureFlagController to segment flags by MetaMetrics ID (#9325)
BREAKING: Wire ConfigRegistryApiService and ConfigRegistryController into the default wallet initialization (#9928)
Adds a required configRegistryApiService slot to instanceOptions with a required env (ConfigRegistryApiEnv) and optional fetch and policyOptions. fetch defaults to globalThis.fetch via ConfigRegistryApiService.
Adds an optional configRegistryController slot to instanceOptions for optional pollingInterval and fallbackConfig.
ConfigRegistryController delegates KeyringController:getState, RemoteFeatureFlagController:getState, and ConfigRegistryApiService:fetchConfig, and subscribes to KeyringController:unlock, KeyringController:lock, and RemoteFeatureFlagController:stateChange.
Consumers that pass their own root messenger and already wire ConfigRegistryApiService / ConfigRegistryController must remove their own before upgrading, or the duplicate registration will collide.