web-manager 3.2.5 → 3.2.6
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +12 -12
- package/package.json +1 -1
package/index.js
CHANGED
@@ -58,8 +58,8 @@ function Manager() {
|
|
58
58
|
code: '',
|
59
59
|
url: '',
|
60
60
|
status: {
|
61
|
-
ready: false,
|
62
61
|
initilizing: false,
|
62
|
+
ready: false,
|
63
63
|
authReady: false,
|
64
64
|
},
|
65
65
|
// initReady: false,
|
@@ -737,8 +737,7 @@ function Manager() {
|
|
737
737
|
ready: function (fn, options) {
|
738
738
|
options = options || {};
|
739
739
|
options.interval = options.interval || 100;
|
740
|
-
|
741
|
-
// Manager.log('--- authReady() REAL');
|
740
|
+
|
742
741
|
if (!utilities.get(self, 'properties.page.status.authReady', false)) {
|
743
742
|
setTimeout(function () {
|
744
743
|
self.auth().ready(fn, options);
|
@@ -746,14 +745,15 @@ function Manager() {
|
|
746
745
|
} else {
|
747
746
|
|
748
747
|
// Set up listener for redirect (for provider login)
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
}
|
748
|
+
// @@@ DISABLED NOV 8, 2023
|
749
|
+
// if (!self._redirectResultSetup) {
|
750
|
+
// self._redirectResultSetup = true;
|
751
|
+
// firebase.auth()
|
752
|
+
// .getRedirectResult()
|
753
|
+
// .catch(function (error) {
|
754
|
+
// _displayError(error.message);
|
755
|
+
// });
|
756
|
+
// }
|
757
757
|
|
758
758
|
// Performance
|
759
759
|
self.performance().mark('manager_authReady');
|
@@ -1103,7 +1103,7 @@ function Manager() {
|
|
1103
1103
|
console.error(e);
|
1104
1104
|
});
|
1105
1105
|
|
1106
|
-
//
|
1106
|
+
// Service Worker Ready
|
1107
1107
|
// navigator.serviceWorker.ready.then(function(registration) {
|
1108
1108
|
// });
|
1109
1109
|
}
|
package/package.json
CHANGED