@adobe/spacecat-shared-data-access 3.51.0 → 3.53.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,15 @@
1
+ ## [@adobe/spacecat-shared-data-access-v3.53.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.52.0...@adobe/spacecat-shared-data-access-v3.53.0) (2026-04-27)
2
+
3
+ ### Features
4
+
5
+ * **data-access:** widen detectedCdn Joi schema to LLMO-supported tokens ([#1559](https://github.com/adobe/spacecat-shared/issues/1559)) ([f6e08e9](https://github.com/adobe/spacecat-shared/commit/f6e08e9e94cef4e230f0d892cc73d5e78395c492))
6
+
7
+ ## [@adobe/spacecat-shared-data-access-v3.52.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.51.0...@adobe/spacecat-shared-data-access-v3.52.0) (2026-04-10)
8
+
9
+ ### Features
10
+
11
+ * **data-access:** add enableMoneyPageUrls flag to site config ([#1532](https://github.com/adobe/spacecat-shared/issues/1532)) ([865cd45](https://github.com/adobe/spacecat-shared/commit/865cd456e255ed0e2cb3af354fb087d4ce165ef8))
12
+
1
13
  ## [@adobe/spacecat-shared-data-access-v3.51.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.50.1...@adobe/spacecat-shared-data-access-v3.51.0) (2026-04-10)
2
14
 
3
15
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "3.51.0",
3
+ "version": "3.53.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -345,7 +345,16 @@ export const configSchema = Joi.object({
345
345
  cdnProvider: Joi.string().optional(),
346
346
  region: Joi.string().pattern(AWS_REGION_PATTERN).optional(),
347
347
  }).optional(),
348
- detectedCdn: Joi.string().valid('aem-cs-fastly', 'other').optional(),
348
+ detectedCdn: Joi.string().valid(
349
+ 'aem-cs-fastly',
350
+ 'commerce-fastly',
351
+ 'byocdn-fastly',
352
+ 'byocdn-akamai',
353
+ 'byocdn-cloudflare',
354
+ 'byocdn-imperva',
355
+ 'byocdn-other',
356
+ 'other',
357
+ ).optional(),
349
358
  }).optional(),
350
359
  cdnLogsConfig: Joi.object({
351
360
  bucketName: Joi.string().required(),
@@ -401,6 +410,7 @@ export const configSchema = Joi.object({
401
410
  contentAiConfig: Joi.object({
402
411
  index: Joi.string().optional(),
403
412
  }).optional(),
413
+ enableMoneyPageUrls: Joi.boolean().optional(),
404
414
  auditTargetURLs: Joi.object({
405
415
  manual: Joi.array().items(Joi.object({
406
416
  url: Joi.string().uri().required(),
@@ -531,6 +541,11 @@ export const Config = (data = {}) => {
531
541
  }
532
542
  };
533
543
 
544
+ self.isMoneyPageUrlsEnabled = () => state?.enableMoneyPageUrls ?? true;
545
+ self.setEnableMoneyPageUrls = (value) => {
546
+ state.enableMoneyPageUrls = value;
547
+ };
548
+
534
549
  self.getAuditTargetURLsConfig = () => state?.auditTargetURLs;
535
550
 
536
551
  self.getAuditTargetURLs = () => {
@@ -947,5 +962,6 @@ Config.toDynamoItem = (config) => ({
947
962
  edgeOptimizeConfig: config.getEdgeOptimizeConfig(),
948
963
  onboardConfig: config.getOnboardConfig?.(),
949
964
  commerceLlmoConfig: config.getCommerceLlmoConfig?.(),
965
+ enableMoneyPageUrls: config.isMoneyPageUrlsEnabled?.() === false ? false : undefined,
950
966
  auditTargetURLs: config.getAuditTargetURLsConfig?.(),
951
967
  });