@ai-sdk/provider-utils 4.0.66 → 4.0.67

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
@@ -947,7 +947,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
947
947
  }
948
948
 
949
949
  // src/version.ts
950
- var VERSION = true ? "4.0.66" : "0.0.0-test";
950
+ var VERSION = true ? "4.0.67" : "0.0.0-test";
951
951
 
952
952
  // src/get-from-api.ts
953
953
  var getOriginalFetch = () => globalThis.fetch;
@@ -2526,7 +2526,7 @@ function standardSchema(standardSchema2) {
2526
2526
  {
2527
2527
  validate: async (value) => {
2528
2528
  const result = await standardSchema2["~standard"].validate(value);
2529
- return "value" in result ? { success: true, value: result.value } : {
2529
+ return result.issues === void 0 && "value" in result ? { success: true, value: result.value } : {
2530
2530
  success: false,
2531
2531
  error: new TypeValidationError({
2532
2532
  value,