ai 5.0.259 → 5.0.260
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/CHANGELOG.md +6 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -816,7 +816,7 @@ function detectMediaType({
|
|
|
816
816
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
817
817
|
|
|
818
818
|
// src/version.ts
|
|
819
|
-
var VERSION = true ? "5.0.
|
|
819
|
+
var VERSION = true ? "5.0.260" : "0.0.0-test";
|
|
820
820
|
|
|
821
821
|
// src/util/download/download.ts
|
|
822
822
|
var download = async ({
|
|
@@ -8976,7 +8976,11 @@ function simulateStreamingMiddleware() {
|
|
|
8976
8976
|
switch (part.type) {
|
|
8977
8977
|
case "text": {
|
|
8978
8978
|
if (part.text.length > 0) {
|
|
8979
|
-
controller.enqueue({
|
|
8979
|
+
controller.enqueue({
|
|
8980
|
+
type: "text-start",
|
|
8981
|
+
id: String(id),
|
|
8982
|
+
...part.providerMetadata != null ? { providerMetadata: part.providerMetadata } : {}
|
|
8983
|
+
});
|
|
8980
8984
|
controller.enqueue({
|
|
8981
8985
|
type: "text-delta",
|
|
8982
8986
|
id: String(id),
|