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

node-gcm

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gcm - npm Package Compare versions

Comparing version 0.14.3 to 0.14.4

3

CHANGELOG.md
Changelog
=========
**0.14.4**
* Added support for multiple topics using FCM condition
**0.14.2**

@@ -5,0 +8,0 @@ * Updated README, added note on v1 development

@@ -197,2 +197,6 @@ var Constants = require('./constants');

}
if ((/\|\||&&/).test(recipient)) {
body.condition = recipient;
return callback(null, body);
}
body.to = recipient;

@@ -229,2 +233,3 @@ return callback(null, body);

topic: isString,
condition: isString,
notificationKey: isString,

@@ -231,0 +236,0 @@ registrationIds: isArray,

5

package.json
{
"name": "node-gcm",
"description": "Easy interface for Google's Cloud Messaging service (now Firebase Cloud Messaging)",
"version": "0.14.3",
"version": "0.14.4",
"author": "Marcus Farkas <toothlessgear@finitebox.com>",

@@ -39,3 +39,4 @@ "contributors": [

"Chirag Choudhary <chirag200666@gmail.com> (https://github.com/chirag200666)",
"Alexander Amin <alexander.amin@high5-it.de> (https://github.com/AlexAmin)"
"Alexander Amin <alexander.amin@high5-it.de> (https://github.com/AlexAmin)",
"Gaurav Nolkha <gaurav@swiftday.com> (https://github.com/vibgy)"
],

@@ -42,0 +43,0 @@ "repository": {

# node-gcm
[![Join the chat at https://gitter.im/ToothlessGear/node-gcm](https://badges.gitter.im/ToothlessGear/node-gcm.svg)](https://gitter.im/ToothlessGear/node-gcm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![npm](https://badge.fury.io/js/node-gcm.svg)](https://www.npmjs.com/package/node-gcm)

@@ -18,3 +20,3 @@

```bash
$ npm install node-gcm
$ npm install node-gcm --save
```

@@ -127,2 +129,3 @@

|topic|String|A single publish/subscribe topic.
|condition|String|Multiple topics using the [condition](https://firebase.google.com/docs/cloud-messaging/topic-messaging) parameter.
|notificationKey|String|Deprecated. A key that groups multiple registration tokens linked to the same user.

@@ -129,0 +132,0 @@ |registrationIds|String[]|Deprecated. Use registrationTokens instead.|

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