web-manager 4.0.34 → 4.0.36

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.
@@ -123,13 +123,6 @@ class Auth {
123
123
 
124
124
  // Set up listener for auth state changes
125
125
  unsubscribe = this.onAuthStateChanged((user) => {
126
- // If once option is set, unsubscribe
127
- // We have to do this here because unsubscribe is only available after this call
128
- if (options.once && unsubscribe) {
129
- unsubscribe();
130
- return;
131
- }
132
-
133
126
  // Wait for settled state before first callback
134
127
  if (!hasCalledback && !this.manager._firebaseAuthInitialized) {
135
128
  return; // Auth state not yet determined
@@ -140,6 +133,11 @@ class Auth {
140
133
 
141
134
  // Get current state and call the callback
142
135
  getStateAndCallback(user);
136
+
137
+ // If once option is set, unsubscribe AFTER calling the callback
138
+ if (options.once && unsubscribe) {
139
+ unsubscribe();
140
+ }
143
141
  });
144
142
 
145
143
  return unsubscribe;
@@ -658,3 +658,31 @@
658
658
  [debug] [2025-12-13T03:15:51.272Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
659
659
  [debug] [2025-12-13T03:15:51.272Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
660
660
  [debug] [2025-12-13T03:15:51.272Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
661
+ [debug] [2025-12-13T10:11:01.828Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
662
+ [debug] [2025-12-13T10:11:01.828Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
663
+ [debug] [2025-12-13T10:11:01.831Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
664
+ [debug] [2025-12-13T10:11:01.832Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
665
+ [debug] [2025-12-13T10:11:01.833Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
666
+ [debug] [2025-12-13T10:11:01.842Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
667
+ [debug] [2025-12-13T10:11:01.843Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
668
+ [debug] [2025-12-13T10:11:01.831Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
669
+ [debug] [2025-12-13T10:11:01.831Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
670
+ [debug] [2025-12-13T10:11:01.831Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
671
+ [debug] [2025-12-13T10:11:01.846Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
672
+ [debug] [2025-12-13T10:11:01.847Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
673
+ [debug] [2025-12-13T10:11:01.865Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
674
+ [debug] [2025-12-13T10:11:01.870Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
675
+ [debug] [2025-12-13T10:11:01.866Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
676
+ [debug] [2025-12-13T10:11:01.867Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
677
+ [debug] [2025-12-13T10:11:01.867Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
678
+ [debug] [2025-12-13T10:11:01.870Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
679
+ [debug] [2025-12-13T10:11:01.870Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
680
+ [debug] [2025-12-13T10:11:01.871Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
681
+ [debug] [2025-12-13T10:11:01.871Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
682
+ [debug] [2025-12-13T10:11:01.870Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
683
+ [debug] [2025-12-13T10:11:01.871Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
684
+ [debug] [2025-12-13T10:11:01.871Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
685
+ [debug] [2025-12-13T10:11:01.873Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
686
+ [debug] [2025-12-13T10:11:01.873Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
687
+ [debug] [2025-12-13T10:11:01.874Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
688
+ [debug] [2025-12-13T10:11:01.874Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "4.0.34",
3
+ "version": "4.0.36",
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",