@metamask-previews/notification-controller
Advanced tools
Comparing version 3.1.3-preview.e3b05ea to 3.1.3-preview.eb58a59
@@ -1,4 +0,3 @@ | ||
import type { RestrictedControllerMessenger } from '@metamask/base-controller'; | ||
import type { ControllerGetStateAction, ControllerStateChangeEvent, RestrictedControllerMessenger } from '@metamask/base-controller'; | ||
import { BaseControllerV2 } from '@metamask/base-controller'; | ||
import type { Patch } from 'immer'; | ||
/** | ||
@@ -27,10 +26,4 @@ * @typedef NotificationControllerState | ||
declare const name = "NotificationController"; | ||
export declare type NotificationControllerStateChange = { | ||
type: `${typeof name}:stateChange`; | ||
payload: [NotificationControllerState, Patch[]]; | ||
}; | ||
export declare type GetNotificationControllerState = { | ||
type: `${typeof name}:getState`; | ||
handler: () => NotificationControllerState; | ||
}; | ||
export declare type NotificationControllerStateChange = ControllerStateChangeEvent<typeof name, NotificationControllerState>; | ||
export declare type GetNotificationControllerState = ControllerGetStateAction<typeof name, NotificationControllerState>; | ||
export declare type ShowNotification = { | ||
@@ -37,0 +30,0 @@ type: `${typeof name}:show`; |
{ | ||
"name": "@metamask-previews/notification-controller", | ||
"version": "3.1.3-preview.e3b05ea", | ||
"version": "3.1.3-preview.eb58a59", | ||
"description": "Manages display of notifications within MetaMask", | ||
@@ -27,4 +27,5 @@ "keywords": [ | ||
"publish:preview": "yarn npm publish --tag preview", | ||
"test": "jest", | ||
"test": "jest --reporters=jest-silent-reporter", | ||
"test:clean": "jest --clearCache", | ||
"test:verbose": "jest --verbose", | ||
"test:watch": "jest --watch" | ||
@@ -34,8 +35,7 @@ }, | ||
"@metamask/base-controller": "^3.2.3", | ||
"@metamask/utils": "^8.1.0", | ||
"immer": "^9.0.6", | ||
"@metamask/utils": "^8.2.0", | ||
"nanoid": "^3.1.31" | ||
}, | ||
"devDependencies": { | ||
"@metamask/auto-changelog": "^3.4.0", | ||
"@metamask/auto-changelog": "^3.4.3", | ||
"@types/jest": "^27.4.1", | ||
@@ -42,0 +42,0 @@ "deepmerge": "^4.2.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3
23142
198
- Removedimmer@^9.0.6
Updated@metamask/utils@^8.2.0