@infrascan/aws-cloudwatch-logs-scanner 0.2.2 → 0.2.3

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/dist/index.js CHANGED
@@ -26,8 +26,12 @@ module.exports = __toCommonJS(src_exports);
26
26
 
27
27
  // src/generated/client.ts
28
28
  var import_client_cloudwatch_logs = require("@aws-sdk/client-cloudwatch-logs");
29
- function getClient(credentials, context) {
30
- return new import_client_cloudwatch_logs.CloudWatchLogsClient({ credentials, region: context.region });
29
+ function getClient(credentials, context, retryStrategy) {
30
+ return new import_client_cloudwatch_logs.CloudWatchLogsClient({
31
+ credentials,
32
+ region: context.region,
33
+ retryStrategy
34
+ });
31
35
  }
32
36
 
33
37
  // src/generated/getters.ts
package/dist/index.mjs CHANGED
@@ -1,7 +1,11 @@
1
1
  // src/generated/client.ts
2
2
  import { CloudWatchLogsClient } from "@aws-sdk/client-cloudwatch-logs";
3
- function getClient(credentials, context) {
4
- return new CloudWatchLogsClient({ credentials, region: context.region });
3
+ function getClient(credentials, context, retryStrategy) {
4
+ return new CloudWatchLogsClient({
5
+ credentials,
6
+ region: context.region,
7
+ retryStrategy
8
+ });
5
9
  }
6
10
 
7
11
  // src/generated/getters.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrascan/aws-cloudwatch-logs-scanner",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Infrascan scanner definition for AWS Cloudwatch Logs",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -60,7 +60,7 @@
60
60
  "@aws-sdk/credential-providers": "^3.428.0",
61
61
  "@infrascan/aws-codegen": "^0.1.0",
62
62
  "@infrascan/fs-connector": "^0.2.2",
63
- "@infrascan/shared-types": "^0.2.2",
63
+ "@infrascan/shared-types": "^0.2.4",
64
64
  "aws-sdk-client-mock": "^3.0.0",
65
65
  "eslint-config-codegen": "^1.0.0",
66
66
  "tsconfig": "^0.0.0"