@adobe/helix-config 4.9.0 → 4.10.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 +7 -0
- package/package.json +3 -3
- package/src/config-view.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [4.10.0](https://github.com/adobe/helix-config/compare/v4.9.0...v4.10.0) (2024-12-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* remove clientCertDN ([#225](https://github.com/adobe/helix-config/issues/225)) ([8c43f12](https://github.com/adobe/helix-config/commit/8c43f12bb7b373504d202baf3852863f72fa4f4b))
|
|
7
|
+
|
|
1
8
|
# [4.9.0](https://github.com/adobe/helix-config/compare/v4.8.4...v4.9.0) (2024-12-09)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "Helix Config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@semantic-release/changelog": "6.0.3",
|
|
40
40
|
"@semantic-release/git": "10.0.1",
|
|
41
41
|
"@semantic-release/npm": "12.0.1",
|
|
42
|
-
"c8": "10.1.
|
|
42
|
+
"c8": "10.1.3",
|
|
43
43
|
"eslint": "8.57.1",
|
|
44
44
|
"husky": "9.1.7",
|
|
45
45
|
"junit-report-builder": "5.1.1",
|
|
46
|
-
"lint-staged": "15.2.
|
|
46
|
+
"lint-staged": "15.2.11",
|
|
47
47
|
"mocha": "11.0.1",
|
|
48
48
|
"mocha-multi-reporters": "1.5.1",
|
|
49
49
|
"mocha-suppress-logs": "0.5.1",
|
package/src/config-view.js
CHANGED
|
@@ -123,7 +123,6 @@ export async function getAccessConfig(ctx, config, orgConfig, partition, rso) {
|
|
|
123
123
|
.map((jti) => jti.replaceAll('/', '_').replaceAll('+', '-'))
|
|
124
124
|
.map((id) => tokens[id]?.hash)
|
|
125
125
|
.filter((hash) => !!hash),
|
|
126
|
-
clientCertDN: toArray(pAccess.clientCertDN ?? access.site?.clientCertDN ?? access.clientCertDN),
|
|
127
126
|
};
|
|
128
127
|
// if an allow is defined but no apiKeyId, create a fake one so that auth is still enforced.
|
|
129
128
|
if (allow.length && !cfg.apiKeyId.length) {
|
|
@@ -460,8 +459,6 @@ export async function getConfigResponse(ctx, opts) {
|
|
|
460
459
|
'x-hlx-contentbus-id': config.content.contentBusId,
|
|
461
460
|
'x-hlx-owner': config.code.owner,
|
|
462
461
|
'x-hlx-repo': config.code.repo,
|
|
463
|
-
'x-hlx-auth-clientdn-preview': canonicalArrayString(config.access, 'preview', 'clientCertDN'),
|
|
464
|
-
'x-hlx-auth-clientdn-live': canonicalArrayString(config.access, 'live', 'clientCertDN'),
|
|
465
462
|
'x-hlx-auth-hash-preview': canonicalArrayString(config.access, 'preview', 'tokenHash'),
|
|
466
463
|
'x-hlx-auth-hash-live': canonicalArrayString(config.access, 'live', 'tokenHash'),
|
|
467
464
|
},
|