@eko-ai/eko-nodejs 3.0.0-alpha.5 → 3.0.0-alpha.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.
- package/dist/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/mcp/stdio.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -8407,7 +8407,9 @@ class SimpleStdioMcpClient {
|
|
|
8407
8407
|
const callback = new Promise((resolve, reject) => {
|
|
8408
8408
|
if (signal) {
|
|
8409
8409
|
signal.addEventListener("abort", () => {
|
|
8410
|
-
|
|
8410
|
+
const error = new Error("Operation was interrupted");
|
|
8411
|
+
error.name = "AbortError";
|
|
8412
|
+
reject(error);
|
|
8411
8413
|
});
|
|
8412
8414
|
}
|
|
8413
8415
|
this.requestMap.set(id, resolve);
|