@adobe/spacecat-shared-http-utils 1.5.0 → 1.6.0

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.6.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.5.0...@adobe/spacecat-shared-http-utils-v1.6.0) (2024-08-14)
2
+
3
+
4
+ ### Features
5
+
6
+ * export ScopedApiKeyHandler ([#323](https://github.com/adobe/spacecat-shared/issues/323)) ([778e19c](https://github.com/adobe/spacecat-shared/commit/778e19c490c7ed63f600afe4ae025356f47218fd))
7
+
1
8
  # [@adobe/spacecat-shared-http-utils-v1.5.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.4.0...@adobe/spacecat-shared-http-utils-v1.5.0) (2024-08-09)
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.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Shared modules of the Spacecat Services - HTTP Utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -14,6 +14,7 @@ import { Response } from '@adobe/fetch';
14
14
 
15
15
  import LegacyApiKeyHandler from './auth/handlers/legacy-api-key.js';
16
16
  import AdobeImsHandler from './auth/handlers/ims.js';
17
+ import ScopedApiKeyHandler from './auth/handlers/scoped-api-key.js';
17
18
 
18
19
  const HEADER_CONTENT_TYPE = 'content-type';
19
20
  const HEADER_ERROR = 'x-error';
@@ -91,4 +92,4 @@ export { authWrapper } from './auth/auth-wrapper.js';
91
92
  export { enrichPathInfo } from './enrich-path-info-wrapper.js';
92
93
  export { hashWithSHA256 } from './auth/generate-hash.js';
93
94
 
94
- export { AdobeImsHandler, LegacyApiKeyHandler };
95
+ export { AdobeImsHandler, ScopedApiKeyHandler, LegacyApiKeyHandler };