@pxp-nd/flow 1.0.97 → 1.0.99

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.
@@ -326,14 +326,18 @@ let Flow = class Flow extends core_1.Controller {
326
326
  }
327
327
  }
328
328
  if (flowIdDel.action.actionType.name === 'CHAINED FLOW') {
329
+ console.log('CHAINED');
329
330
  if (((_a = flowIdDel.action) === null || _a === void 0 ? void 0 : _a.configJsonTemplate) && flowIdDel.actionConfigJson) {
330
331
  try {
331
332
  const parsedConfig = JSON.parse(flowIdDel.action.configJsonTemplate);
332
333
  const parsedValues = JSON.parse(flowIdDel.actionConfigJson);
334
+ console.log('parsedConfig', parsedConfig);
335
+ console.log('parsedValues', parsedValues);
333
336
  if (parsedConfig.deleteController && parsedValues.flowId) {
334
337
  const params = {
335
338
  flowId: parsedValues.flowId,
336
339
  };
340
+ console.log('params', params);
337
341
  const config = {
338
342
  method: "post",
339
343
  url: `http://localhost:${process.env.PORT}/api/${parsedConfig.addController}`,
@@ -343,6 +347,7 @@ let Flow = class Flow extends core_1.Controller {
343
347
  },
344
348
  data: params,
345
349
  };
350
+ console.log('config', config);
346
351
  const resControllerAxios = await (0, axios_1.default)(config);
347
352
  }
348
353
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pxp-nd/flow",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "description": "Workflow module for pxp-nd framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",