web-manager 4.0.25 → 4.0.26

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/TODO.md CHANGED
@@ -40,3 +40,12 @@ this.Sentry = {
40
40
 
41
41
  // Expose limited API globally (only what's needed)
42
42
  window.Sentry = this.Sentry;
43
+
44
+
45
+ what if in web-manager we put a special thing like
46
+
47
+ // Precedence: passed environment > query string > config.environment
48
+ const searchParams = new URLSearchParams(window.location.search);
49
+ const queryEnv = searchParams.get('_dev_loudLogs');
50
+
51
+ and this will set a property of webManager to true that enables copious logs
@@ -35,6 +35,13 @@ class Bindings {
35
35
  // Find all elements with data-wm-bind attribute
36
36
  const bindElements = document.querySelectorAll('[data-wm-bind]');
37
37
 
38
+ /* @dev-only:start */
39
+ {
40
+ console.log('[Bindings] Updating bindings', context, updatedKeys);
41
+
42
+ }
43
+ /* @dev-only:end */
44
+
38
45
  bindElements.forEach(element => {
39
46
  const bindValue = element.getAttribute('data-wm-bind');
40
47
 
@@ -202,8 +209,11 @@ class Bindings {
202
209
  return true;
203
210
  }
204
211
 
212
+ // Strip negation operator if present before extracting root key
213
+ const cleanPath = path.trim().replace(/^!/, '');
214
+
205
215
  // Extract the root key from the path
206
- const rootKey = path.trim().split('.')[0];
216
+ const rootKey = cleanPath.split('.')[0];
207
217
 
208
218
  // Only update if the root key is in updatedKeys
209
219
  return updatedKeys.includes(rootKey);
@@ -98,3 +98,31 @@
98
98
  [debug] [2025-11-19T03:04:21.579Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
99
99
  [debug] [2025-11-19T03:04:21.579Z] > 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"]
100
100
  [debug] [2025-11-19T03:04:21.579Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
101
+ [debug] [2025-11-19T20:05:55.095Z] > 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"]
102
+ [debug] [2025-11-19T20:05:55.095Z] > 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"]
103
+ [debug] [2025-11-19T20:05:55.099Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
104
+ [debug] [2025-11-19T20:05:55.099Z] > 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"]
105
+ [debug] [2025-11-19T20:05:55.099Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
106
+ [debug] [2025-11-19T20:05:55.108Z] > 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"]
107
+ [debug] [2025-11-19T20:05:55.109Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
108
+ [debug] [2025-11-19T20:05:55.099Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
109
+ [debug] [2025-11-19T20:05:55.099Z] > 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"]
110
+ [debug] [2025-11-19T20:05:55.099Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
111
+ [debug] [2025-11-19T20:05:55.109Z] > 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"]
112
+ [debug] [2025-11-19T20:05:55.109Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
113
+ [debug] [2025-11-19T20:05:55.135Z] > 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"]
114
+ [debug] [2025-11-19T20:05:55.136Z] > 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"]
115
+ [debug] [2025-11-19T20:05:55.135Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
116
+ [debug] [2025-11-19T20:05:55.136Z] > 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"]
117
+ [debug] [2025-11-19T20:05:55.136Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
118
+ [debug] [2025-11-19T20:05:55.139Z] > 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"]
119
+ [debug] [2025-11-19T20:05:55.139Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
120
+ [debug] [2025-11-19T20:05:55.139Z] > 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"]
121
+ [debug] [2025-11-19T20:05:55.139Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
122
+ [debug] [2025-11-19T20:05:55.136Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
123
+ [debug] [2025-11-19T20:05:55.137Z] > 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"]
124
+ [debug] [2025-11-19T20:05:55.138Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
125
+ [debug] [2025-11-19T20:05:55.139Z] > 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"]
126
+ [debug] [2025-11-19T20:05:55.139Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
127
+ [debug] [2025-11-19T20:05:55.140Z] > 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"]
128
+ [debug] [2025-11-19T20:05:55.140Z] > 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.25",
3
+ "version": "4.0.26",
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",