@integry/sdk 4.6.60 → 4.6.62

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": "@integry/sdk",
3
- "version": "4.6.60",
3
+ "version": "4.6.62",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -275,9 +275,11 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
275
275
  }
276
276
  }
277
277
 
278
- const isFunctionSource = stepTagsSource.activity_output_url.includes(
278
+ const isFunctionSource = stepTagsSource?.activity_output_url.includes(
279
279
  'functions/',
280
280
  );
281
+ const isFunctionActivity =
282
+ stepTagsSource?.activity_type === 'FUNCTION';
281
283
  const tagSourceFunctionInvocationDetails =
282
284
  stepTagsSource.tag_source_function_invocation_details;
283
285
  const tagSourceFunctionBody =
@@ -325,6 +327,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
325
327
  stepTagsSource,
326
328
  sourceStepKey,
327
329
  true,
330
+ isFunctionActivity,
328
331
  );
329
332
  } else {
330
333
  props.setActivityOutputData({
@@ -516,9 +519,10 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
516
519
  stepTagsSource: any,
517
520
  sourceStepKey = '',
518
521
  isFunctionSource = false,
522
+ isFunctionActivity = false,
519
523
  ) => {
520
524
  if (integryObject) {
521
- const outputPrefix = isFunctionSource ? 'output' : 'out';
525
+ const outputPrefix = isFunctionActivity ? 'output' : 'out';
522
526
  try {
523
527
  let objectPaylaod = {};
524
528
  if (isFunctionSource) {