@integry/sdk 4.6.3 → 4.6.4

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.3",
3
+ "version": "4.6.4",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -247,7 +247,11 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
247
247
  (stepMapping[stepIdOfSourceStep].step.machine_name ===
248
248
  sourceStepKey ||
249
249
  stepMapping[stepIdOfSourceStep].step.machine_name ===
250
- stepTagsSource.form_step_machine_name) &&
250
+ stepTagsSource.form_step_machine_name ||
251
+ (stepTagsSource.tag_source_function_invocation_details &&
252
+ stepTagsSource.app_id ===
253
+ stepMapping[stepIdOfSourceStep].step?.authorization_type?.app
254
+ ?.id)) &&
251
255
  !props.genericData.isTestIntegration
252
256
  ) {
253
257
  hasSetData = true;
@@ -282,7 +286,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
282
286
  ? this.makeTagSourceFunctionBody(
283
287
  tagSourceFunctionInvocationDetails.body,
284
288
  sourceStepData,
285
- stepTagsSource.form_step_machine_name,
289
+ stepMapping[stepIdOfSourceStep].step.machine_name || '',
286
290
  )
287
291
  : {};
288
292
  const callDynamicDataEndpointMethod = isFunctionSource
@@ -301,6 +305,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
301
305
  new URL(stepTagsSource.activity_output_url),
302
306
  {
303
307
  authorization_id: `${props.stepMapping[stepIdOfSourceStep].selectedAuthId}`,
308
+ connected_account_id: `${props.stepMapping[stepIdOfSourceStep].selectedAuthId}`,
304
309
  ...sourceStepData,
305
310
  ...tagSourceFunctionBody,
306
311
  },