@kumologica/sdk 3.5.0-beta2 → 3.5.0-beta4
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 +5 -5
- package/src/app/lib/aws/index.js +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kumologica/sdk",
|
|
3
|
-
"version": "3.5.0-
|
|
3
|
+
"version": "3.5.0-beta4",
|
|
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-
|
|
79
|
-
"@kumologica/devkit": "3.5.0-
|
|
80
|
-
"@kumologica/runtime": "3.5.0-
|
|
78
|
+
"@kumologica/builder": "3.5.0-beta4",
|
|
79
|
+
"@kumologica/devkit": "3.5.0-beta4",
|
|
80
|
+
"@kumologica/runtime": "3.5.0-beta4",
|
|
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":
|
|
181
|
+
"dev": false
|
|
182
182
|
}
|
|
183
183
|
}
|
package/src/app/lib/aws/index.js
CHANGED
|
@@ -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
|
-
|
|
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
|
/*
|