ai 6.0.0-beta.77 → 6.0.0-beta.78

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
@@ -775,7 +775,7 @@ import {
775
775
  } from "@ai-sdk/provider-utils";
776
776
 
777
777
  // src/version.ts
778
- var VERSION = true ? "6.0.0-beta.77" : "0.0.0-test";
778
+ var VERSION = true ? "6.0.0-beta.78" : "0.0.0-test";
779
779
 
780
780
  // src/util/download/download.ts
781
781
  var download = async ({ url }) => {
@@ -1368,7 +1368,7 @@ var jsonValueSchema = z2.lazy(
1368
1368
  z2.string(),
1369
1369
  z2.number(),
1370
1370
  z2.boolean(),
1371
- z2.record(z2.string(), jsonValueSchema),
1371
+ z2.record(z2.string(), jsonValueSchema.optional()),
1372
1372
  z2.array(jsonValueSchema)
1373
1373
  ])
1374
1374
  );
@@ -1376,7 +1376,7 @@ var jsonValueSchema = z2.lazy(
1376
1376
  // src/types/provider-metadata.ts
1377
1377
  var providerMetadataSchema = z3.record(
1378
1378
  z3.string(),
1379
- z3.record(z3.string(), jsonValueSchema)
1379
+ z3.record(z3.string(), jsonValueSchema.optional())
1380
1380
  );
1381
1381
 
1382
1382
  // src/prompt/content-part.ts