aws-architect 6.7.118 → 6.7.124

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/index.js CHANGED
@@ -293,7 +293,7 @@ class AwsArchitect {
293
293
  try {
294
294
  let indexPath = path.join(this.SourceDirectory, 'index.js');
295
295
  let api = require(indexPath);
296
- let server = new Server(this.ContentOptions.contentDirectory, api, logger);
296
+ let server = new Server(this.ContentOptions.contentDirectory, api.default || api, logger);
297
297
  let attemptPort = port || 8080;
298
298
  let resolvedPort = await server.Run(attemptPort);
299
299
  if (resolvedPort !== attemptPort) {
@@ -377,7 +377,7 @@ class CloudFormationDeployer {
377
377
  const newRegions = options.regions.filter(r => !existingRegions.some(e => e === r));
378
378
 
379
379
  // If the stack already existed, and there are no new regions, all the stacks are updated then check to see if the template matches the new template
380
- if (stackExists && !newRegions && existingStacks.every(s => s.Status === 'CURRENT')) {
380
+ if (stackExists && !newRegions.length && existingStacks.every(s => s.Status === 'CURRENT')) {
381
381
  const regionStacks = await this.cloudFormationClient.listStacks({ StackStatusFilter: ['CONFIGURATION_COMPLETE', 'CREATE_COMPLETE', 'UPDATE_COMPLETE', 'UPDATE_ROLLBACK_COMPLETE'] }).promise()
382
382
  .then(r => r.StackSummaries);
383
383
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-architect",
3
- "version": "6.7.118",
3
+ "version": "6.7.124",
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",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",
56
- "url": "git+https://github.com/Rhosys/aws-architect.js.git"
56
+ "url": "git+https://github.com/Authress-Engineering/aws-architect.js"
57
57
  },
58
58
  "keywords": [
59
59
  "aws",
@@ -70,12 +70,12 @@
70
70
  "amazon web services",
71
71
  "dynamodb"
72
72
  ],
73
- "author": "Rhosys Developers <developers@rhosys.ch> (https://rhosys.ch)",
73
+ "author": "Authress Developers <developers@authress.io> (https://authress.io)",
74
74
  "license": "Apache-2.0",
75
75
  "bugs": {
76
- "url": "https://github.com/Rhosys/aws-architect.js/issues"
76
+ "url": "https://github.com/Authress-Engineering/aws-architect.js/issues"
77
77
  },
78
- "homepage": "https://github.com/Rhosys/aws-architect.js#readme",
78
+ "homepage": "https://github.com/Authress-Engineering/aws-architect.js#readme",
79
79
  "engines": {
80
80
  "node": ">=12.20"
81
81
  }