@langchain/core 0.1.20-rc.0 → 0.1.20

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.
@@ -101,9 +101,6 @@ class IterableReadableStream extends ReadableStream {
101
101
  // Fix: `else if (value)` will hang the streaming when nullish value (e.g. empty string) is pulled
102
102
  controller.enqueue(value);
103
103
  },
104
- async cancel(reason) {
105
- await generator?.return(reason);
106
- },
107
104
  });
108
105
  }
109
106
  }
@@ -98,9 +98,6 @@ export class IterableReadableStream extends ReadableStream {
98
98
  // Fix: `else if (value)` will hang the streaming when nullish value (e.g. empty string) is pulled
99
99
  controller.enqueue(value);
100
100
  },
101
- async cancel(reason) {
102
- await generator?.return(reason);
103
- },
104
101
  });
105
102
  }
106
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/core",
3
- "version": "0.1.20-rc.0",
3
+ "version": "0.1.20",
4
4
  "description": "Core LangChain.js abstractions and schemas",
5
5
  "type": "module",
6
6
  "engines": {