Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask-previews/notification-controller

Package Overview
Dependencies
Maintainers
2
Versions
388
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask-previews/notification-controller - npm Package Compare versions

Comparing version 3.1.3-preview.4ae7d84 to 3.1.3-preview.5736db0

13

dist/NotificationController.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc