@withone/cli 1.43.5 → 1.43.6
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.
|
@@ -281,6 +281,7 @@ var OneApi = class {
|
|
|
281
281
|
"x-one-connection-key": args.connectionKey,
|
|
282
282
|
"x-one-action-id": action._id,
|
|
283
283
|
"Content-Type": contentType,
|
|
284
|
+
Accept: "application/json, text/event-stream, */*",
|
|
284
285
|
...args.headers
|
|
285
286
|
};
|
|
286
287
|
const finalActionPath = args.pathVariables ? replacePathVariables(action.path, args.pathVariables) : action.path;
|
|
@@ -1111,7 +1112,7 @@ async function executeSubflowStep(step, context, api, permissions, allowedAction
|
|
|
1111
1112
|
if (flowStack.includes(resolvedKey)) {
|
|
1112
1113
|
throw new Error(`Circular flow detected: ${[...flowStack, resolvedKey].join(" \u2192 ")}`);
|
|
1113
1114
|
}
|
|
1114
|
-
const { loadFlowWithMeta: loadFlowWithMeta2 } = await import("./flow-runner-
|
|
1115
|
+
const { loadFlowWithMeta: loadFlowWithMeta2 } = await import("./flow-runner-EXZ77YLF.js");
|
|
1115
1116
|
const { flow: subFlow, rootDir: subRootDir } = loadFlowWithMeta2(resolvedKey);
|
|
1116
1117
|
const subContext = await executeFlow(
|
|
1117
1118
|
subFlow,
|
package/dist/index.js
CHANGED