web-manager 4.0.24 → 4.0.25

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
@@ -12,3 +12,31 @@ UTM management
12
12
  LOCALSTORAGE
13
13
 
14
14
  WRAPPERS FOR COMMON FUNCITONS LIKE FIRESTORE DOC READ and QUERY AND WRITE
15
+
16
+ // Chrome extension Sentry integration
17
+ // Extract only the functions we need (enables tree-shaking)
18
+ // This is REQUIRED for browser extensions to avoid bundling the entire Sentry SDK
19
+ // https://github.com/getsentry/sentry-javascript/issues/14010
20
+ const {
21
+ init,
22
+ captureException,
23
+ browserTracingIntegration,
24
+ replayIntegration,
25
+ browserApiErrorsIntegration,
26
+ breadcrumbsIntegration,
27
+ globalHandlersIntegration,
28
+ } = module;
29
+
30
+ // Store references
31
+ this.Sentry = {
32
+ init,
33
+ captureException,
34
+ browserTracingIntegration,
35
+ replayIntegration,
36
+ browserApiErrorsIntegration,
37
+ breadcrumbsIntegration,
38
+ globalHandlersIntegration,
39
+ };
40
+
41
+ // Expose limited API globally (only what's needed)
42
+ window.Sentry = this.Sentry;
package/dist/index.js CHANGED
@@ -382,7 +382,12 @@ class Manager {
382
382
  }
383
383
 
384
384
  getApiUrl(environment, url) {
385
- const env = environment || this.config.environment;
385
+ // Precedence: passed environment > query string > config.environment
386
+ const searchParams = new URLSearchParams(window.location.search);
387
+ const queryEnv = searchParams.get('_dev_apiEnvironment');
388
+ const env = environment
389
+ || queryEnv
390
+ || this.config.environment;
386
391
 
387
392
  if (env === 'development') {
388
393
  return 'http://localhost:5002';
@@ -42,3 +42,59 @@
42
42
  [debug] [2025-11-17T02:29:17.421Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
43
43
  [debug] [2025-11-17T02:29:17.422Z] > 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"]
44
44
  [debug] [2025-11-17T02:29:17.422Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
45
+ [debug] [2025-11-19T03:03:22.457Z] > 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"]
46
+ [debug] [2025-11-19T03:03:22.465Z] > 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"]
47
+ [debug] [2025-11-19T03:03:22.459Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
48
+ [debug] [2025-11-19T03:03:22.477Z] > 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"]
49
+ [debug] [2025-11-19T03:03:22.477Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
50
+ [debug] [2025-11-19T03:03:22.477Z] > 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"]
51
+ [debug] [2025-11-19T03:03:22.477Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
52
+ [debug] [2025-11-19T03:03:22.467Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
53
+ [debug] [2025-11-19T03:03:22.468Z] > 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"]
54
+ [debug] [2025-11-19T03:03:22.468Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
55
+ [debug] [2025-11-19T03:03:22.479Z] > 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"]
56
+ [debug] [2025-11-19T03:03:22.480Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
57
+ [debug] [2025-11-19T03:03:22.495Z] > 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"]
58
+ [debug] [2025-11-19T03:03:22.495Z] > 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"]
59
+ [debug] [2025-11-19T03:03:22.495Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
60
+ [debug] [2025-11-19T03:03:22.496Z] > 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"]
61
+ [debug] [2025-11-19T03:03:22.496Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
62
+ [debug] [2025-11-19T03:03:22.497Z] > 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"]
63
+ [debug] [2025-11-19T03:03:22.497Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
64
+ [debug] [2025-11-19T03:03:22.498Z] > 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"]
65
+ [debug] [2025-11-19T03:03:22.498Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
66
+ [debug] [2025-11-19T03:03:22.495Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
67
+ [debug] [2025-11-19T03:03:22.496Z] > 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"]
68
+ [debug] [2025-11-19T03:03:22.496Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
69
+ [debug] [2025-11-19T03:03:22.498Z] > 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"]
70
+ [debug] [2025-11-19T03:03:22.498Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
71
+ [debug] [2025-11-19T03:03:22.498Z] > 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"]
72
+ [debug] [2025-11-19T03:03:22.498Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
73
+ [debug] [2025-11-19T03:04:21.495Z] > 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"]
74
+ [debug] [2025-11-19T03:04:21.497Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
75
+ [debug] [2025-11-19T03:04:21.507Z] > 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"]
76
+ [debug] [2025-11-19T03:04:21.507Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
77
+ [debug] [2025-11-19T03:04:21.507Z] > 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"]
78
+ [debug] [2025-11-19T03:04:21.508Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
79
+ [debug] [2025-11-19T03:04:21.523Z] > 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"]
80
+ [debug] [2025-11-19T03:04:21.523Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
81
+ [debug] [2025-11-19T03:04:21.524Z] > 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"]
82
+ [debug] [2025-11-19T03:04:21.524Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
83
+ [debug] [2025-11-19T03:04:21.526Z] > 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"]
84
+ [debug] [2025-11-19T03:04:21.526Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
85
+ [debug] [2025-11-19T03:04:21.526Z] > 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"]
86
+ [debug] [2025-11-19T03:04:21.526Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
87
+ [debug] [2025-11-19T03:04:21.551Z] > 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"]
88
+ [debug] [2025-11-19T03:04:21.553Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
89
+ [debug] [2025-11-19T03:04:21.553Z] > 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"]
90
+ [debug] [2025-11-19T03:04:21.553Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
91
+ [debug] [2025-11-19T03:04:21.561Z] > 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"]
92
+ [debug] [2025-11-19T03:04:21.561Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
93
+ [debug] [2025-11-19T03:04:21.577Z] > 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"]
94
+ [debug] [2025-11-19T03:04:21.577Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
95
+ [debug] [2025-11-19T03:04:21.577Z] > 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"]
96
+ [debug] [2025-11-19T03:04:21.578Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
97
+ [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"]
98
+ [debug] [2025-11-19T03:04:21.579Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
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
+ [debug] [2025-11-19T03:04:21.579Z] > 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.24",
3
+ "version": "4.0.25",
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",