@mastra/playground-ui 5.0.1-alpha.9 → 5.0.2-alpha.0

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.
@@ -41,7 +41,7 @@ export declare const contructNodesAndEdges: ({ stepGraph, stepSubscriberGraph, s
41
41
  edges: Edge[];
42
42
  };
43
43
  export declare const constructVNextNodesAndEdges: ({ stepGraph, }: {
44
- stepGraph: NewWorkflow["stepGraph"];
44
+ stepGraph: NewWorkflow["serializedStepGraph"];
45
45
  }) => {
46
46
  nodes: Node[];
47
47
  edges: Edge[];
package/dist/index.cjs.js CHANGED
@@ -6268,7 +6268,7 @@ const useWorkflow = (workflowId, baseUrl) => {
6268
6268
  Object.values(steps)?.map(async (step) => {
6269
6269
  if (!step.workflowId) return step;
6270
6270
  const wFlow = await client.getWorkflow(step.workflowId).details();
6271
- if (!res) return step;
6271
+ if (!wFlow) return step;
6272
6272
  return { ...step, stepGraph: wFlow.stepGraph, stepSubscriberGraph: wFlow.stepSubscriberGraph };
6273
6273
  })
6274
6274
  );