web-manager 3.1.48 → 3.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
@@ -694,7 +694,7 @@ function Manager() {
|
|
694
694
|
// console.log('HERE 5');
|
695
695
|
|
696
696
|
// handle firebase user
|
697
|
-
if (firebase.auth) {
|
697
|
+
if (typeof firebase !== 'undefined' && firebase.auth) {
|
698
698
|
firebase.auth().onAuthStateChanged(function(user) {
|
699
699
|
This.properties.page.status.authReady = true;
|
700
700
|
This.properties.auth.user = user || false;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "web-manager",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.49",
|
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": {
|
@@ -36,4 +36,4 @@
|
|
36
36
|
"firebase": "^9.23.0",
|
37
37
|
"lazysizes": "^5.3.2"
|
38
38
|
}
|
39
|
-
}
|
39
|
+
}
|