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

@types/node-gcm

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node-gcm - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

42

node-gcm/index.d.ts

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

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