@adobe/helix-config-storage 1.14.4 → 1.14.6

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,17 @@
1
+ ## [1.14.6](https://github.com/adobe/helix-config-storage/compare/v1.14.5...v1.14.6) (2025-01-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @adobe/helix-shared-config to v11.0.15 ([#83](https://github.com/adobe/helix-config-storage/issues/83)) ([5f22208](https://github.com/adobe/helix-config-storage/commit/5f22208e11bf3861f78fbeb4f2ac7efa8fd959a8))
7
+
8
+ ## [1.14.5](https://github.com/adobe/helix-config-storage/compare/v1.14.4...v1.14.5) (2025-01-15)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * creating named hashed secret fails ([#81](https://github.com/adobe/helix-config-storage/issues/81)) ([faa2116](https://github.com/adobe/helix-config-storage/commit/faa2116118d38ad7c5ea16e5ce7d5587b321b0e3)), closes [#79](https://github.com/adobe/helix-config-storage/issues/79)
14
+
1
15
  ## [1.14.4](https://github.com/adobe/helix-config-storage/compare/v1.14.3...v1.14.4) (2025-01-13)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config-storage",
3
- "version": "1.14.4",
3
+ "version": "1.14.6",
4
4
  "description": "Helix Config Storage",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -44,9 +44,9 @@
44
44
  "c8": "10.1.3",
45
45
  "eslint": "8.57.1",
46
46
  "husky": "9.1.7",
47
- "json-schema-to-typescript": "15.0.3",
47
+ "json-schema-to-typescript": "15.0.4",
48
48
  "junit-report-builder": "5.1.1",
49
- "lint-staged": "15.3.0",
49
+ "lint-staged": "15.4.1",
50
50
  "mocha": "11.0.1",
51
51
  "mocha-multi-reporters": "1.5.1",
52
52
  "mocha-suppress-logs": "0.5.1",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@adobe/fetch": "4.1.11",
63
- "@adobe/helix-shared-config": "11.0.14",
63
+ "@adobe/helix-shared-config": "11.0.15",
64
64
  "@adobe/helix-shared-git": "3.0.17",
65
65
  "@adobe/helix-shared-storage": "1.1.2",
66
66
  "@adobe/helix-shared-utils": "3.0.2",
@@ -428,7 +428,7 @@ export class ConfigStore {
428
428
  }
429
429
 
430
430
  let ret = null;
431
- if (!config && frag?.type !== 'secrets' && frag?.type !== 'tokens') {
431
+ if (!config && frag?.type !== 'secrets' && frag?.type !== 'secret' && frag?.type !== 'tokens' && frag?.type !== 'token') {
432
432
  throw new StatusCodeError(400, 'no config in body.');
433
433
  }
434
434
  if (frag) {
@@ -13,14 +13,15 @@
13
13
  }
14
14
  },
15
15
  "secretId": {
16
- "description": "IDs of the org secrets (tokens) that are allowed.",
16
+ "description": "IDs of the hashed secrets that are allowed.",
17
17
  "type": "array",
18
18
  "items": {
19
- "type": "string"
19
+ "type": "string",
20
+ "pattern": "^[a-zA-Z0-9-_=]+$"
20
21
  }
21
22
  },
22
23
  "apiKeyId": {
23
- "description": "IDs of the api keys (tokens) that are allowed. This is deprecated. use `secretId` instead.",
24
+ "description": "IDs of the api keys that are allowed. This is deprecated. use `secretId` instead.",
24
25
  "deprecated": true,
25
26
  "type": "array",
26
27
  "items": {