web-manager 3.2.23 → 3.2.25
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +7 -1
- package/package.json +3 -3
package/index.js
CHANGED
@@ -1015,7 +1015,13 @@ function Manager() {
|
|
1015
1015
|
HELPERS
|
1016
1016
|
*/
|
1017
1017
|
function subscriptionManager(self, options_user) {
|
1018
|
-
if (
|
1018
|
+
if (
|
1019
|
+
!('serviceWorker' in navigator)
|
1020
|
+
|| (typeof firebase === 'undefined')
|
1021
|
+
|| (typeof firebase.messaging === 'undefined')
|
1022
|
+
) {
|
1023
|
+
return
|
1024
|
+
}
|
1019
1025
|
|
1020
1026
|
// service worker guide: https://developers.google.com/web/updates/2018/06/fresher-sw
|
1021
1027
|
navigator.serviceWorker.register(
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "web-manager",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.25",
|
4
4
|
"description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -31,9 +31,9 @@
|
|
31
31
|
}
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@sentry/browser": "^7.
|
34
|
+
"@sentry/browser": "^7.85.0",
|
35
35
|
"cookieconsent": "^3.1.1",
|
36
36
|
"firebase": "^9.23.0",
|
37
37
|
"lazysizes": "^5.3.2"
|
38
38
|
}
|
39
|
-
}
|
39
|
+
}
|