@adobe/helix-config 5.3.5 → 5.4.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
+ # [5.4.0](https://github.com/adobe/helix-config/compare/v5.3.5...v5.4.0) (2025-05-19)
2
+
3
+
4
+ ### Features
5
+
6
+ * aggregate org apiKeys into site config ([#275](https://github.com/adobe/helix-config/issues/275)) ([436a8b8](https://github.com/adobe/helix-config/commit/436a8b81914c216052470d8fbd1169d7a4eea5b8))
7
+
1
8
  ## [5.3.5](https://github.com/adobe/helix-config/compare/v5.3.4...v5.3.5) (2025-05-16)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "5.3.5",
3
+ "version": "5.4.0",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -510,6 +510,12 @@ export async function getConfigResponse(ctx, opts) {
510
510
  config.access.admin = computeSiteAdminRoles(admin, orgConfig, config.groups);
511
511
  }
512
512
  }
513
+ if (opts.scope === SCOPE_ADMIN || opts.scope === SCOPE_RAW) {
514
+ const merged = { ...config.apiKeys, ...orgConfig?.apiKeys };
515
+ if (Object.keys(merged).length) {
516
+ config.apiKeys = merged;
517
+ }
518
+ }
513
519
 
514
520
  // todo: improve
515
521
  siteConfig.updateLastModified(config.head);