@ai-sdk/google-vertex 5.0.65 → 5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @ai-sdk/google-vertex
2
2
 
3
+ ## 5.0.67
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [56d492f]
8
+ - @ai-sdk/google@4.0.55
9
+
10
+ ## 5.0.66
11
+
12
+ ### Patch Changes
13
+
14
+ - 1f7835c: feat (provider/google, provider/google-vertex): Gemini 3.5 Transcribe support — unary transcription (`gemini-3.5-transcribe`) via generateContent with language detection, speaker diarization, word timestamps, and custom vocabulary, plus streaming transcription (`gemini-3.5-transcribe-live`) over the Live API WebSocket with `mode: 'VERBATIM' | 'SMART'` transcription formatting
15
+ - Updated dependencies [1f7835c]
16
+ - @ai-sdk/google@4.0.54
17
+
3
18
  ## 5.0.65
4
19
 
5
20
  ### Patch Changes
@@ -10,7 +10,7 @@ import {
10
10
  } from "@ai-sdk/provider-utils";
11
11
 
12
12
  // src/version.ts
13
- var VERSION = true ? "5.0.65" : "0.0.0-test";
13
+ var VERSION = true ? "5.0.67" : "0.0.0-test";
14
14
 
15
15
  // src/edge/google-vertex-auth-edge.ts
16
16
  var loadCredentials = async () => {
@@ -2,7 +2,7 @@ import { GoogleInteractionsModelId, GoogleInteractionsAgentName } from '@ai-sdk/
2
2
  import * as _ai_sdk_provider from '@ai-sdk/provider';
3
3
  import { EmbeddingModelV4, ProviderV4, LanguageModelV4, ImageModelV4, Experimental_VideoModelV4, SpeechModelV4, TranscriptionModelV4 } from '@ai-sdk/provider';
4
4
  import * as _ai_sdk_provider_utils from '@ai-sdk/provider-utils';
5
- import { Resolvable, FetchFunction, WORKFLOW_SERIALIZE, WORKFLOW_DESERIALIZE } from '@ai-sdk/provider-utils';
5
+ import { Resolvable, FetchFunction, WORKFLOW_SERIALIZE, WORKFLOW_DESERIALIZE, WebSocketConstructor } from '@ai-sdk/provider-utils';
6
6
 
7
7
  type GoogleVertexEmbeddingModelId = 'textembedding-gecko' | 'textembedding-gecko@001' | 'textembedding-gecko@003' | 'textembedding-gecko-multilingual' | 'textembedding-gecko-multilingual@001' | 'text-multilingual-embedding-002' | 'text-embedding-004' | 'text-embedding-005' | 'gemini-embedding-001' | 'gemini-embedding-2' | 'gemini-embedding-2-preview' | (string & {});
8
8
 
@@ -164,6 +164,12 @@ interface GoogleVertexProviderSettings$1 {
164
164
  * Base URL for the Google Vertex API calls.
165
165
  */
166
166
  baseURL?: string;
167
+ /**
168
+ * Custom WebSocket implementation for streaming transcription. Useful for
169
+ * runtimes that need a WebSocket constructor with header support (e.g. the
170
+ * `ws` package in Node.js, which Vertex's OAuth Bearer header requires).
171
+ */
172
+ webSocket?: WebSocketConstructor;
167
173
  }
168
174
 
169
175
  interface GoogleCredentials {