@adobe/spacecat-shared-utils 1.80.0 → 1.81.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [@adobe/spacecat-shared-utils-v1.81.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.81.0...@adobe/spacecat-shared-utils-v1.81.1) (2025-11-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update to node 24 ([#1179](https://github.com/adobe/spacecat-shared/issues/1179)) ([0e60c0a](https://github.com/adobe/spacecat-shared/commit/0e60c0ab791b47662d07822f7c93009a8f7048fd))
7
+
8
+ # [@adobe/spacecat-shared-utils-v1.81.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.80.0...@adobe/spacecat-shared-utils-v1.81.0) (2025-11-26)
9
+
10
+
11
+ ### Features
12
+
13
+ * add id to prompt in llmo config ([#1172](https://github.com/adobe/spacecat-shared/issues/1172)) ([c5a77dc](https://github.com/adobe/spacecat-shared/commit/c5a77dcaa6cf5f473882d2ba96ee7637961b452b))
14
+
1
15
  # [@adobe/spacecat-shared-utils-v1.80.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.79.0...@adobe/spacecat-shared-utils-v1.80.0) (2025-11-26)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.80.0",
3
+ "version": "1.81.1",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "exports": {
@@ -10,7 +10,7 @@
10
10
  }
11
11
  },
12
12
  "engines": {
13
- "node": ">=22.0.0 <23.0.0",
13
+ "node": ">=22.0.0 <25.0.0",
14
14
  "npm": ">=10.9.0 <12.0.0"
15
15
  },
16
16
  "main": "src/index.js",
@@ -53,8 +53,8 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@adobe/fetch": "4.2.3",
56
- "@aws-sdk/client-s3": "3.937.0",
57
- "@aws-sdk/client-sqs": "3.936.0",
56
+ "@aws-sdk/client-s3": "3.940.0",
57
+ "@aws-sdk/client-sqs": "3.940.0",
58
58
  "@json2csv/plainjs": "7.0.6",
59
59
  "aws-xray-sdk": "3.12.0",
60
60
  "cheerio": "1.1.2",
package/src/schemas.js CHANGED
@@ -39,6 +39,7 @@ const nonEmptyString = z.string().min(1);
39
39
  const region = z.string().length(2).regex(/^[a-z][a-z]$/i);
40
40
 
41
41
  const prompt = z.object({
42
+ id: z.uuid().optional(),
42
43
  prompt: nonEmptyString,
43
44
  regions: z.array(region),
44
45
  origin: z.union([z.literal('human'), z.literal('ai'), z.string()]),