@adobe/spacecat-shared-data-access 3.49.0 → 3.50.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,9 @@
1
+ ## [@adobe/spacecat-shared-data-access-v3.50.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.49.0...@adobe/spacecat-shared-data-access-v3.50.0) (2026-04-10)
2
+
3
+ ### Features
4
+
5
+ * LLMO-3959 changing schema to add detectCdn flag ([#1501](https://github.com/adobe/spacecat-shared/issues/1501)) ([0bb4642](https://github.com/adobe/spacecat-shared/commit/0bb46425b1351df2b12525182367c2635ae7fc48))
6
+
1
7
  ## [@adobe/spacecat-shared-data-access-v3.49.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.48.0...@adobe/spacecat-shared-data-access-v3.49.0) (2026-04-10)
2
8
 
3
9
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "3.49.0",
3
+ "version": "3.50.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -345,6 +345,7 @@ 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
349
  }).optional(),
349
350
  cdnLogsConfig: Joi.object({
350
351
  bucketName: Joi.string().required(),
@@ -514,6 +515,7 @@ export const Config = (data = {}) => {
514
515
  self.getLlmoCdnlogsFilter = () => state?.llmo?.cdnlogsFilter;
515
516
  self.getLlmoCountryCodeIgnoreList = () => state?.llmo?.countryCodeIgnoreList;
516
517
  self.getLlmoCdnBucketConfig = () => state?.llmo?.cdnBucketConfig;
518
+ self.getLlmoDetectedCdn = () => state?.llmo?.detectedCdn ?? null;
517
519
  self.getTokowakaConfig = () => state?.tokowakaConfig;
518
520
  self.getEdgeOptimizeConfig = () => state?.edgeOptimizeConfig;
519
521
  self.getOnboardConfig = () => state?.onboardConfig;
@@ -734,6 +736,11 @@ export const Config = (data = {}) => {
734
736
  state.llmo.cdnBucketConfig = cdnBucketConfig;
735
737
  };
736
738
 
739
+ self.updateLlmoDetectedCdn = (detectedCdn) => {
740
+ state.llmo = state.llmo || {};
741
+ state.llmo.detectedCdn = detectedCdn;
742
+ };
743
+
737
744
  self.addLlmoTag = (tag) => {
738
745
  state.llmo = state.llmo || {};
739
746
  state.llmo.tags = state.llmo.tags || [];