@ai-sdk/provider-utils 3.1.0-beta.7 → 3.1.0-beta.9

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
@@ -194,7 +194,7 @@ function handleFetchError({
194
194
  }
195
195
 
196
196
  // src/version.ts
197
- var VERSION = true ? "3.1.0-beta.7" : "0.0.0-test";
197
+ var VERSION = true ? "3.1.0-beta.9" : "0.0.0-test";
198
198
 
199
199
  // src/get-from-api.ts
200
200
  var getOriginalFetch = () => globalThis.fetch;
@@ -759,6 +759,7 @@ function createProviderDefinedToolFactory({
759
759
  return ({
760
760
  execute,
761
761
  outputSchema,
762
+ needsApproval,
762
763
  toModelOutput,
763
764
  onInputStart,
764
765
  onInputDelta,
@@ -772,6 +773,7 @@ function createProviderDefinedToolFactory({
772
773
  inputSchema,
773
774
  outputSchema,
774
775
  execute,
776
+ needsApproval,
775
777
  toModelOutput,
776
778
  onInputStart,
777
779
  onInputDelta,
@@ -786,6 +788,7 @@ function createProviderDefinedToolFactoryWithOutputSchema({
786
788
  }) {
787
789
  return ({
788
790
  execute,
791
+ needsApproval,
789
792
  toModelOutput,
790
793
  onInputStart,
791
794
  onInputDelta,
@@ -799,6 +802,7 @@ function createProviderDefinedToolFactoryWithOutputSchema({
799
802
  inputSchema,
800
803
  outputSchema,
801
804
  execute,
805
+ needsApproval,
802
806
  toModelOutput,
803
807
  onInputStart,
804
808
  onInputDelta,