@ai-sdk/anthropic
Advanced tools
Comparing version 0.0.41 to 0.0.42
import { LanguageModelV1 } from '@ai-sdk/provider'; | ||
import { FetchFunction } from '@ai-sdk/provider-utils'; | ||
@@ -20,3 +21,3 @@ type AnthropicMessagesModelId = 'claude-3-5-sonnet-20240620' | 'claude-3-opus-20240229' | 'claude-3-sonnet-20240229' | 'claude-3-haiku-20240307' | (string & {}); | ||
headers: () => Record<string, string | undefined>; | ||
fetch?: typeof fetch; | ||
fetch?: FetchFunction; | ||
}; | ||
@@ -78,3 +79,3 @@ declare class AnthropicMessagesLanguageModel implements LanguageModelV1 { | ||
*/ | ||
fetch?: typeof fetch; | ||
fetch?: FetchFunction; | ||
generateId?: () => string; | ||
@@ -81,0 +82,0 @@ } |
{ | ||
"name": "@ai-sdk/anthropic", | ||
"version": "0.0.41", | ||
"version": "0.0.42", | ||
"license": "Apache-2.0", | ||
@@ -22,3 +22,3 @@ "sideEffects": false, | ||
"@ai-sdk/provider": "0.0.19", | ||
"@ai-sdk/provider-utils": "1.0.11" | ||
"@ai-sdk/provider-utils": "1.0.12" | ||
}, | ||
@@ -28,3 +28,3 @@ "devDependencies": { | ||
"tsup": "^8", | ||
"typescript": "5.1.3", | ||
"typescript": "5.5.4", | ||
"zod": "3.23.8", | ||
@@ -31,0 +31,0 @@ "@vercel/ai-tsconfig": "0.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
161200
2181
+ Added@ai-sdk/provider-utils@1.0.12(transitive)
- Removed@ai-sdk/provider-utils@1.0.11(transitive)