@langchain/core 0.3.39 → 0.3.40
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/runnables/types.d.ts +1 -1
- package/dist/types/_internal.cjs +2 -0
- package/dist/types/_internal.d.ts +1 -0
- package/dist/types/_internal.js +1 -0
- package/dist/types/stream.d.ts +2 -1
- package/dist/utils/stream.d.ts +1 -1
- package/package.json +14 -1
- package/types/stream.cjs +1 -0
- package/types/stream.d.cts +1 -0
- package/types/stream.d.ts +1 -0
- package/types/stream.js +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { z } from "zod";
|
|
2
2
|
import type { SerializableInterface } from "../load/serializable.js";
|
|
3
3
|
import type { BaseCallbackConfig } from "../callbacks/manager.js";
|
|
4
|
-
import type { IterableReadableStreamInterface } from "../types/
|
|
4
|
+
import type { IterableReadableStreamInterface } from "../types/_internal.js";
|
|
5
5
|
export type RunnableBatchOptions = {
|
|
6
6
|
/** @deprecated Pass in via the standard runnable config object instead */
|
|
7
7
|
maxConcurrency?: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type IterableReadableStreamInterface<T> = ReadableStream<T> & AsyncIterable<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/stream.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export type IterableReadableStreamInterface
|
|
1
|
+
export { type IterableReadableStreamInterface } from "./_internal.js";
|
|
2
|
+
export { type StreamEvent, type StreamEventData, } from "../tracers/event_stream.js";
|
package/dist/utils/stream.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IterableReadableStreamInterface } from "../types/
|
|
1
|
+
import type { IterableReadableStreamInterface } from "../types/_internal.js";
|
|
2
2
|
export type { IterableReadableStreamInterface };
|
|
3
3
|
export declare class IterableReadableStream<T> extends ReadableStream<T> implements IterableReadableStreamInterface<T> {
|
|
4
4
|
reader: ReadableStreamDefaultReader<T>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.40",
|
|
4
4
|
"description": "Core LangChain.js abstractions and schemas",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -494,6 +494,15 @@
|
|
|
494
494
|
"import": "./tracers/tracer_langchain_v1.js",
|
|
495
495
|
"require": "./tracers/tracer_langchain_v1.cjs"
|
|
496
496
|
},
|
|
497
|
+
"./types/stream": {
|
|
498
|
+
"types": {
|
|
499
|
+
"import": "./types/stream.d.ts",
|
|
500
|
+
"require": "./types/stream.d.cts",
|
|
501
|
+
"default": "./types/stream.d.ts"
|
|
502
|
+
},
|
|
503
|
+
"import": "./types/stream.js",
|
|
504
|
+
"require": "./types/stream.cjs"
|
|
505
|
+
},
|
|
497
506
|
"./utils/async_caller": {
|
|
498
507
|
"types": {
|
|
499
508
|
"import": "./utils/async_caller.d.ts",
|
|
@@ -804,6 +813,10 @@
|
|
|
804
813
|
"tracers/tracer_langchain_v1.js",
|
|
805
814
|
"tracers/tracer_langchain_v1.d.ts",
|
|
806
815
|
"tracers/tracer_langchain_v1.d.cts",
|
|
816
|
+
"types/stream.cjs",
|
|
817
|
+
"types/stream.js",
|
|
818
|
+
"types/stream.d.ts",
|
|
819
|
+
"types/stream.d.cts",
|
|
807
820
|
"utils/async_caller.cjs",
|
|
808
821
|
"utils/async_caller.js",
|
|
809
822
|
"utils/async_caller.d.ts",
|
package/types/stream.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/types/stream.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/types/stream.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/types/stream.js'
|
package/types/stream.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/types/stream.js'
|