@types/node-gcm
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -7,4 +7,2 @@ // Type definitions for node-gcm 1.0.2 | ||
export interface INotificationOptions { | ||
@@ -53,3 +51,2 @@ title: string; | ||
export interface ISenderOptions { | ||
@@ -66,8 +63,8 @@ proxy?: any; | ||
export interface IRecipient { | ||
to?: string | undefined, | ||
topic?: string | undefined, | ||
condition?: string | undefined, | ||
notificationKey?: string | undefined, | ||
registrationIds?: string[] | undefined, | ||
registrationTokens?: string[] | undefined | ||
to?: string | undefined; | ||
topic?: string | undefined; | ||
condition?: string | undefined; | ||
notificationKey?: string | undefined; | ||
registrationIds?: string[] | undefined; | ||
registrationTokens?: string[] | undefined; | ||
} | ||
@@ -80,9 +77,26 @@ | ||
send(message: Message, registrationIds: string | string[] | IRecipient, callback: (err: any, resJson: IResponseBody) => void): void; | ||
send(message: Message, registrationIds: string | string[] | IRecipient, retries: number, callback: (err: any, resJson: IResponseBody) => void): void; | ||
send(message: Message, registrationIds: string | string[] | IRecipient, options: ISenderSendOptions, callback: (err: any, resJson: IResponseBody) => void): void; | ||
sendNoRetry(message: Message, registrationIds: string | string[] | IRecipient, callback: (err: any, resJson: IResponseBody) => void): void; | ||
send( | ||
message: Message, | ||
registrationIds: string | string[] | IRecipient, | ||
callback: (err: any, resJson: IResponseBody) => void, | ||
): void; | ||
send( | ||
message: Message, | ||
registrationIds: string | string[] | IRecipient, | ||
retries: number, | ||
callback: (err: any, resJson: IResponseBody) => void, | ||
): void; | ||
send( | ||
message: Message, | ||
registrationIds: string | string[] | IRecipient, | ||
options: ISenderSendOptions, | ||
callback: (err: any, resJson: IResponseBody) => void, | ||
): void; | ||
sendNoRetry( | ||
message: Message, | ||
registrationIds: string | string[] | IRecipient, | ||
callback: (err: any, resJson: IResponseBody) => void, | ||
): void; | ||
} | ||
export interface IResponseBody { | ||
@@ -89,0 +103,0 @@ success: number; |
{ | ||
"name": "@types/node-gcm", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "TypeScript definitions for node-gcm", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-gcm", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "53794e953134a0376a41c24f6a88f4317c2a3dc288734cca9fe31ac251b95e40", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "5332f03069e9a01a1708133af37ca5e4932a162700eb0302a1fb2b28ed8c76df", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 18:51:19 GMT | ||
* Last updated: Sat, 23 Sep 2023 20:38:33 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5875
99