Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/config-registry-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add `ConfigRegistryControllerStateChangedEvent` (`ConfigRegistryController:stateChanged`) to the controller's events ([#9595](https://github.com/MetaMask/core/pull/9595))

### Changed

- Bump `@metamask/utils` from `^11.9.0` to `^11.11.0` ([#9074](https://github.com/MetaMask/core/pull/9074))
Expand All @@ -16,6 +20,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump `@metamask/polling-controller` from `^16.0.6` to `^16.0.8` ([#9218](https://github.com/MetaMask/core/pull/9218), [#9349](https://github.com/MetaMask/core/pull/9349))
- Bump `@metamask/messenger` from `^1.2.0` to `^2.0.0` ([#9392](https://github.com/MetaMask/core/pull/9392))

### Removed

- **BREAKING:** Removed `ConfigRegistryControllerStateChangeEvent` type in favor of `ConfigRegistryControllerStateChangedEvent` ([#9595](https://github.com/MetaMask/core/pull/9595))

## [0.4.1]

### Changed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {
ControllerGetStateAction,
ControllerStateChangeEvent,
ControllerStateChangedEvent,
StateMetadata,
} from '@metamask/base-controller';
import type {
Expand Down Expand Up @@ -99,8 +99,8 @@ const MESSENGER_EXPOSED_METHODS = ['startPolling', 'stopPolling'] as const;
/**
* Published when the state of {@link ConfigRegistryController} changes.
*/
export type ConfigRegistryControllerStateChangeEvent =
ControllerStateChangeEvent<
export type ConfigRegistryControllerStateChangedEvent =
ControllerStateChangedEvent<
typeof controllerName,
ConfigRegistryControllerState
>;
Expand Down Expand Up @@ -133,7 +133,7 @@ type AllowedActions =
* Events that {@link ConfigRegistryControllerMessenger} exposes to other consumers.
*/
export type ConfigRegistryControllerEvents =
ConfigRegistryControllerStateChangeEvent;
ConfigRegistryControllerStateChangedEvent;

/**
* Events from other messengers that {@link ConfigRegistryControllerMessenger}
Expand Down
1 change: 0 additions & 1 deletion packages/config-registry-controller/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export type {
ConfigRegistryControllerActions,
ConfigRegistryControllerGetStateAction,
ConfigRegistryControllerEvents,
ConfigRegistryControllerStateChangeEvent,
ConfigRegistryControllerMessenger,
} from './ConfigRegistryController.js';
export type {
Expand Down
Loading