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

react-hook-notification

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hook-notification - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

2

dist/main/types/notificationHook.d.ts
import { NotificationProps } from '../../presentation/types/Notification';
export declare type UseNotificationParams = Omit<NotificationProps, 'title' | 'text' | 'type' | 'id' | 'onRemove' | 'amount'>;
export declare type NotificationParams = Omit<NotificationProps, 'onRemove' | 'type' | 'id'>;
export declare type NotificationParams = Omit<NotificationProps, 'onRemove' | 'type' | 'id' | 'amount'>;
export declare type UseNotificationHook = (hookParams?: UseNotificationParams) => {

@@ -5,0 +5,0 @@ default(notificationParams: NotificationParams): void;

@@ -5,3 +5,3 @@ import React from 'react';

isVisible: boolean;
notifications: Omit<NotificationProps, 'onRemove'>[];
notifications: Omit<NotificationProps, 'onRemove' | 'amount'>[];
position: NotificationPosition;

@@ -8,0 +8,0 @@ onRemove(id: string): void;

import { NotificationProps } from '../../types/Notification';
declare type NotificationData = Omit<NotificationProps, 'onRemove'>;
declare type NotificationData = Omit<NotificationProps, 'onRemove' | 'amount'>;
declare type UseControllerHook = () => {

@@ -4,0 +4,0 @@ onRemove(id: string): void;

import { Dispatch, SetStateAction } from 'react';
import { NotificationProps } from '../types/Notification';
export declare type NotificationData = Omit<NotificationProps, 'onRemove'>;
export declare type NotificationData = Omit<NotificationProps, 'onRemove' | 'amount'>;
export declare class NotificationStore {

@@ -5,0 +5,0 @@ private static instance;

{
"version": "2.0.5",
"version": "2.0.6",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/main/index.js",

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