@adobe/spacecat-shared-data-access 2.19.0 → 2.19.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-v2.19.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.19.0...@adobe/spacecat-shared-data-access-v2.19.1) (2025-05-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * local development friendly aws clients and sqs wrapper ([#739](https://github.com/adobe/spacecat-shared/issues/739)) ([fada9c6](https://github.com/adobe/spacecat-shared/commit/fada9c6fc0508ba6acf46a4416593427b67306dd))
7
+
1
8
  # [@adobe/spacecat-shared-data-access-v2.19.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v2.18.0...@adobe/spacecat-shared-data-access-v2.19.0) (2025-05-14)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-data-access",
3
- "version": "2.19.0",
3
+ "version": "2.19.1",
4
4
  "description": "Shared modules of the Spacecat Services - Data Access",
5
5
  "type": "module",
6
6
  "engines": {
@@ -34,7 +34,7 @@
34
34
  "access": "public"
35
35
  },
36
36
  "dependencies": {
37
- "@adobe/spacecat-shared-utils": "1.33.1",
37
+ "@adobe/spacecat-shared-utils": "1.38.0",
38
38
  "@aws-sdk/client-dynamodb": "3.806.0",
39
39
  "@aws-sdk/lib-dynamodb": "3.806.0",
40
40
  "@types/joi": "17.2.3",
@@ -12,9 +12,9 @@
12
12
 
13
13
  import { DynamoDB } from '@aws-sdk/client-dynamodb';
14
14
  import { DynamoDBDocument } from '@aws-sdk/lib-dynamodb';
15
- import AWSXray from 'aws-xray-sdk';
16
15
  import { Service } from 'electrodb';
17
16
 
17
+ import { instrumentAWSClient } from '@adobe/spacecat-shared-utils';
18
18
  import { EntityRegistry } from '../models/index.js';
19
19
 
20
20
  export * from '../errors/index.js';
@@ -22,7 +22,7 @@ export * from '../models/index.js';
22
22
  export * from '../util/index.js';
23
23
 
24
24
  const createRawClient = (client = undefined) => {
25
- const dbClient = client || AWSXray.captureAWSv3Client(new DynamoDB());
25
+ const dbClient = instrumentAWSClient(client || new DynamoDB());
26
26
  return DynamoDBDocument.from(dbClient, {
27
27
  marshallOptions: {
28
28
  convertEmptyValues: true,