@adobe/spacecat-shared-data-access 2.100.1 → 2.101.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,17 @@
1
+ # [@adobe/spacecat-shared-data-access-v2.101.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.100.2...@adobe/spacecat-shared-data-access-v2.101.0) (2026-02-04)
2
+
3
+
4
+ ### Features
5
+
6
+ * update audit destination scrapeClient ([#1313](https://github.com/adobe/spacecat-shared/issues/1313)) ([d050937](https://github.com/adobe/spacecat-shared/commit/d0509370042ec48e8493496ba4b7d52d249c3689))
7
+
8
+ # [@adobe/spacecat-shared-data-access-v2.100.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.100.1...@adobe/spacecat-shared-data-access-v2.100.2) (2026-02-03)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * opted changed to timestamp ([#1306](https://github.com/adobe/spacecat-shared/issues/1306)) ([24d34dc](https://github.com/adobe/spacecat-shared/commit/24d34dc9353460043441335ddb4f2a4f8b41584f))
14
+
1
15
  # [@adobe/spacecat-shared-data-access-v2.100.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.100.0...@adobe/spacecat-shared-data-access-v2.100.1) (2026-02-02)
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.100.1",
3
+ "version": "2.101.0",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -201,10 +201,13 @@ class Audit extends BaseModel {
201
201
  processingType: stepResult.processingType || 'default',
202
202
  options: stepResult.options || {},
203
203
  maxScrapeAge: isNumber(stepResult.maxScrapeAge) ? stepResult.maxScrapeAge : 24,
204
- auditData: {
205
- siteId: stepResult.siteId,
206
- completionQueueUrl: stepResult.completionQueueUrl || context.env?.AUDIT_JOBS_QUEUE_URL,
207
- auditContext,
204
+ metaData: {
205
+ auditData: {
206
+ siteId: stepResult.siteId,
207
+ completionQueueUrl:
208
+ stepResult.completionQueueUrl || context.env?.AUDIT_JOBS_QUEUE_URL || '',
209
+ auditContext,
210
+ },
208
211
  },
209
212
  };
210
213
 
@@ -343,7 +343,7 @@ export const configSchema = Joi.object({
343
343
  }).optional(),
344
344
  edgeOptimizeConfig: Joi.object({
345
345
  enabled: Joi.boolean().required(),
346
- opted: Joi.boolean().optional(),
346
+ opted: Joi.number().optional(),
347
347
  }).optional(),
348
348
  contentAiConfig: Joi.object({
349
349
  index: Joi.string().optional(),