@adobe/spacecat-shared-data-access 2.91.0 → 2.92.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-data-access-v2.92.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.92.0...@adobe/spacecat-shared-data-access-v2.92.1) (2026-01-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fetch api key from s3 and fix invalidation sequence ([#1251](https://github.com/adobe/spacecat-shared/issues/1251)) ([fe66bd6](https://github.com/adobe/spacecat-shared/commit/fe66bd6732dc200ab4df27babc1e0831f6187271))
7
+
8
+ # [@adobe/spacecat-shared-data-access-v2.92.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.91.0...@adobe/spacecat-shared-data-access-v2.92.0) (2025-12-11)
9
+
10
+
11
+ ### Features
12
+
13
+ * add WIKIPEDIA_ANALYSIS audit type and opportunity type ([#1222](https://github.com/adobe/spacecat-shared/issues/1222)) ([5a1b113](https://github.com/adobe/spacecat-shared/commit/5a1b113ff343a930e80bb5aafedbe2b8c5423534))
14
+
1
15
  # [@adobe/spacecat-shared-data-access-v2.91.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.90.0...@adobe/spacecat-shared-data-access-v2.91.0) (2025-12-10)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "2.91.0",
3
+ "version": "2.92.1",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -82,6 +82,7 @@ class Audit extends BaseModel {
82
82
  PAGE_INTENT: 'page-intent',
83
83
  NO_CTA_ABOVE_THE_FOLD: 'no-cta-above-the-fold',
84
84
  TOC: 'toc',
85
+ WIKIPEDIA_ANALYSIS: 'wikipedia-analysis',
85
86
  };
86
87
 
87
88
  static AUDIT_TYPE_PROPERTIES = {
@@ -338,9 +338,12 @@ export const configSchema = Joi.object({
338
338
  outputLocation: Joi.string().required(),
339
339
  }).optional(),
340
340
  tokowakaConfig: Joi.object({
341
- apiKey: Joi.string().required(),
341
+ apiKey: Joi.string().optional(),
342
342
  forwardedHost: Joi.string().optional(),
343
343
  }).optional(),
344
+ edgeOptimizeConfig: Joi.object({
345
+ enabled: Joi.boolean().required(),
346
+ }).optional(),
344
347
  contentAiConfig: Joi.object({
345
348
  index: Joi.string().optional(),
346
349
  }).optional(),
@@ -448,7 +451,7 @@ export const Config = (data = {}) => {
448
451
  self.getLlmoCdnlogsFilter = () => state?.llmo?.cdnlogsFilter;
449
452
  self.getLlmoCdnBucketConfig = () => state?.llmo?.cdnBucketConfig;
450
453
  self.getTokowakaConfig = () => state?.tokowakaConfig;
451
-
454
+ self.getEdgeOptimizeConfig = () => state?.edgeOptimizeConfig;
452
455
  self.updateSlackConfig = (channel, workspace, invitedUserCount) => {
453
456
  state.slack = {
454
457
  channel,
@@ -741,6 +744,10 @@ export const Config = (data = {}) => {
741
744
  state.tokowakaConfig = tokowakaConfig;
742
745
  };
743
746
 
747
+ self.updateEdgeOptimizeConfig = (edgeOptimizeConfig) => {
748
+ state.edgeOptimizeConfig = edgeOptimizeConfig;
749
+ };
750
+
744
751
  return Object.freeze(self);
745
752
  };
746
753
 
@@ -757,4 +764,5 @@ Config.toDynamoItem = (config) => ({
757
764
  cdnLogsConfig: config.getCdnLogsConfig(),
758
765
  llmo: config.getLlmoConfig(),
759
766
  tokowakaConfig: config.getTokowakaConfig(),
767
+ edgeOptimizeConfig: config.getEdgeOptimizeConfig(),
760
768
  });