@adobe/spacecat-shared-data-access 2.33.4 → 2.33.6
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 +14 -0
- package/package.json +4 -4
- package/src/models/audit/audit.model.js +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.33.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.33.5...@adobe/spacecat-shared-data-access-v2.33.6) (2025-07-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update external fixes ([#845](https://github.com/adobe/spacecat-shared/issues/845)) ([23bd3a2](https://github.com/adobe/spacecat-shared/commit/23bd3a2235686480cb89d6379276d9ed000baea3))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-data-access-v2.33.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.33.4...@adobe/spacecat-shared-data-access-v2.33.5) (2025-07-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* adding pageUrl and urlConfigs to import worker payload formatter ([#833](https://github.com/adobe/spacecat-shared/issues/833)) ([b9e7254](https://github.com/adobe/spacecat-shared/commit/b9e7254107b8690df0a414a80b4c9afce8f3a994))
|
|
14
|
+
|
|
1
15
|
# [@adobe/spacecat-shared-data-access-v2.33.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.33.3...@adobe/spacecat-shared-data-access-v2.33.4) (2025-07-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.33.
|
|
3
|
+
"version": "2.33.6",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - Data Access",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@adobe/spacecat-shared-utils": "1.39.1",
|
|
39
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
40
|
-
"@aws-sdk/lib-dynamodb": "3.
|
|
39
|
+
"@aws-sdk/client-dynamodb": "3.844.0",
|
|
40
|
+
"@aws-sdk/lib-dynamodb": "3.844.0",
|
|
41
41
|
"@types/joi": "17.2.3",
|
|
42
42
|
"aws-xray-sdk": "3.10.3",
|
|
43
43
|
"electrodb": "3.4.3",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"uuid": "11.1.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"chai": "5.2.
|
|
49
|
+
"chai": "5.2.1",
|
|
50
50
|
"chai-as-promised": "8.0.1",
|
|
51
51
|
"dynamo-db-local": "9.6.0",
|
|
52
52
|
"nock": "14.0.5",
|
|
@@ -94,6 +94,9 @@ class Audit extends BaseModel {
|
|
|
94
94
|
* @param {object} stepResult - The result of the audit step.
|
|
95
95
|
* @param {string} stepResult.type - The import type to trigger.
|
|
96
96
|
* @param {string} stepResult.siteId - The site ID for which the import is triggered.
|
|
97
|
+
* @param {string} stepResult.pageUrl - The page URL for which the import is triggered.
|
|
98
|
+
* @param {object[]} stepResult.urlConfigs - The list of URL configs for which the import is
|
|
99
|
+
* triggered.
|
|
97
100
|
* @param {object} auditContext - The audit context.
|
|
98
101
|
* @param {object} auditContext.next - The next audit step to run.
|
|
99
102
|
* @param {string} auditContext.auditId - The audit ID.
|
|
@@ -107,6 +110,8 @@ class Audit extends BaseModel {
|
|
|
107
110
|
formatPayload: (stepResult, auditContext) => ({
|
|
108
111
|
type: stepResult.type,
|
|
109
112
|
siteId: stepResult.siteId,
|
|
113
|
+
pageUrl: stepResult.pageUrl,
|
|
114
|
+
urlConfigs: stepResult.urlConfigs,
|
|
110
115
|
allowCache: true,
|
|
111
116
|
auditContext,
|
|
112
117
|
}),
|