web-manager 4.0.31 → 4.0.32

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.
@@ -126,20 +126,27 @@ export function getPlatform() {
126
126
 
127
127
  // Get runtime environment
128
128
  export function getRuntime() {
129
- // Browser extension
130
- if (typeof chrome !== 'undefined' && chrome.runtime?.id) {
131
- return 'extension';
132
- }
133
-
134
- // Electron
135
- if (typeof process !== 'undefined' && process.versions?.electron) {
136
- return 'electron';
137
- }
138
-
139
- // Node.js (no window)
140
- if (typeof window === 'undefined') {
141
- return 'node';
142
- }
129
+ // Browser extension (Chrome, Edge, Opera, Brave, Firefox, Safari, etc.)
130
+ if (
131
+ (typeof chrome !== 'undefined' && chrome.runtime?.id)
132
+ || (typeof browser !== 'undefined' && browser.runtime?.id)
133
+ || (typeof safari !== 'undefined' && safari.extension)
134
+ ) {
135
+ return 'browser-extension';
136
+ }
137
+
138
+ // // Electron (main process, or renderer with nodeIntegration, or via userAgent)
139
+ // if (
140
+ // (typeof process !== 'undefined' && process.versions?.electron) ||
141
+ // (typeof navigator !== 'undefined' && /electron/i.test(navigator.userAgent))
142
+ // ) {
143
+ // return 'electron';
144
+ // }
145
+
146
+ // // Node.js (no window)
147
+ // if (typeof window === 'undefined') {
148
+ // return 'node';
149
+ // }
143
150
 
144
151
  // Default: web browser
145
152
  return 'web';
@@ -378,3 +378,59 @@
378
378
  [debug] [2025-12-04T02:16:38.304Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
379
379
  [debug] [2025-12-04T02:16:38.306Z] > 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"]
380
380
  [debug] [2025-12-04T02:16:38.306Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
381
+ [debug] [2025-12-04T02:26:20.106Z] > 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"]
382
+ [debug] [2025-12-04T02:26:20.106Z] > 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"]
383
+ [debug] [2025-12-04T02:26:20.108Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
384
+ [debug] [2025-12-04T02:26:20.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"]
385
+ [debug] [2025-12-04T02:26:20.108Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
386
+ [debug] [2025-12-04T02:26:20.116Z] > 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"]
387
+ [debug] [2025-12-04T02:26:20.117Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
388
+ [debug] [2025-12-04T02:26:20.108Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
389
+ [debug] [2025-12-04T02:26:20.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"]
390
+ [debug] [2025-12-04T02:26:20.108Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
391
+ [debug] [2025-12-04T02:26:20.117Z] > 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"]
392
+ [debug] [2025-12-04T02:26:20.117Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
393
+ [debug] [2025-12-04T02:26:20.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"]
394
+ [debug] [2025-12-04T02:26:20.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"]
395
+ [debug] [2025-12-04T02:26:20.136Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
396
+ [debug] [2025-12-04T02:26:20.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"]
397
+ [debug] [2025-12-04T02:26:20.137Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
398
+ [debug] [2025-12-04T02:26:20.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"]
399
+ [debug] [2025-12-04T02:26:20.139Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
400
+ [debug] [2025-12-04T02:26:20.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"]
401
+ [debug] [2025-12-04T02:26:20.139Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
402
+ [debug] [2025-12-04T02:26:20.136Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
403
+ [debug] [2025-12-04T02:26:20.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"]
404
+ [debug] [2025-12-04T02:26:20.137Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
405
+ [debug] [2025-12-04T02:26:20.138Z] > 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"]
406
+ [debug] [2025-12-04T02:26:20.138Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
407
+ [debug] [2025-12-04T02:26:20.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"]
408
+ [debug] [2025-12-04T02:26:20.139Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
409
+ [debug] [2025-12-04T22:53:01.811Z] > 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"]
410
+ [debug] [2025-12-04T22:53:01.822Z] > 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"]
411
+ [debug] [2025-12-04T22:53:01.817Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
412
+ [debug] [2025-12-04T22:53:01.817Z] > 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"]
413
+ [debug] [2025-12-04T22:53:01.817Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
414
+ [debug] [2025-12-04T22:53:01.843Z] > 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"]
415
+ [debug] [2025-12-04T22:53:01.844Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
416
+ [debug] [2025-12-04T22:53:01.826Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
417
+ [debug] [2025-12-04T22:53:01.826Z] > 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"]
418
+ [debug] [2025-12-04T22:53:01.827Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
419
+ [debug] [2025-12-04T22:53:01.854Z] > 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"]
420
+ [debug] [2025-12-04T22:53:01.854Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
421
+ [debug] [2025-12-04T22:53:01.877Z] > 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"]
422
+ [debug] [2025-12-04T22:53:01.877Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
423
+ [debug] [2025-12-04T22:53:01.878Z] > 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"]
424
+ [debug] [2025-12-04T22:53:01.879Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
425
+ [debug] [2025-12-04T22:53:01.882Z] > 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"]
426
+ [debug] [2025-12-04T22:53:01.882Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
427
+ [debug] [2025-12-04T22:53:01.883Z] > 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"]
428
+ [debug] [2025-12-04T22:53:01.884Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
429
+ [debug] [2025-12-04T22:53:01.902Z] > 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"]
430
+ [debug] [2025-12-04T22:53:01.902Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
431
+ [debug] [2025-12-04T22:53:01.904Z] > 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"]
432
+ [debug] [2025-12-04T22:53:01.904Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
433
+ [debug] [2025-12-04T22:53:01.909Z] > 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"]
434
+ [debug] [2025-12-04T22:53:01.909Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
435
+ [debug] [2025-12-04T22:53:01.913Z] > 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"]
436
+ [debug] [2025-12-04T22:53:01.913Z] > 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.31",
3
+ "version": "4.0.32",
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",