@adobe/spacecat-shared-content-client 1.6.16 → 1.6.17

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-content-client-v1.6.17](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.6.16...@adobe/spacecat-shared-content-client-v1.6.17) (2025-05-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * support customer sharepoint secrets ([#752](https://github.com/adobe/spacecat-shared/issues/752)) ([b269d80](https://github.com/adobe/spacecat-shared/commit/b269d80698b459c95ddae2e03a43ba81de93aee7))
7
+
1
8
  # [@adobe/spacecat-shared-content-client-v1.6.16](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.6.15...@adobe/spacecat-shared-content-client-v1.6.16) (2025-05-17)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-content-client",
3
- "version": "1.6.16",
3
+ "version": "1.6.17",
4
4
  "description": "Shared modules of the Spacecat Services - Content Client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -218,6 +218,9 @@ export default class ContentClient {
218
218
  const secrets = JSON.parse(response.SecretString);
219
219
  config.domainId = secrets.onedrive_domain_id;
220
220
  config.helixAdminToken = secrets.helix_admin_token;
221
+ config.clientId = secrets.onedrive_client_id;
222
+ config.clientSecret = secrets.onedrive_client_secret;
223
+ config.authority = secrets.onedrive_authority;
221
224
  } catch (e) {
222
225
  log.debug(`Customer ${site.getBaseURL()} secrets containing onedrive domain id not configured: ${e.message}`);
223
226
  }