@adobe/spacecat-shared-data-access 1.41.3 → 1.41.5

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-v1.41.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.41.4...@adobe/spacecat-shared-data-access-v1.41.5) (2024-08-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#332](https://github.com/adobe/spacecat-shared/issues/332)) ([b2bb2a4](https://github.com/adobe/spacecat-shared/commit/b2bb2a4dd1a0995c36cd2b64510b7c4e0e05436f))
7
+ * **tests:** temporarily disable flaky tests ([#335](https://github.com/adobe/spacecat-shared/issues/335)) ([40008c1](https://github.com/adobe/spacecat-shared/commit/40008c1a29be5bc7766ed71366c9b9262c9db8c2))
8
+
9
+ # [@adobe/spacecat-shared-data-access-v1.41.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.41.3...@adobe/spacecat-shared-data-access-v1.41.4) (2024-08-16)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * Add id to api-key DTO ([#330](https://github.com/adobe/spacecat-shared/issues/330)) ([aa451ab](https://github.com/adobe/spacecat-shared/commit/aa451abf7b0178412803b553fe9a39f47e958c02))
15
+
1
16
  # [@adobe/spacecat-shared-data-access-v1.41.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.41.2...@adobe/spacecat-shared-data-access-v1.41.3) (2024-08-15)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "1.41.3",
3
+ "version": "1.41.5",
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.624.0",
35
- "@aws-sdk/lib-dynamodb": "3.624.0",
34
+ "@aws-sdk/client-dynamodb": "3.632.0",
35
+ "@aws-sdk/lib-dynamodb": "3.632.0",
36
36
  "@types/joi": "17.2.3",
37
37
  "joi": "17.13.3",
38
38
  "uuid": "10.0.0"
@@ -21,6 +21,7 @@ export const ApiKeyDto = {
21
21
  * imsOrgId: *, expiresAt: *}}
22
22
  */
23
23
  toDynamoItem: (apiKey) => ({
24
+ id: apiKey.getId(),
24
25
  hashedApiKey: apiKey.getHashedApiKey(),
25
26
  name: apiKey.getName(),
26
27
  imsUserId: apiKey.getImsUserId(),
@@ -38,6 +39,7 @@ export const ApiKeyDto = {
38
39
  */
39
40
  fromDynamoItem: (dynamoItem) => {
40
41
  const apiKeyData = {
42
+ id: dynamoItem.id,
41
43
  hashedApiKey: dynamoItem.hashedApiKey,
42
44
  name: dynamoItem.name,
43
45
  imsUserId: dynamoItem.imsUserId,