@adobe/spacecat-shared-data-access 3.68.0 → 3.69.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.69.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.68.0...@adobe/spacecat-shared-data-access-v3.69.0) (2026-05-22)
2
+
3
+ ### Features
4
+
5
+ * expose config.defaults via getDefaults() and include in toDynamoItem ([#1613](https://github.com/adobe/spacecat-shared/issues/1613)) ([782503d](https://github.com/adobe/spacecat-shared/commit/782503d8880054bcf0c65fdce987520e28950133))
6
+
1
7
  ## [@adobe/spacecat-shared-data-access-v3.68.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.67.0...@adobe/spacecat-shared-data-access-v3.68.0) (2026-05-21)
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.68.0",
3
+ "version": "3.69.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -524,6 +524,7 @@ export const Config = (data = {}) => {
524
524
  self.getIncludedURLs = (type) => state?.handlers?.[type]?.includedURLs;
525
525
  self.getGroupedURLs = (type) => state?.handlers?.[type]?.groupedURLs;
526
526
  self.getLatestMetrics = (type) => state?.handlers?.[type]?.latestMetrics;
527
+ self.getDefaults = () => state?.defaults;
527
528
  self.getFetchConfig = () => state?.fetchConfig;
528
529
  self.getBrandConfig = () => state?.brandConfig;
529
530
  self.getBrandProfile = () => state?.brandProfile;
@@ -995,6 +996,7 @@ Config.fromDynamoItem = (dynamoItem) => Config(dynamoItem);
995
996
  Config.toDynamoItem = (config) => ({
996
997
  slack: config.getSlackConfig(),
997
998
  handlers: config.getHandlers(),
999
+ defaults: config.getDefaults?.(),
998
1000
  contentAiConfig: config.getContentAiConfig(),
999
1001
  imports: config.getImports(),
1000
1002
  fetchConfig: config.getFetchConfig(),