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.
@@ -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
- const unsubscribe = this.onAuthStateChanged((user) => {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "4.0.17",
3
+ "version": "4.0.18",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.js",