@kumologica/sdk 3.5.0-beta2 → 3.5.0-beta3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumologica/sdk",
3
- "version": "3.5.0-beta2",
3
+ "version": "3.5.0-beta3",
4
4
  "productName": "Kumologica Designer",
5
5
  "copyright": "Copyright 2020 Kumologica Pty Ltd, All Rights Reserved.",
6
6
  "author": "Kumologica Pty Ltd <contact@kumologica.com>",
@@ -75,9 +75,9 @@
75
75
  "@aws-sdk/client-sqs": "^3.556.0",
76
76
  "@aws-sdk/credential-providers": "^3.556.0",
77
77
  "@electron/remote": "^2.0.8",
78
- "@kumologica/builder": "3.5.0-beta2",
79
- "@kumologica/devkit": "3.5.0-beta2",
80
- "@kumologica/runtime": "3.5.0-beta2",
78
+ "@kumologica/builder": "3.5.0-beta3",
79
+ "@kumologica/devkit": "3.5.0-beta3",
80
+ "@kumologica/runtime": "3.5.0-beta3",
81
81
  "adm-zip": "0.4.13",
82
82
  "ajv": "8.10.0",
83
83
  "archive-type": "^4.0.0",
@@ -178,6 +178,6 @@
178
178
  "node": ">=18"
179
179
  },
180
180
  "kumologica": {
181
- "dev": true
181
+ "dev": false
182
182
  }
183
183
  }
@@ -583,12 +583,13 @@ if (s.cwevents && s.cwevents.length > 0) {
583
583
  this.log('Starting cloudformation stack...');
584
584
 
585
585
  let stack = {};
586
+ const client = this.cf;
586
587
  try {
587
588
  const { CreateStackCommand, waitUntilStackCreateComplete, AlreadyExistsException } = require("@aws-sdk/client-cloudformation");
588
589
  stack = await this.cf.send(new CreateStackCommand(stackParams));
589
590
 
590
591
  this.log('Waiting for stack create complete...');
591
- const client = this.cf;
592
+
592
593
  await waitUntilStackCreateComplete(
593
594
  { client, maxWaitTime: 600 },
594
595
  { StackName: stackParams.StackName })
@@ -619,7 +620,7 @@ if (s.cwevents && s.cwevents.length > 0) {
619
620
 
620
621
  async describeStack(stackName) {
621
622
  const { DescribeStacksCommand } = require("@aws-sdk/client-cloudformation");
622
- return this.cf.send(new DescribeStacksCommand({ StackName: stackName }));
623
+ return await this.cf.send(new DescribeStacksCommand({ StackName: stackName }));
623
624
  }
624
625
 
625
626
  /*