@adobe/spacecat-shared-utils 1.41.2 → 1.41.3

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-utils-v1.41.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.41.2...@adobe/spacecat-shared-utils-v1.41.3) (2025-06-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * promise token exchange ([#821](https://github.com/adobe/spacecat-shared/issues/821)) ([8ede1cf](https://github.com/adobe/spacecat-shared/commit/8ede1cfa440642dd46bc483848f1bf935303a69c))
7
+
1
8
  # [@adobe/spacecat-shared-utils-v1.41.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.41.1...@adobe/spacecat-shared-utils-v1.41.2) (2025-06-23)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.41.2",
3
+ "version": "1.41.3",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "engines": {
package/src/auth.js CHANGED
@@ -52,7 +52,7 @@ export async function getAccessToken(context, promiseToken) {
52
52
  */
53
53
  export async function retrievePageAuthentication(site, context, authOptions = {}) {
54
54
  if (site && site.getDeliveryType() === Site.DELIVERY_TYPES.AEM_CS && authOptions.promiseToken) {
55
- return getAccessToken(context, authOptions.promiseToken);
55
+ return getAccessToken(context, authOptions.promiseToken.promise_token);
56
56
  }
57
57
 
58
58
  const baseURL = site.getBaseURL();