@uipath/maestro-builder-sdk 6.82.4 → 6.82.5

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.
@@ -1758,6 +1758,12 @@ function emitVariables(vars, ids, triggerNodeByRef, triggerNodes, triggers, coll
1758
1758
  id: slotId,
1759
1759
  name: vd.name,
1760
1760
  type: vd.type,
1761
+ // An Out-arg's formal slot names the root companion it returns through
1762
+ // `var`, as Studio Web saves it (`{ id, name, type, var }`). The case
1763
+ // converter's end event finds that companion by `output.var` alone
1764
+ // (PO.Frontend `buildOutputArgEndEventData`); a slot without it is dropped
1765
+ // from the end event, so the case finishes with the output never written.
1766
+ ...(vd.direction === 'out' ? { var: vd.name } : {}),
1761
1767
  // A trigger-bound In-arg always carries a default, `""` when none was
1762
1768
  // authored. It is written here, ahead of a structured var's schema, so
1763
1769
  // `{ type }` and `{ type, default: "" }` emit the same bytes and a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.82.4",
3
+ "version": "6.82.5",
4
4
  "description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.uipath.com/maestro",
@@ -103,5 +103,5 @@
103
103
  "@types/node": "^22.7.0",
104
104
  "esbuild": "^0.28.1"
105
105
  },
106
- "gitref": "de2f5b3d1b28484542a97405dc5a727dae7ac187"
106
+ "gitref": "4c46616520ed5bfb1bea108f4d4c5da60145e40f"
107
107
  }