web-manager 4.0.38 → 4.0.39

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/dist/index.js CHANGED
@@ -462,15 +462,9 @@ class Manager {
462
462
  // const apiDomain = this.config.brand.url;
463
463
  const baseUrl = url || (apiDomain ? `https://${apiDomain}` : window.location.origin);
464
464
  const urlObj = new URL(baseUrl);
465
- const hostnameParts = urlObj.hostname.split('.');
466
465
 
467
- if (hostnameParts.length > 2) {
468
- hostnameParts[0] = 'api';
469
- } else {
470
- hostnameParts.unshift('api');
471
- }
472
-
473
- urlObj.hostname = hostnameParts.join('.');
466
+ // Prepend 'api.' subdomain (universal-auth.itwcreativeworks.com -> api.universal-auth.itwcreativeworks.com)
467
+ urlObj.hostname = `api.${urlObj.hostname}`;
474
468
 
475
469
  // Strip trailing slash
476
470
  return urlObj.toString().replace(/\/$/, '');
@@ -686,3 +686,31 @@
686
686
  [debug] [2025-12-13T10:11:01.873Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
687
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
688
  [debug] [2025-12-13T10:11:01.874Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
689
+ [debug] [2025-12-16T09:00:20.853Z] > 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"]
690
+ [debug] [2025-12-16T09:00:20.853Z] > 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"]
691
+ [debug] [2025-12-16T09:00:20.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
692
+ [debug] [2025-12-16T09:00:20.856Z] > 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"]
693
+ [debug] [2025-12-16T09:00:20.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
694
+ [debug] [2025-12-16T09:00:20.869Z] > 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"]
695
+ [debug] [2025-12-16T09:00:20.870Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
696
+ [debug] [2025-12-16T09:00:20.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
697
+ [debug] [2025-12-16T09:00:20.856Z] > 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"]
698
+ [debug] [2025-12-16T09:00:20.856Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
699
+ [debug] [2025-12-16T09:00:20.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"]
700
+ [debug] [2025-12-16T09:00:20.871Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
701
+ [debug] [2025-12-16T09:00:20.889Z] > 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"]
702
+ [debug] [2025-12-16T09:00:20.890Z] > 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"]
703
+ [debug] [2025-12-16T09:00:20.889Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
704
+ [debug] [2025-12-16T09:00:20.890Z] > 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"]
705
+ [debug] [2025-12-16T09:00:20.890Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
706
+ [debug] [2025-12-16T09:00:20.892Z] > 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"]
707
+ [debug] [2025-12-16T09:00:20.892Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
708
+ [debug] [2025-12-16T09:00:20.893Z] > 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"]
709
+ [debug] [2025-12-16T09:00:20.893Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
710
+ [debug] [2025-12-16T09:00:20.890Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
711
+ [debug] [2025-12-16T09:00:20.891Z] > 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"]
712
+ [debug] [2025-12-16T09:00:20.891Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
713
+ [debug] [2025-12-16T09:00:20.893Z] > 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"]
714
+ [debug] [2025-12-16T09:00:20.893Z] > authorizing via signed-in user (ian.wiedenman@gmail.com)
715
+ [debug] [2025-12-16T09:00:20.894Z] > 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"]
716
+ [debug] [2025-12-16T09:00:20.894Z] > 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.38",
3
+ "version": "4.0.39",
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",