@adobe/spacecat-shared-data-access 1.5.0 → 1.5.1
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,10 @@
|
|
|
1
|
+
# [@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)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 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))
|
|
7
|
+
|
|
1
8
|
# [@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
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -207,7 +207,11 @@ export const addAudit = async (
|
|
|
207
207
|
);
|
|
208
208
|
|
|
209
209
|
if (isObject(latestAudit)) {
|
|
210
|
-
newAudit.setPreviousAuditResult(
|
|
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
|