web-manager 4.0.17 → 4.0.18
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/dist/modules/auth.js +2 -1
- package/package.json +1 -1
package/dist/modules/auth.js
CHANGED
|
@@ -119,9 +119,10 @@ class Auth {
|
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
let hasCalledback = false;
|
|
122
|
+
let unsubscribe = null;
|
|
122
123
|
|
|
123
124
|
// Set up listener for auth state changes
|
|
124
|
-
|
|
125
|
+
unsubscribe = this.onAuthStateChanged((user) => {
|
|
125
126
|
// If once option is set, unsubscribe
|
|
126
127
|
// We have to do this here because unsubscribe is only available after this call
|
|
127
128
|
if (options.once && unsubscribe) {
|
package/package.json
CHANGED