New:Socket for Asana Is Now Available.Learn more
Get Started

@ai-sdk/provider

Package Overview
Dependencies
Maintainers
3
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/provider - npm Package Compare versions

Comparing version
4.0.7
to
4.0.8
+6
-0
CHANGELOG.md
# @ai-sdk/provider
## 4.0.8
### Patch Changes
- 591d25b: feat: add batch completion webhooks. `experimental_startTextBatch` accepts a `webhookUrl`, and the gateway provider registers it through the batch `callbackUrl` contract and exports typed async-job metadata. Direct Anthropic and OpenAI batch providers return an unsupported warning when the option is provided.
## 4.0.7

@@ -4,0 +10,0 @@

+3
-3
{
"name": "@ai-sdk/provider",
"version": "4.0.7",
"version": "4.0.8",
"type": "module",

@@ -34,5 +34,5 @@ "license": "Apache-2.0",

"@types/node": "22.19.19",
"@vercel/ai-tsconfig": "0.0.0",
"tsup": "^8.5.1",
"typescript": "5.8.3",
"@vercel/ai-tsconfig": "0.0.0"
"typescript": "5.8.3"
},

@@ -39,0 +39,0 @@ "engines": {

@@ -43,2 +43,9 @@ import type {

readonly headers?: Record<string, string | undefined>;
/**
* URL the provider notifies when the batch reaches a terminal state.
* Providers that do not support completion webhooks should return an
* unsupported warning.
*/
readonly webhookUrl?: string;
};

@@ -45,0 +52,0 @@

Sorry, the diff of this file is too big to display