@xsai/stream-object 0.3.5 → 0.4.0-beta.2
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.d.ts +1 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -722,9 +722,6 @@ declare function streamObject<T extends Schema>(options: StreamObjectOptions<T>)
|
|
|
722
722
|
|
|
723
723
|
declare const toElementStream: <T>(stream: ReadableStream<string>) => ReadableStream<T>;
|
|
724
724
|
|
|
725
|
-
declare const toPartialObjectStream: <T>(stream: ReadableStream<string>) => ReadableStream<
|
|
726
|
-
recurseIntoArrays: false;
|
|
727
|
-
allowUndefinedInNonTupleArrays: true;
|
|
728
|
-
}>>;
|
|
725
|
+
declare const toPartialObjectStream: <T>(stream: ReadableStream<string>) => ReadableStream<PartialDeep<T>>;
|
|
729
726
|
|
|
730
727
|
export { type StreamObjectOnFinishResult, type StreamObjectOptions, type StreamObjectResult, streamObject, toElementStream, toPartialObjectStream };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsai/stream-object",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0-beta.2",
|
|
5
5
|
"description": "extra-small AI SDK.",
|
|
6
6
|
"author": "Moeru AI",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"@xsai/stream-text": "~0.4.0-beta.2",
|
|
33
|
+
"xsschema": "~0.4.0-beta.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@valibot/to-json-schema": "^1.0.0",
|