@adobe/spacecat-shared-utils 1.105.1 → 1.106.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 +3 -3
- package/src/strategy-schema.js +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-utils-v1.106.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.106.0...@adobe/spacecat-shared-utils-v1.106.1) (2026-03-28)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **deps:** update external fixes ([#1477](https://github.com/adobe/spacecat-shared/issues/1477)) ([67bdd1a](https://github.com/adobe/spacecat-shared/commit/67bdd1a2c497bed088bc1e54ae22e60c171308d1))
|
|
6
|
+
|
|
7
|
+
## [@adobe/spacecat-shared-utils-v1.106.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.105.1...@adobe/spacecat-shared-utils-v1.106.0) (2026-03-23)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* strategy schema update ([#1452](https://github.com/adobe/spacecat-shared/issues/1452)) ([bcc9404](https://github.com/adobe/spacecat-shared/commit/bcc9404aca3d297de64e23442c8ec5186671275e))
|
|
12
|
+
|
|
1
13
|
## [@adobe/spacecat-shared-utils-v1.105.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.105.0...@adobe/spacecat-shared-utils-v1.105.1) (2026-03-21)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.106.1",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -53,8 +53,8 @@
|
|
|
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.1019.0",
|
|
57
|
+
"@aws-sdk/client-sqs": "3.1019.0",
|
|
58
58
|
"@json2csv/plainjs": "7.0.6",
|
|
59
59
|
"aws-xray-sdk": "3.12.0",
|
|
60
60
|
"cheerio": "1.2.0",
|
package/src/strategy-schema.js
CHANGED
|
@@ -76,10 +76,11 @@ const strategy = z.object({
|
|
|
76
76
|
id: nonEmptyString,
|
|
77
77
|
name: nonEmptyString,
|
|
78
78
|
status: workflowStatus,
|
|
79
|
-
url: z.string(),
|
|
79
|
+
url: z.union([z.string(), z.array(z.string())]),
|
|
80
80
|
description: z.string(),
|
|
81
|
-
topic: z.string(),
|
|
82
|
-
topicId: z.uuid().optional(),
|
|
81
|
+
topic: z.union([z.string(), z.array(z.string())]),
|
|
82
|
+
topicId: z.union([z.uuid(), z.array(z.uuid())]).optional(),
|
|
83
|
+
metadata: z.record(z.string(), z.any()).optional(),
|
|
83
84
|
selectedPrompts: z.array(strategyPromptSelection).optional(),
|
|
84
85
|
platform: nonEmptyString.optional(),
|
|
85
86
|
opportunities: z.array(strategyOpportunity),
|