@zenning/ai 5.1.0 → 5.1.1

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.mjs CHANGED
@@ -678,7 +678,7 @@ import {
678
678
  } from "@ai-sdk/provider-utils";
679
679
 
680
680
  // src/version.ts
681
- var VERSION = true ? "5.1.0" : "0.0.0-test";
681
+ var VERSION = true ? "5.1.1" : "0.0.0-test";
682
682
 
683
683
  // src/util/download/download.ts
684
684
  var download = async ({ url }) => {
@@ -5549,6 +5549,9 @@ var DefaultStreamTextResult = class {
5549
5549
  mediaType: part.mediaType,
5550
5550
  title: part.title,
5551
5551
  filename: part.filename,
5552
+ fileId: part.fileId,
5553
+ startIndex: part.startIndex,
5554
+ endIndex: part.endIndex,
5552
5555
  ...part.providerMetadata != null ? { providerMetadata: part.providerMetadata } : {}
5553
5556
  });
5554
5557
  }