@adobe/spacecat-shared-utils 1.99.0 → 1.100.1
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 +12 -0
- package/package.json +4 -4
- package/src/schemas.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-utils-v1.100.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.100.0...@adobe/spacecat-shared-utils-v1.100.1) (2026-03-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **deps:** update external fixes ([#1410](https://github.com/adobe/spacecat-shared/issues/1410)) ([e5b5634](https://github.com/adobe/spacecat-shared/commit/e5b5634f788a8f440ef49218c0b2fa1ccb42fb8a))
|
|
6
|
+
|
|
7
|
+
## [@adobe/spacecat-shared-utils-v1.100.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.99.0...@adobe/spacecat-shared-utils-v1.100.0) (2026-03-05)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add optional aws region to cdn bucket config ([#1404](https://github.com/adobe/spacecat-shared/issues/1404)) ([76a7051](https://github.com/adobe/spacecat-shared/commit/76a7051f465d0d43cb03875fcc77b3ff174c4317))
|
|
12
|
+
|
|
1
13
|
## [@adobe/spacecat-shared-utils-v1.99.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.98.1...@adobe/spacecat-shared-utils-v1.99.0) (2026-03-02)
|
|
2
14
|
|
|
3
15
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.100.1",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"esmock": "2.7.3",
|
|
49
49
|
"husky": "9.1.7",
|
|
50
50
|
"nock": "14.0.11",
|
|
51
|
-
"sinon": "21.0.
|
|
51
|
+
"sinon": "21.0.2",
|
|
52
52
|
"sinon-chai": "4.0.1"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@adobe/fetch": "4.2.3",
|
|
56
|
-
"@aws-sdk/client-s3": "3.
|
|
57
|
-
"@aws-sdk/client-sqs": "3.
|
|
56
|
+
"@aws-sdk/client-s3": "3.1004.0",
|
|
57
|
+
"@aws-sdk/client-sqs": "3.1004.0",
|
|
58
58
|
"@json2csv/plainjs": "7.0.6",
|
|
59
59
|
"aws-xray-sdk": "3.12.0",
|
|
60
60
|
"cheerio": "1.2.0",
|
package/src/schemas.js
CHANGED
|
@@ -37,6 +37,7 @@ import * as z from 'zod';
|
|
|
37
37
|
const nonEmptyString = z.string().min(1);
|
|
38
38
|
|
|
39
39
|
const region = z.string().length(2).regex(/^[a-z][a-z]$/i);
|
|
40
|
+
const awsRegion = z.string().regex(/^[a-z]{2}(?:-[a-z]+)+-\d+$/i);
|
|
40
41
|
|
|
41
42
|
const auditFields = {
|
|
42
43
|
updatedBy: z.string().optional(),
|
|
@@ -136,6 +137,7 @@ export const llmoConfig = z.object({
|
|
|
136
137
|
bucketName: z.string().optional(),
|
|
137
138
|
allowedPaths: z.array(z.string()).optional(),
|
|
138
139
|
cdnProvider: z.string(),
|
|
140
|
+
region: awsRegion.optional(),
|
|
139
141
|
}).optional(),
|
|
140
142
|
ignored: z.object({
|
|
141
143
|
prompts: z.record(z.uuid(), ignoredPrompt).optional(),
|