@kumologica/sdk 3.4.0-beta11 → 3.4.0-beta12

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/cli/.DS_Store ADDED
Binary file
@@ -8,7 +8,7 @@ const { TestSuiteRunner } = require('./test-commands/TestSuiteRunner');
8
8
  const { DesignerServer } = require('../../src/server/DesignerServer');
9
9
  const { logError, logNotice, logInfo, logFatal } = require('../utils/logger');
10
10
 
11
- const isDirectory = util.isDirectorySync;
11
+ const isDirectory = util.isDir.sync;
12
12
 
13
13
 
14
14
  exports.command = 'test [project_directory]';
@@ -56,16 +56,20 @@ exports.handler = ({ project_directory, testcase, iterative }) => {
56
56
  }
57
57
 
58
58
  async function runTestOnNewServer(flowFilePath, testcaseSelected, iterative) {
59
- let designerServer = new DesignerServer(
60
- flowFilePath,
61
- false,
62
- {
59
+ let options = {
60
+ flowPath: flowFilePath,
61
+ safe: false,
62
+ cliParams: {
63
63
  loglevel: "error",
64
64
  noadmin: true
65
- });
65
+ }
66
+ }
67
+
68
+ let designerServer = new DesignerServer(options);
69
+
66
70
 
67
71
  try {
68
- await designerServer.listen();
72
+ await designerServer.start();
69
73
  logInfo(`> Flow file: ${path.resolve(flowFilePath)} \n`);
70
74
  let testSuiteRunner = new TestSuiteRunner(designerServer);
71
75
 
@@ -5,6 +5,10 @@ function logError(message) {
5
5
  console.log(chalk.red(message));
6
6
  }
7
7
 
8
+ function logFatal(message) {
9
+ console.log(chalk.red(message));
10
+ }
11
+
8
12
  function logNotice(message) {
9
13
  console.log(chalk.yellow(message));
10
14
  }
@@ -16,5 +20,6 @@ function logInfo(message) {
16
20
  module.exports = {
17
21
  logError,
18
22
  logNotice,
19
- logInfo
23
+ logInfo,
24
+ logFatal
20
25
  }
Binary file
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.4.0-beta11",
6
+ "version": "3.4.0-beta12",
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.4.0-beta11",
68
- "@kumologica/devkit": "3.4.0-beta11",
69
- "@kumologica/runtime": "3.4.0-beta11",
67
+ "@kumologica/builder": "3.4.0-beta12",
68
+ "@kumologica/devkit": "3.4.0-beta12",
69
+ "@kumologica/runtime": "3.4.0-beta12",
70
70
  "adm-zip": "0.4.13",
71
71
  "ajv": "8.10.0",
72
72
  "archive-type": "^4.0.0",
@@ -26664,7 +26664,7 @@ RED.sidebar.azure = (function () {
26664
26664
 
26665
26665
  // On select tab option
26666
26666
  $('#exp-open-project').on(
26667
- 'tree.select',
26667
+ 'tree.dblclick',
26668
26668
  function (event) {
26669
26669
  event.stopImmediatePropagation();
26670
26670
  if (event.node) {