@juhuu/sdk-ts 1.2.268 → 1.2.269
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/dist/index.js +8 -2
- package/dist/index.mjs +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3751,8 +3751,14 @@ var FlowsService = class extends Service {
|
|
|
3751
3751
|
}
|
|
3752
3752
|
execInput[key] = value;
|
|
3753
3753
|
}
|
|
3754
|
-
const
|
|
3755
|
-
|
|
3754
|
+
const response = await this.execute({
|
|
3755
|
+
flowId: finalFlowId,
|
|
3756
|
+
input: execInput
|
|
3757
|
+
});
|
|
3758
|
+
if (!response.ok) {
|
|
3759
|
+
throw new Error(`Failed to execute flow: ${response.data?.message || "Unknown error"}`);
|
|
3760
|
+
}
|
|
3761
|
+
return { output: response.data.output };
|
|
3756
3762
|
},
|
|
3757
3763
|
"end.custom": async (inputs) => {
|
|
3758
3764
|
return { output: { ...inputs } };
|
package/dist/index.mjs
CHANGED
|
@@ -3707,8 +3707,14 @@ var FlowsService = class extends Service {
|
|
|
3707
3707
|
}
|
|
3708
3708
|
execInput[key] = value;
|
|
3709
3709
|
}
|
|
3710
|
-
const
|
|
3711
|
-
|
|
3710
|
+
const response = await this.execute({
|
|
3711
|
+
flowId: finalFlowId,
|
|
3712
|
+
input: execInput
|
|
3713
|
+
});
|
|
3714
|
+
if (!response.ok) {
|
|
3715
|
+
throw new Error(`Failed to execute flow: ${response.data?.message || "Unknown error"}`);
|
|
3716
|
+
}
|
|
3717
|
+
return { output: response.data.output };
|
|
3712
3718
|
},
|
|
3713
3719
|
"end.custom": async (inputs) => {
|
|
3714
3720
|
return { output: { ...inputs } };
|