@kumologica/sdk 3.2.0 → 3.2.1
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.
|
@@ -100,7 +100,6 @@ exports.builder = {
|
|
|
100
100
|
runtime: {
|
|
101
101
|
describe: "\nThe runtime, only nodejs runtimes allowed: nodejs12.x | nodejs14.x | nodejs16.x | ...",
|
|
102
102
|
type: 'string',
|
|
103
|
-
default: 'nodejs14.x',
|
|
104
103
|
alias: 'r',
|
|
105
104
|
nargs: 1
|
|
106
105
|
},
|
|
@@ -305,7 +304,7 @@ function validateJson(name, s) {
|
|
|
305
304
|
}
|
|
306
305
|
|
|
307
306
|
if (!(type === '[object Object]' || type === '[object Array]')) {
|
|
308
|
-
throw new Error (`Validation error: parameter '${name}' value is not in JSON format: '${s}'`);
|
|
307
|
+
throw new Error (`Validation error: parameter '${name}' value is not in JSON format: '${s}' actual type: ${type}`);
|
|
309
308
|
}
|
|
310
309
|
}
|
|
311
310
|
|
|
@@ -319,6 +318,9 @@ function validate(argv) {
|
|
|
319
318
|
if (argv.tags) {
|
|
320
319
|
validateJson("tags", argv.tags);
|
|
321
320
|
}
|
|
321
|
+
if (argv.policy) {
|
|
322
|
+
validateJson("policy", argv.policy);
|
|
323
|
+
}
|
|
322
324
|
if (argv["tracing-config"]) {
|
|
323
325
|
validateJson("tracing-config", argv["tracing-config"]);
|
|
324
326
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"productName": "Kumologica Designer",
|
|
4
4
|
"copyright": "Copyright 2020 Kumologica Pty Ltd, All Rights Reserved.",
|
|
5
5
|
"author": "Kumologica Pty Ltd <contact@kumologica.com>",
|
|
6
|
-
"version": "3.2.
|
|
6
|
+
"version": "3.2.1",
|
|
7
7
|
"description": "Kumologica Designer, harnessing Serverless for your cloud integration needs",
|
|
8
8
|
"main": "src/app/main.js",
|
|
9
9
|
"files": [
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"license": "Proprietary",
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@electron/remote": "^2.0.8",
|
|
67
|
-
"@kumologica/builder": "3.2.
|
|
68
|
-
"@kumologica/devkit": "3.2.
|
|
69
|
-
"@kumologica/runtime": "3.2.
|
|
67
|
+
"@kumologica/builder": "3.2.1",
|
|
68
|
+
"@kumologica/devkit": "3.2.1",
|
|
69
|
+
"@kumologica/runtime": "3.2.1",
|
|
70
70
|
"adm-zip": "0.4.13",
|
|
71
71
|
"ajv": "8.10.0",
|
|
72
72
|
"archive-type": "^4.0.0",
|