aws-architect 6.7.71 → 6.7.77

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.
@@ -162,6 +162,7 @@ class BucketManager {
162
162
  Expiration: {
163
163
  Days: 365
164
164
  },
165
+ Prefix: '',
165
166
  NoncurrentVersionExpiration: {
166
167
  NoncurrentDays: 5
167
168
  },
@@ -16,12 +16,12 @@ LambdaManager.prototype.PublishNewVersion = async function(functionName, bucket,
16
16
  for (let iterationCount = 0; iterationCount < 60; iterationCount++) {
17
17
  try {
18
18
  const waiterResult = await this.LambdaFactory.waitFor('functionActive', { FunctionName: `${functionName}:${result.Version}` }).promise();
19
- if (waiterResult.Configuration.State === 'Active') {
19
+ if (waiterResult.State === 'Active') {
20
20
  break;
21
21
  }
22
22
  await new Promise(resolve => setTimeout(resolve, 1000));
23
23
  } catch (error) {
24
- //
24
+ console.error('Failed checking lambda status while publishing a new version', error);
25
25
  }
26
26
  }
27
27
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-architect",
3
- "version": "6.7.71",
3
+ "version": "6.7.77",
4
4
  "description": "AWS Architect is a node based tool to configure and deploy AWS-based microservices.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",