@uipath/maestro-builder-sdk 6.46.0 → 6.46.1

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.
@@ -39,9 +39,18 @@ export function checkCaseExpressions(built) {
39
39
  // task output is not flagged as an undeclared reference.
40
40
  for (const stage of built.stages)
41
41
  for (const lane of stage.lanes)
42
- for (const task of lane)
42
+ for (const task of lane) {
43
43
  for (const o of task.outputs ?? [])
44
44
  roots.add(o.var);
45
+ // A human task's form outputs declare one too: the field's `value` is the
46
+ // variable the assignee's answer lands in (`.action({ outputs: [{ name:
47
+ // 'Action', value: 'decision' }] })` → `vars.decision`). The serializer
48
+ // registers exactly that companion (`emitActionField`), so a gate on it
49
+ // is a declared read, not a typo.
50
+ for (const f of task.action?.outputs ?? [])
51
+ if (f.value)
52
+ roots.add(f.value);
53
+ }
45
54
  // Event-trigger payload extractions declare readable case variables too.
46
55
  for (const t of built.triggers)
47
56
  for (const o of t.eventOutputs ?? [])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.46.0",
3
+ "version": "6.46.1",
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",
@@ -93,5 +93,5 @@
93
93
  "@types/node": "^22.7.0",
94
94
  "esbuild": "^0.28.1"
95
95
  },
96
- "gitref": "b61f819d0271c38d3231a0183daeb2a5f880f9a4"
96
+ "gitref": "c6f5b341abc0adecb1e1dd3bffee2126aa0f01cc"
97
97
  }