@adobe/spacecat-shared-data-access 1.5.0 → 1.5.2

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-v1.5.2](https://github.com/adobe-rnd/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.5.1...@adobe/spacecat-shared-data-access-v1.5.2) (2023-12-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#76](https://github.com/adobe-rnd/spacecat-shared/issues/76)) ([5b74623](https://github.com/adobe-rnd/spacecat-shared/commit/5b74623a4accfb601b607170f9bd67fb380f5c84))
7
+
8
+ # [@adobe/spacecat-shared-data-access-v1.5.1](https://github.com/adobe-rnd/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.5.0...@adobe/spacecat-shared-data-access-v1.5.1) (2023-12-27)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * include audit ref and audited at ([#75](https://github.com/adobe-rnd/spacecat-shared/issues/75)) ([e573c90](https://github.com/adobe-rnd/spacecat-shared/commit/e573c903851d88c7293caa5e5a9af763987edb3a))
14
+
1
15
  # [@adobe/spacecat-shared-data-access-v1.5.0](https://github.com/adobe-rnd/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.4.4...@adobe/spacecat-shared-data-access-v1.5.0) (2023-12-26)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -31,8 +31,8 @@
31
31
  "dependencies": {
32
32
  "@adobe/spacecat-shared-dynamo": "1.2.5",
33
33
  "@adobe/spacecat-shared-utils": "1.2.0",
34
- "@aws-sdk/client-dynamodb": "3.478.0",
35
- "@aws-sdk/lib-dynamodb": "3.478.0",
34
+ "@aws-sdk/client-dynamodb": "3.484.0",
35
+ "@aws-sdk/lib-dynamodb": "3.484.0",
36
36
  "uuid": "9.0.1"
37
37
  },
38
38
  "devDependencies": {
@@ -207,7 +207,11 @@ export const addAudit = async (
207
207
  );
208
208
 
209
209
  if (isObject(latestAudit)) {
210
- newAudit.setPreviousAuditResult(latestAudit.getAuditResult());
210
+ newAudit.setPreviousAuditResult({
211
+ ...latestAudit.getAuditResult(),
212
+ auditedAt: latestAudit.getAuditedAt(),
213
+ fullAuditRef: latestAudit.getFullAuditRef(),
214
+ });
211
215
  }
212
216
 
213
217
  // TODO: Add transaction support