@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 CHANGED
@@ -8431,7 +8431,9 @@ class SimpleStdioMcpClient {
8431
8431
  const callback = new Promise((resolve, reject) => {
8432
8432
  if (signal) {
8433
8433
  signal.addEventListener("abort", () => {
8434
- reject(new Error("AbortError"));
8434
+ const error = new Error("Operation was interrupted");
8435
+ error.name = "AbortError";
8436
+ reject(error);
8435
8437
  });
8436
8438
  }
8437
8439
  this.requestMap.set(id, resolve);