@adobe/spacecat-shared-data-access 2.88.4 → 2.88.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
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-data-access-v2.88.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.88.5...@adobe/spacecat-shared-data-access-v2.88.6) (2025-11-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* adds executedAt as default createdAt for indexing fixEntity suggestion relationship ([#1177](https://github.com/adobe/spacecat-shared/issues/1177)) ([1db57ad](https://github.com/adobe/spacecat-shared/commit/1db57ade028db638b2185860bebcd4c4187c261e))
|
|
7
|
+
|
|
8
|
+
# [@adobe/spacecat-shared-data-access-v2.88.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.88.4...@adobe/spacecat-shared-data-access-v2.88.5) (2025-11-28)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* package lock ([#1185](https://github.com/adobe/spacecat-shared/issues/1185)) ([d0708cc](https://github.com/adobe/spacecat-shared/commit/d0708cc8b7cbbea35a4440d684db2b3613240469))
|
|
14
|
+
* revert release to node 24 ([#1183](https://github.com/adobe/spacecat-shared/issues/1183)) ([e662259](https://github.com/adobe/spacecat-shared/commit/e66225930c1f56fbc6e8898d37d06f777e6ee356)), closes [#1182](https://github.com/adobe/spacecat-shared/issues/1182)
|
|
15
|
+
|
|
1
16
|
# [@adobe/spacecat-shared-data-access-v2.88.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.88.3...@adobe/spacecat-shared-data-access-v2.88.4) (2025-11-28)
|
|
2
17
|
|
|
3
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spacecat-shared-data-access",
|
|
3
|
-
"version": "2.88.
|
|
3
|
+
"version": "2.88.6",
|
|
4
4
|
"description": "Shared modules of the Spacecat Services - Data Access",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@adobe/spacecat-shared-utils": "1.81.
|
|
42
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
43
|
-
"@aws-sdk/lib-dynamodb": "3.
|
|
41
|
+
"@adobe/spacecat-shared-utils": "1.81.1",
|
|
42
|
+
"@aws-sdk/client-dynamodb": "3.940.0",
|
|
43
|
+
"@aws-sdk/lib-dynamodb": "3.940.0",
|
|
44
44
|
"@types/joi": "17.2.3",
|
|
45
45
|
"aws-xray-sdk": "3.12.0",
|
|
46
46
|
"electrodb": "3.5.0",
|
|
@@ -91,7 +91,7 @@ class FixEntityCollection extends BaseCollection {
|
|
|
91
91
|
|
|
92
92
|
// Extract IDs and other values from entities
|
|
93
93
|
const fixEntityId = fixEntity.getId();
|
|
94
|
-
const fixEntityCreatedAt = fixEntity.getCreatedAt();
|
|
94
|
+
const fixEntityCreatedAt = fixEntity.getExecutedAt() || fixEntity.getCreatedAt();
|
|
95
95
|
const suggestionIds = suggestions.map((suggestion) => suggestion.getId());
|
|
96
96
|
|
|
97
97
|
try {
|
|
@@ -185,7 +185,8 @@ class Opportunity extends BaseModel {
|
|
|
185
185
|
fixEntityCreateResult.createdItems.forEach((createdFixEntity, index) => {
|
|
186
186
|
const originalFixEntity = fixEntitiesToCreate[index];
|
|
187
187
|
const fixEntityId = createdFixEntity.getId();
|
|
188
|
-
const fixEntityCreatedAt = createdFixEntity.
|
|
188
|
+
const fixEntityCreatedAt = createdFixEntity.getExecutedAt()
|
|
189
|
+
|| createdFixEntity.getCreatedAt();
|
|
189
190
|
|
|
190
191
|
originalFixEntity.suggestions.forEach((suggestionId) => {
|
|
191
192
|
junctionRecordsToCreate.push({
|