@firebase/messaging
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -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
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
455072
Updated@firebase/util@^0.1.3