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

@types/react-native-push-notification

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-native-push-notification - npm Package Compare versions

Comparing version 8.1.1 to 8.1.2

12

react-native-push-notification/index.d.ts

@@ -34,3 +34,3 @@ // Type definitions for react-native-push-notification 8.1

onRegister?: ((token: { os: string; token: string }) => void) | undefined;
onNotification?: ((notification: Omit<ReceivedNotification, 'userInfo'>) => void) | undefined;
onNotification?: ((notification: Omit<ReceivedNotification, "userInfo">) => void) | undefined;
onAction?: ((notification: ReceivedNotification) => void) | undefined;

@@ -64,5 +64,5 @@ onRegistrationError?: ((error: any) => void) | undefined;

ongoing?: boolean | undefined;
priority?: 'max' | 'high' | 'low' | 'min' | 'default' | undefined;
visibility?: 'private' | 'public' | 'secret' | undefined;
importance?: 'default' | 'max' | 'high' | 'low' | 'min' | 'none' | 'unspecified' | undefined;
priority?: "max" | "high" | "low" | "min" | "default" | undefined;
visibility?: "private" | "public" | "secret" | undefined;
importance?: "default" | "max" | "high" | "low" | "min" | "none" | "unspecified" | undefined;
ignoreInForeground?: boolean | undefined;

@@ -94,3 +94,3 @@ shortcutId?: string | undefined;

number?: string | number | undefined;
repeatType?: 'week' | 'day' | 'hour' | 'minute' | 'time' | undefined;
repeatType?: "week" | "day" | "hour" | "minute" | "time" | undefined;
repeatTime?: number | undefined;

@@ -149,3 +149,3 @@ }

localNotificationSchedule(notification: PushNotificationScheduleObject): void;
requestPermissions(permissions?: Array<'alert' | 'badge' | 'sound'>): Promise<PushNotificationPermissions>;
requestPermissions(permissions?: Array<"alert" | "badge" | "sound">): Promise<PushNotificationPermissions>;
subscribeToTopic(topic: string): void;

@@ -152,0 +152,0 @@ unsubscribeFromTopic(topic: string): void;

{
"name": "@types/react-native-push-notification",
"version": "8.1.1",
"version": "8.1.2",
"description": "TypeScript definitions for react-native-push-notification",

@@ -43,4 +43,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-push-notification",

"dependencies": {},
"typesPublisherContentHash": "af18d4e69113db62b80264ac2cb5cd2bd6185e4251515690198dd65f88733ba7",
"typeScriptVersion": "4.0"
"typesPublisherContentHash": "ce607790e406c572b5d5d70404de23771dbaddeb8ed8a5a6dd45280b61d311d8",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sat, 25 Jun 2022 08:31:35 GMT
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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