New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.e3b05ea to 3.1.3-preview.eb58a59

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

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