@adobe/spacecat-shared-data-access 3.21.0 → 3.22.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.22.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.21.0...@adobe/spacecat-shared-data-access-v3.22.0) (2026-03-17)
2
+
3
+ ### Features
4
+
5
+ * support boolean and timestamp for edgeOptimizeConfig.enabled ([#1441](https://github.com/adobe/spacecat-shared/issues/1441)) ([2fb173d](https://github.com/adobe/spacecat-shared/commit/2fb173da507df98c0a64977f90181ec501492c88))
6
+
1
7
  ## [@adobe/spacecat-shared-data-access-v3.21.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v3.20.1...@adobe/spacecat-shared-data-access-v3.21.0) (2026-03-16)
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.21.0",
3
+ "version": "3.22.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -366,7 +366,12 @@ export const configSchema = Joi.object({
366
366
  forwardedHost: Joi.string().optional(),
367
367
  }).optional(),
368
368
  edgeOptimizeConfig: Joi.object({
369
- enabled: Joi.boolean().optional(),
369
+ enabled: Joi.alternatives()
370
+ .try(
371
+ Joi.boolean(),
372
+ Joi.number(),
373
+ )
374
+ .optional(),
370
375
  opted: Joi.number().optional(),
371
376
  stagingDomains: Joi.array().items(
372
377
  Joi.object({