@adobe/spacecat-shared-google-client 1.4.24 → 1.4.26

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-google-client-v1.4.26](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-google-client-v1.4.25...@adobe/spacecat-shared-google-client-v1.4.26) (2025-05-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#743](https://github.com/adobe/spacecat-shared/issues/743)) ([afee6a7](https://github.com/adobe/spacecat-shared/commit/afee6a75d7cb6fb52d5fd18dbc5d74f2e73206f2))
7
+
8
+ # [@adobe/spacecat-shared-google-client-v1.4.25](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-google-client-v1.4.24...@adobe/spacecat-shared-google-client-v1.4.25) (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-google-client-v1.4.24](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-google-client-v1.4.23...@adobe/spacecat-shared-google-client-v1.4.24) (2025-05-11)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-google-client",
3
- "version": "1.4.24",
3
+ "version": "1.4.26",
4
4
  "description": "Shared modules of the Spacecat Services - Google Client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -37,8 +37,8 @@
37
37
  "@adobe/fetch": "4.2.1",
38
38
  "@adobe/helix-universal": "5.2.1",
39
39
  "@adobe/spacecat-shared-http-utils": "1.9.4",
40
- "@adobe/spacecat-shared-utils": "1.26.4",
41
- "@aws-sdk/client-secrets-manager": "3.806.0",
40
+ "@adobe/spacecat-shared-utils": "1.38.0",
41
+ "@aws-sdk/client-secrets-manager": "3.812.0",
42
42
  "aws-xray-sdk": "3.10.3",
43
43
  "google-auth-library": "9.15.1",
44
44
  "googleapis": "148.0.0"
package/src/index.js CHANGED
@@ -10,12 +10,12 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import AWSXray from 'aws-xray-sdk';
14
13
  import { google } from 'googleapis';
15
14
  import { OAuth2Client } from 'google-auth-library';
16
15
  import { GetSecretValueCommand, SecretsManagerClient } from '@aws-sdk/client-secrets-manager';
17
16
  import {
18
17
  composeAuditURL,
18
+ instrumentAWSClient,
19
19
  isArray,
20
20
  isInteger,
21
21
  isValidDate,
@@ -66,7 +66,7 @@ export default class GoogleClient {
66
66
  }
67
67
 
68
68
  const customerSecret = resolveCustomerSecretsName(baseURL, context);
69
- const client = AWSXray.captureAWSv3Client(new SecretsManagerClient({}));
69
+ const client = instrumentAWSClient(new SecretsManagerClient({}));
70
70
 
71
71
  try {
72
72
  const command = new GetSecretValueCommand({ SecretId: customerSecret });