serverless-vpc-discovery 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,11 +18,11 @@ const client_ec2_1 = require("@aws-sdk/client-ec2");
18
18
  const globals_1 = __importDefault(require("../globals"));
19
19
  class EC2Wrapper {
20
20
  constructor(credentials) {
21
- this.ec2 = new client_ec2_1.EC2Client([{
22
- credentials,
23
- region: globals_1.default.getRegion(),
24
- retryStrategy: globals_1.default.getRetryStrategy()
25
- }]);
21
+ this.ec2 = new client_ec2_1.EC2Client({
22
+ credentials,
23
+ region: globals_1.default.getRegion(),
24
+ retryStrategy: globals_1.default.getRetryStrategy()
25
+ });
26
26
  }
27
27
  /**
28
28
  * Returns the promise that contains the vpc list
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverless-vpc-discovery",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "engines": {
5
5
  "node": ">=14"
6
6
  },