@types/react-native-push-notification
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -17,3 +17,3 @@ // Type definitions for react-native-push-notification 3.0 | ||
userInteraction: boolean; | ||
message: string|object; | ||
message: string | object; | ||
data: object; | ||
@@ -27,3 +27,3 @@ badge: number; | ||
export interface PushNotificationOptions { | ||
onRegister?: (token: { os: string, token: string }) => void; | ||
onRegister?: (token: { os: string; token: string }) => void; | ||
onNotification?: (notification: PushNotification) => void; | ||
@@ -36,2 +36,3 @@ senderID?: string; | ||
export type PriorityType = 'max' | 'high' | 'low' | 'min' | 'default'; | ||
export type RepeatType = 'week' | 'day' | 'hour' | 'minute' | 'time'; | ||
@@ -54,2 +55,3 @@ | ||
ongoing?: boolean; | ||
priority?: PriorityType; | ||
@@ -56,0 +58,0 @@ /* iOS only properties */ |
{ | ||
"name": "@types/react-native-push-notification", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "TypeScript definitions for react-native-push-notification", | ||
@@ -19,2 +19,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -26,4 +27,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2d54901395d46e7e1dcf05aeb3cb1ed031c71e93390a19cf8df4f47a077bae06", | ||
"typesPublisherContentHash": "41daa952fa3dde4967e08e76d998cba1596ea33fcd964a8c6850024fdd216dfe", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 03 Oct 2018 18:58:39 GMT | ||
* Last updated: Wed, 16 Jan 2019 01:11:46 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
5686
83