@metamask-previews/notification-controller
Advanced tools
Comparing version 3.1.3-preview.4ae7d84 to 3.1.3-preview.5736db0
@@ -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.4ae7d84", | ||
"version": "3.1.3-preview.5736db0", | ||
"description": "Manages display of notifications within MetaMask", | ||
@@ -35,3 +35,2 @@ "keywords": [ | ||
"@metamask/utils": "^8.2.0", | ||
"immer": "^9.0.6", | ||
"nanoid": "^3.1.31" | ||
@@ -38,0 +37,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
23142
198
- Removedimmer@^9.0.6