@adobe/spacecat-shared-utils 1.61.0 → 1.63.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [@adobe/spacecat-shared-utils-v1.63.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.62.0...@adobe/spacecat-shared-utils-v1.63.0) (2025-10-23)
2
+
3
+
4
+ ### Features
5
+
6
+ * cdn-logs-infra: cloudflare ownership token in the UI ([#1041](https://github.com/adobe/spacecat-shared/issues/1041)) ([ac54b74](https://github.com/adobe/spacecat-shared/commit/ac54b7410b627cee2d93b9a4d0b76d23894a11c3))
7
+
8
+ # [@adobe/spacecat-shared-utils-v1.62.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.61.0...@adobe/spacecat-shared-utils-v1.62.0) (2025-10-23)
9
+
10
+
11
+ ### Features
12
+
13
+ * new origin for category ([#1039](https://github.com/adobe/spacecat-shared/issues/1039)) ([f33c0cf](https://github.com/adobe/spacecat-shared/commit/f33c0cfabc6856955dcf9cea33158e04df4ab82a))
14
+
1
15
  # [@adobe/spacecat-shared-utils-v1.61.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.60.0...@adobe/spacecat-shared-utils-v1.61.0) (2025-10-23)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.61.0",
3
+ "version": "1.63.0",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "exports": {
@@ -91,7 +91,7 @@ const CDN_TRANSFORMATIONS = {
91
91
  'EdgeTimeToFirstByteMs',
92
92
  ],
93
93
  'Log format': 'JSON',
94
- 'Ownership token': 'Please reach out to Adobe support for obtaining the token once you completed the configuration.',
94
+ 'Ownership token': payload.ownershipToken || 'The token will be available after the log forwarding configuration has been deployed in Cloudflare. Please refresh this page once you have completed this step.',
95
95
  HelpUrl: 'https://developers.cloudflare.com/logs/logpush/logpush-job/enable-destinations/aws-s3/',
96
96
  }),
97
97
  'byocdn-cloudfront': (payload) => ({
package/src/schemas.js CHANGED
@@ -53,6 +53,7 @@ const entity = z.object({
53
53
  const category = z.object({
54
54
  name: nonEmptyString,
55
55
  region: z.union([region, z.array(region)]),
56
+ origin: z.union([z.literal('human'), z.literal('ai'), z.string()]).optional(),
56
57
  });
57
58
 
58
59
  const topic = z.object({