@adobe/spacecat-shared-content-client 1.6.13 → 1.6.15

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-content-client-v1.6.15](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.6.14...@adobe/spacecat-shared-content-client-v1.6.15) (2025-05-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update dependency @adobe/spacecat-helix-content-sdk to v1.4.6 ([#740](https://github.com/adobe/spacecat-shared/issues/740)) ([7084fbb](https://github.com/adobe/spacecat-shared/commit/7084fbb3d68020b93bc9854bdb50b614c904056a))
7
+
8
+ # [@adobe/spacecat-shared-content-client-v1.6.14](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.6.13...@adobe/spacecat-shared-content-client-v1.6.14) (2025-05-15)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * 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))
14
+
1
15
  # [@adobe/spacecat-shared-content-client-v1.6.13](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.6.12...@adobe/spacecat-shared-content-client-v1.6.13) (2025-05-13)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-content-client",
3
- "version": "1.6.13",
3
+ "version": "1.6.15",
4
4
  "description": "Shared modules of the Spacecat Services - Content Client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@adobe/helix-universal": "5.2.1",
38
- "@adobe/spacecat-helix-content-sdk": "1.4.5",
38
+ "@adobe/spacecat-helix-content-sdk": "1.4.6",
39
39
  "@adobe/spacecat-shared-data-access": "2.0.2",
40
- "@adobe/spacecat-shared-utils": "1.26.4",
40
+ "@adobe/spacecat-shared-utils": "1.38.0",
41
41
  "@aws-sdk/client-secrets-manager": "3.806.0",
42
42
  "aws-xray-sdk": "3.10.2",
43
43
  "graph-data-structure": "4.5.0"
@@ -9,10 +9,9 @@
9
9
  * OF ANY KIND, either express or implied. See the License for the specific language
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
- import AWSXray from 'aws-xray-sdk';
13
12
  import { createFrom as createContentSDKClient } from '@adobe/spacecat-helix-content-sdk';
14
13
  import {
15
- composeBaseURL, hasText, isObject, resolveCustomerSecretsName, tracingFetch,
14
+ composeBaseURL, hasText, instrumentAWSClient, isObject, resolveCustomerSecretsName, tracingFetch,
16
15
  } from '@adobe/spacecat-shared-utils';
17
16
  import { Graph, hasCycle } from 'graph-data-structure';
18
17
  import { GetSecretValueCommand, SecretsManagerClient } from '@aws-sdk/client-secrets-manager';
@@ -213,7 +212,7 @@ export default class ContentClient {
213
212
 
214
213
  try {
215
214
  const customerSecret = resolveCustomerSecretsName(site.getBaseURL(), context);
216
- const client = AWSXray.captureAWSv3Client(secretsManagerClient);
215
+ const client = instrumentAWSClient(secretsManagerClient);
217
216
  const command = new GetSecretValueCommand({ SecretId: customerSecret });
218
217
  const response = await client.send(command);
219
218
  const secrets = JSON.parse(response.SecretString);