@uipath/maestro-builder-sdk 6.41.0 → 6.41.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.
|
@@ -55,7 +55,7 @@ type SpecLike = {
|
|
|
55
55
|
* The author-declared exits of `spec`, or a `NoExits` explaining why there are
|
|
56
56
|
* none to route.
|
|
57
57
|
*/
|
|
58
|
-
export declare function declaredExits(spec: SpecLike | undefined
|
|
58
|
+
export declare function declaredExits(spec: SpecLike | undefined): DeclaredExit[] | NoExits;
|
|
59
59
|
/** Narrowing helper — `declaredExits` returns one or the other. */
|
|
60
60
|
export declare function hasExits(r: DeclaredExit[] | NoExits): r is DeclaredExit[];
|
|
61
61
|
export {};
|
package/dist/core/step-ports.js
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* The author-declared exits of `spec`, or a `NoExits` explaining why there are
|
|
27
27
|
* none to route.
|
|
28
28
|
*/
|
|
29
|
-
export function declaredExits(spec
|
|
29
|
+
export function declaredExits(spec) {
|
|
30
30
|
const kind = spec && 'kind' in spec ? spec.kind : undefined;
|
|
31
31
|
return {
|
|
32
32
|
reason: `a ${kind ?? 'custom'} step declares no author-named exits`,
|
package/dist/flow-step-exits.js
CHANGED
|
@@ -23,7 +23,7 @@ export function stepExits(spec, pinnedVersion) {
|
|
|
23
23
|
return raw;
|
|
24
24
|
const entry = typeof spec?.kind === 'string' ? FLOW_NODE_TYPES.byKind(spec.kind, spec) : undefined;
|
|
25
25
|
if (!entry)
|
|
26
|
-
return declaredExits(spec
|
|
26
|
+
return declaredExits(spec);
|
|
27
27
|
let impl;
|
|
28
28
|
try {
|
|
29
29
|
impl = resolveVersion(entry.type, spec, pinnedVersion, 'exits');
|
|
@@ -31,5 +31,5 @@ export function stepExits(spec, pinnedVersion) {
|
|
|
31
31
|
catch {
|
|
32
32
|
impl = resolveVersion(entry.type, spec, undefined, 'exits');
|
|
33
33
|
}
|
|
34
|
-
return impl.exits?.(spec, pinnedVersion) ?? declaredExits(spec
|
|
34
|
+
return impl.exits?.(spec, pinnedVersion) ?? declaredExits(spec);
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.41.
|
|
3
|
+
"version": "6.41.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": "
|
|
96
|
+
"gitref": "33d3681001ebbd858c7f3f2ec8a121cce7d56bbb"
|
|
97
97
|
}
|