@integry/sdk 4.6.61 → 4.6.63

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.61",
3
+ "version": "4.6.63",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -285,7 +285,7 @@ const ListBox = (props: ListBoxProps) => {
285
285
  setLoading(true);
286
286
  let data;
287
287
  try {
288
- if (endpointUrl.indexOf('/functions/') !== -1) {
288
+ if (endpointData) {
289
289
  data = JSON.parse(endpointData) || {};
290
290
  } else {
291
291
  data = {};
@@ -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 ? 'out' : 'out';
525
+ const outputPrefix = isFunctionActivity ? 'output' : 'out';
522
526
  try {
523
527
  let objectPaylaod = {};
524
528
  if (isFunctionSource) {