@xsai/stream-object 0.3.0-beta.8 → 0.3.0

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -300,7 +300,7 @@ async function streamObject(options) {
300
300
  schema: void 0,
301
301
  schemaDescription: void 0,
302
302
  schemaName: void 0
303
- }).then(({ chunkStream, stepStream, textStream }) => {
303
+ }).then(({ textStream, ...rest }) => {
304
304
  let elementStream;
305
305
  let partialObjectStream;
306
306
  if (options.output === "array") {
@@ -313,11 +313,10 @@ async function streamObject(options) {
313
313
  partialObjectStream = toPartialObjectStream(rawPartialObjectStream);
314
314
  }
315
315
  return {
316
- chunkStream,
317
316
  elementStream,
318
317
  partialObjectStream,
319
- stepStream,
320
- textStream
318
+ textStream,
319
+ ...rest
321
320
  };
322
321
  });
323
322
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xsai/stream-object",
3
3
  "type": "module",
4
- "version": "0.3.0-beta.8",
4
+ "version": "0.3.0",
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
- "@xsai/stream-text": "~0.3.0-beta.8",
33
- "xsschema": "~0.3.0-beta.8"
32
+ "@xsai/stream-text": "~0.3.0",
33
+ "xsschema": "~0.3.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@valibot/to-json-schema": "^1.0.0",