@adobe/spacecat-shared-http-utils 1.15.1 → 1.15.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [@adobe/spacecat-shared-http-utils-v1.15.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.15.1...@adobe/spacecat-shared-http-utils-v1.15.2) (2025-07-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * auth handlers log level adjustments ([#861](https://github.com/adobe/spacecat-shared/issues/861)) ([f2511b3](https://github.com/adobe/spacecat-shared/commit/f2511b32e817a9a899cb87bcf89ef35ca69a27ca))
7
+
1
8
  # [@adobe/spacecat-shared-http-utils-v1.15.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.15.0...@adobe/spacecat-shared-http-utils-v1.15.1) (2025-07-19)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-http-utils",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "description": "Shared modules of the Spacecat Services - HTTP Utils",
5
5
  "type": "module",
6
6
  "engines": {
@@ -48,7 +48,7 @@ const SERVICE_CODE = 'dx_aem_perf';
48
48
  const loadConfig = (context) => {
49
49
  try {
50
50
  const config = JSON.parse(context.env.AUTH_HANDLER_IMS);
51
- context.log.info(`Loaded config name: ${config.name}`);
51
+ context.log.debug(`Loaded config name: ${config.name}`);
52
52
  return config;
53
53
  } catch (e) {
54
54
  context.log.error(`Failed to load config from context: ${e.message}`);
@@ -176,7 +176,7 @@ export default class AdobeImsHandler extends AbstractHandler {
176
176
  .withProfile(profile)
177
177
  .withScopes(scopes);
178
178
  } catch (e) {
179
- this.log(`Failed to validate token: ${e.message}`, 'error');
179
+ this.log(`Failed to validate token: ${e.message}`, 'debug');
180
180
  }
181
181
 
182
182
  return null;
@@ -81,7 +81,7 @@ export default class JwtHandler extends AbstractHandler {
81
81
  .withProfile(payload)
82
82
  .withScopes(scopes);
83
83
  } catch (e) {
84
- this.log(`Failed to validate token: ${e.message}`, 'error');
84
+ this.log(`Failed to validate token: ${e.message}`, 'debug');
85
85
  }
86
86
 
87
87
  return null;