@receptron/graphai_express 0.0.28 → 0.0.30

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/lib/graph.js CHANGED
@@ -68,7 +68,7 @@ const streamGraphRunnerInternal = (agentDictionary, agentFilters = []) => {
68
68
  const { graphData } = req.body;
69
69
  const { config } = req;
70
70
  const graphai = new graphai_1.GraphAI(graphData, agentDictionary, { agentFilters, config: config ?? {} });
71
- const result = await graphai.run(true);
71
+ const result = await graphai.run();
72
72
  return result;
73
73
  };
74
74
  };
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { agentsList, agentDoc, agentDispatcher, agentRunner, nonStreamAgentDispatcher, streamAgentDispatcher } from "./agents";
2
2
  export { graphRunner, streamGraphRunner, nonStreamGraphRunner } from "./graph";
3
- export { ExpressAgentInfo } from "./type";
3
+ export { ExpressAgentInfo, StreamChunkCallback } from "./type";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@receptron/graphai_express",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "GraphAI express web server middleware.",
5
5
  "main": "lib/index.js",
6
6
  "files": [