ai 5.0.252 → 5.0.254

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # ai
2
2
 
3
+ ## 5.0.254
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [79ac7d9]
8
+ - Updated dependencies [ca8f9e5]
9
+ - @ai-sdk/gateway@2.0.148
10
+
11
+ ## 5.0.253
12
+
13
+ ### Patch Changes
14
+
15
+ - 5643ec9: fix(ai): allow manual continuations to reuse JSON tool outputs with undefined object properties
16
+ - Updated dependencies [b436246]
17
+ - @ai-sdk/gateway@2.0.147
18
+
3
19
  ## 5.0.252
4
20
 
5
21
  ### Patch Changes
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.252" : "0.0.0-test";
819
+ var VERSION = true ? "5.0.254" : "0.0.0-test";
820
820
 
821
821
  // src/util/download/download.ts
822
822
  var download = async ({
@@ -1353,7 +1353,7 @@ var jsonValueSchema = import_v42.z.lazy(
1353
1353
  import_v42.z.string(),
1354
1354
  import_v42.z.number(),
1355
1355
  import_v42.z.boolean(),
1356
- import_v42.z.record(import_v42.z.string(), jsonValueSchema),
1356
+ import_v42.z.record(import_v42.z.string(), jsonValueSchema.optional()),
1357
1357
  import_v42.z.array(jsonValueSchema)
1358
1358
  ])
1359
1359
  );