@ai-sdk/provider 1.1.1 → 1.1.2

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-sdk/provider
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 013faa8: core (ai): change transcription model mimeType to mediaType
8
+
3
9
  ## 1.1.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1250,9 +1250,11 @@ type TranscriptionModelV1CallOptions = {
1250
1250
  */
1251
1251
  audio: Uint8Array | string;
1252
1252
  /**
1253
- The MIME type of the audio data.
1253
+ The IANA media type of the audio data.
1254
+
1255
+ @see https://www.iana.org/assignments/media-types/media-types.xhtml
1254
1256
  */
1255
- mimeType: string;
1257
+ mediaType: string;
1256
1258
  /**
1257
1259
  Additional provider-specific options that are passed through to the provider
1258
1260
  as body parameters.
package/dist/index.d.ts CHANGED
@@ -1250,9 +1250,11 @@ type TranscriptionModelV1CallOptions = {
1250
1250
  */
1251
1251
  audio: Uint8Array | string;
1252
1252
  /**
1253
- The MIME type of the audio data.
1253
+ The IANA media type of the audio data.
1254
+
1255
+ @see https://www.iana.org/assignments/media-types/media-types.xhtml
1254
1256
  */
1255
- mimeType: string;
1257
+ mediaType: string;
1256
1258
  /**
1257
1259
  Additional provider-specific options that are passed through to the provider
1258
1260
  as body parameters.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",