Socket
Socket
Sign inDemoInstall

@firebase/messaging

Package Overview
Dependencies
Maintainers
3
Versions
3277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/messaging - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

32

dist/cjs/src/controllers/sw-controller.d.ts

@@ -6,22 +6,22 @@ import ControllerInterface from './controller-interface';

/**
* A handler for push events that shows notifications based on the content of
* the payload.
*
* The payload must be a JSON-encoded Object with a `notification` key. The
* value of the `notification` property will be used as the NotificationOptions
* object passed to showNotification. Additionally, the `title` property of the
* notification object will be used as the title.
*
* If there is no notification data in the payload then no notification will be
* shown.
* @private
*/
* A handler for push events that shows notifications based on the content of
* the payload.
*
* The payload must be a JSON-encoded Object with a `notification` key. The
* value of the `notification` property will be used as the NotificationOptions
* object passed to showNotification. Additionally, the `title` property of the
* notification object will be used as the title.
*
* If there is no notification data in the payload then no notification will be
* shown.
* @private
*/
onPush_(event: any): void;
/**
* @private
*/
* @private
*/
onSubChange_(event: any): void;
/**
* @private
*/
* @private
*/
onNotificationClick_(event: any): void;

@@ -28,0 +28,0 @@ /**

@@ -48,14 +48,14 @@ /**

/**
* A handler for push events that shows notifications based on the content of
* the payload.
*
* The payload must be a JSON-encoded Object with a `notification` key. The
* value of the `notification` property will be used as the NotificationOptions
* object passed to showNotification. Additionally, the `title` property of the
* notification object will be used as the title.
*
* If there is no notification data in the payload then no notification will be
* shown.
* @private
*/
* A handler for push events that shows notifications based on the content of
* the payload.
*
* The payload must be a JSON-encoded Object with a `notification` key. The
* value of the `notification` property will be used as the NotificationOptions
* object passed to showNotification. Additionally, the `title` property of the
* notification object will be used as the title.
*
* If there is no notification data in the payload then no notification will be
* shown.
* @private
*/
SWController.prototype.onPush_ = function (event) {

@@ -92,4 +92,4 @@ var _this = this;

/**
* @private
*/
* @private
*/
SWController.prototype.onSubChange_ = function (event) {

@@ -131,4 +131,4 @@ var _this = this;

/**
* @private
*/
* @private
*/
SWController.prototype.onNotificationClick_ = function (event) {

@@ -135,0 +135,0 @@ var _this = this;

@@ -223,4 +223,4 @@ /**

/**
* @dict
*/
* @dict
*/
var details = {

@@ -227,0 +227,0 @@ swScope: swScope,

@@ -6,22 +6,22 @@ import ControllerInterface from './controller-interface';

/**
* A handler for push events that shows notifications based on the content of
* the payload.
*
* The payload must be a JSON-encoded Object with a `notification` key. The
* value of the `notification` property will be used as the NotificationOptions
* object passed to showNotification. Additionally, the `title` property of the
* notification object will be used as the title.
*
* If there is no notification data in the payload then no notification will be
* shown.
* @private
*/
* A handler for push events that shows notifications based on the content of
* the payload.
*
* The payload must be a JSON-encoded Object with a `notification` key. The
* value of the `notification` property will be used as the NotificationOptions
* object passed to showNotification. Additionally, the `title` property of the
* notification object will be used as the title.
*
* If there is no notification data in the payload then no notification will be
* shown.
* @private
*/
onPush_(event: any): void;
/**
* @private
*/
* @private
*/
onSubChange_(event: any): void;
/**
* @private
*/
* @private
*/
onNotificationClick_(event: any): void;

@@ -28,0 +28,0 @@ /**

@@ -47,14 +47,14 @@ /**

/**
* A handler for push events that shows notifications based on the content of
* the payload.
*
* The payload must be a JSON-encoded Object with a `notification` key. The
* value of the `notification` property will be used as the NotificationOptions
* object passed to showNotification. Additionally, the `title` property of the
* notification object will be used as the title.
*
* If there is no notification data in the payload then no notification will be
* shown.
* @private
*/
* A handler for push events that shows notifications based on the content of
* the payload.
*
* The payload must be a JSON-encoded Object with a `notification` key. The
* value of the `notification` property will be used as the NotificationOptions
* object passed to showNotification. Additionally, the `title` property of the
* notification object will be used as the title.
*
* If there is no notification data in the payload then no notification will be
* shown.
* @private
*/
SWController.prototype.onPush_ = function (event) {

@@ -91,4 +91,4 @@ var _this = this;

/**
* @private
*/
* @private
*/
SWController.prototype.onSubChange_ = function (event) {

@@ -130,4 +130,4 @@ var _this = this;

/**
* @private
*/
* @private
*/
SWController.prototype.onNotificationClick_ = function (event) {

@@ -134,0 +134,0 @@ var _this = this;

@@ -222,4 +222,4 @@ /**

/**
* @dict
*/
* @dict
*/
var details = {

@@ -226,0 +226,0 @@ swScope: swScope,

{
"name": "@firebase/messaging",
"version": "0.1.3",
"version": "0.1.4",
"description": "",

@@ -18,3 +18,3 @@ "main": "dist/cjs/index.js",

"dependencies": {
"@firebase/util": "^0.1.2"
"@firebase/util": "^0.1.3"
},

@@ -21,0 +21,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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