@adobe/spacecat-shared-data-access 2.75.0 → 2.76.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,10 @@
1
+ # [@adobe/spacecat-shared-data-access-v2.76.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.75.0...@adobe/spacecat-shared-data-access-v2.76.0) (2025-10-29)
2
+
3
+
4
+ ### Features
5
+
6
+ * add tokowaka client ([#1025](https://github.com/adobe/spacecat-shared/issues/1025)) ([7af58b0](https://github.com/adobe/spacecat-shared/commit/7af58b03ef341c32b35a6614365024af6a636a56))
7
+
1
8
  # [@adobe/spacecat-shared-data-access-v2.75.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.74.2...@adobe/spacecat-shared-data-access-v2.75.0) (2025-10-29)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "2.75.0",
3
+ "version": "2.76.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -305,6 +305,9 @@ export const configSchema = Joi.object({
305
305
  ).optional(),
306
306
  outputLocation: Joi.string().required(),
307
307
  }).optional(),
308
+ tokowakaConfig: Joi.object({
309
+ apiKey: Joi.string().required(),
310
+ }).optional(),
308
311
  contentAiConfig: Joi.object({
309
312
  index: Joi.string().optional(),
310
313
  }).optional(),
@@ -410,6 +413,7 @@ export const Config = (data = {}) => {
410
413
  };
411
414
  self.getLlmoCdnlogsFilter = () => state?.llmo?.cdnlogsFilter;
412
415
  self.getLlmoCdnBucketConfig = () => state?.llmo?.cdnBucketConfig;
416
+ self.getTokowakaConfig = () => state?.tokowakaConfig;
413
417
 
414
418
  self.updateSlackConfig = (channel, workspace, invitedUserCount) => {
415
419
  state.slack = {
@@ -657,6 +661,10 @@ export const Config = (data = {}) => {
657
661
  state.cdnLogsConfig = cdnLogsConfig;
658
662
  };
659
663
 
664
+ self.updateTokowakaConfig = (tokowakaConfig) => {
665
+ state.tokowakaConfig = tokowakaConfig;
666
+ };
667
+
660
668
  return Object.freeze(self);
661
669
  };
662
670
 
@@ -671,4 +679,5 @@ Config.toDynamoItem = (config) => ({
671
679
  brandConfig: config.getBrandConfig(),
672
680
  cdnLogsConfig: config.getCdnLogsConfig(),
673
681
  llmo: config.getLlmoConfig(),
682
+ tokowakaConfig: config.getTokowakaConfig(),
674
683
  });