@metamask-previews/notification-controller
Advanced tools
Comparing version 3.1.3-preview.eb58a59 to 4.0.0-preview.3fbb6b41
@@ -9,2 +9,8 @@ # Changelog | ||
## [4.0.0] | ||
### Changed | ||
- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063)) | ||
- This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more. | ||
- Bump `@metamask/utils` to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957)) | ||
## [3.1.3] | ||
@@ -54,3 +60,4 @@ ### Changed | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@3.1.3...HEAD | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@4.0.0...HEAD | ||
[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@3.1.3...@metamask/notification-controller@4.0.0 | ||
[3.1.3]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@3.1.2...@metamask/notification-controller@3.1.3 | ||
@@ -57,0 +64,0 @@ [3.1.2]: https://github.com/MetaMask/core/compare/@metamask/notification-controller@3.1.1...@metamask/notification-controller@3.1.2 |
import type { ControllerGetStateAction, ControllerStateChangeEvent, RestrictedControllerMessenger } from '@metamask/base-controller'; | ||
import { BaseControllerV2 } from '@metamask/base-controller'; | ||
import { BaseController } from '@metamask/base-controller'; | ||
/** | ||
@@ -49,3 +49,3 @@ * @typedef NotificationControllerState | ||
*/ | ||
export declare class NotificationController extends BaseControllerV2<typeof name, NotificationControllerState, NotificationControllerMessenger> { | ||
export declare class NotificationController extends BaseController<typeof name, NotificationControllerState, NotificationControllerMessenger> { | ||
/** | ||
@@ -52,0 +52,0 @@ * Creates a NotificationController instance. |
@@ -17,3 +17,3 @@ "use strict"; | ||
*/ | ||
class NotificationController extends base_controller_1.BaseControllerV2 { | ||
class NotificationController extends base_controller_1.BaseController { | ||
/** | ||
@@ -20,0 +20,0 @@ * Creates a NotificationController instance. |
{ | ||
"name": "@metamask-previews/notification-controller", | ||
"version": "3.1.3-preview.eb58a59", | ||
"version": "4.0.0-preview.3fbb6b41", | ||
"description": "Manages display of notifications within MetaMask", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@metamask/base-controller": "^3.2.3", | ||
"@metamask/base-controller": "^4.0.0", | ||
"@metamask/utils": "^8.2.0", | ||
@@ -36,0 +36,0 @@ "nanoid": "^3.1.31" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23624
+ Added@metamask/base-controller@4.1.1(transitive)
- Removed@metamask/base-controller@3.2.3(transitive)