ai 4.1.29 → 4.1.30

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,11 @@
1
1
  # ai
2
2
 
3
+ ## 4.1.30
4
+
5
+ ### Patch Changes
6
+
7
+ - 4ee5b6f: fix (core): remove invalid providerOptions from streamObject onFinish callback
8
+
3
9
  ## 4.1.29
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1248,13 +1248,9 @@ type StreamObjectOnFinishCallback<RESULT> = (event: {
1248
1248
  */
1249
1249
  warnings?: CallWarning[];
1250
1250
  /**
1251
- Additional provider-specific options. They are passed through
1251
+ Additional provider-specific metadata. They are passed through
1252
1252
  to the provider from the AI SDK and enable provider-specific
1253
1253
  functionality that can be fully encapsulated in the provider.
1254
- */
1255
- providerOptions?: ProviderOptions;
1256
- /**
1257
- @deprecated Use `providerOptions` instead.
1258
1254
  */
1259
1255
  experimental_providerMetadata?: ProviderMetadata;
1260
1256
  }) => Promise<void> | void;
package/dist/index.d.ts CHANGED
@@ -1248,13 +1248,9 @@ type StreamObjectOnFinishCallback<RESULT> = (event: {
1248
1248
  */
1249
1249
  warnings?: CallWarning[];
1250
1250
  /**
1251
- Additional provider-specific options. They are passed through
1251
+ Additional provider-specific metadata. They are passed through
1252
1252
  to the provider from the AI SDK and enable provider-specific
1253
1253
  functionality that can be fully encapsulated in the provider.
1254
- */
1255
- providerOptions?: ProviderOptions;
1256
- /**
1257
- @deprecated Use `providerOptions` instead.
1258
1254
  */
1259
1255
  experimental_providerMetadata?: ProviderMetadata;
1260
1256
  }) => Promise<void> | void;