@ai-sdk/provider-utils 3.1.0-beta.5 → 3.1.0-beta.6
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 +9 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# @ai-sdk/provider-utils
|
2
2
|
|
3
|
+
## 3.1.0-beta.6
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 0adc679: feat(provider): shared spec v3
|
8
|
+
- Updated dependencies [0adc679]
|
9
|
+
- Updated dependencies [2b0caef]
|
10
|
+
- @ai-sdk/provider@2.1.0-beta.4
|
11
|
+
|
3
12
|
## 3.1.0-beta.5
|
4
13
|
|
5
14
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { JSONParseError, TypeValidationError, JSONValue, APICallError, LanguageModelV3Prompt, JSONSchema7,
|
1
|
+
import { JSONParseError, TypeValidationError, JSONValue, APICallError, LanguageModelV3Prompt, JSONSchema7, SharedV3ProviderOptions, LanguageModelV3ToolResultOutput, LanguageModelV3ToolResultPart } from '@ai-sdk/provider';
|
2
2
|
import * as z4 from 'zod/v4';
|
3
3
|
import { ZodType, z } from 'zod/v4';
|
4
4
|
import * as z3 from 'zod/v3';
|
@@ -371,7 +371,7 @@ Additional provider-specific options.
|
|
371
371
|
They are passed through to the provider from the AI SDK and enable
|
372
372
|
provider-specific functionality that can be fully encapsulated in the provider.
|
373
373
|
*/
|
374
|
-
type ProviderOptions =
|
374
|
+
type ProviderOptions = SharedV3ProviderOptions;
|
375
375
|
|
376
376
|
/**
|
377
377
|
Data content. Can either be a base64-encoded string, a Uint8Array, an ArrayBuffer, or a Buffer.
|
package/dist/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { JSONParseError, TypeValidationError, JSONValue, APICallError, LanguageModelV3Prompt, JSONSchema7,
|
1
|
+
import { JSONParseError, TypeValidationError, JSONValue, APICallError, LanguageModelV3Prompt, JSONSchema7, SharedV3ProviderOptions, LanguageModelV3ToolResultOutput, LanguageModelV3ToolResultPart } from '@ai-sdk/provider';
|
2
2
|
import * as z4 from 'zod/v4';
|
3
3
|
import { ZodType, z } from 'zod/v4';
|
4
4
|
import * as z3 from 'zod/v3';
|
@@ -371,7 +371,7 @@ Additional provider-specific options.
|
|
371
371
|
They are passed through to the provider from the AI SDK and enable
|
372
372
|
provider-specific functionality that can be fully encapsulated in the provider.
|
373
373
|
*/
|
374
|
-
type ProviderOptions =
|
374
|
+
type ProviderOptions = SharedV3ProviderOptions;
|
375
375
|
|
376
376
|
/**
|
377
377
|
Data content. Can either be a base64-encoded string, a Uint8Array, an ArrayBuffer, or a Buffer.
|
package/dist/index.js
CHANGED
@@ -284,7 +284,7 @@ function handleFetchError({
|
|
284
284
|
}
|
285
285
|
|
286
286
|
// src/version.ts
|
287
|
-
var VERSION = true ? "3.1.0-beta.
|
287
|
+
var VERSION = true ? "3.1.0-beta.6" : "0.0.0-test";
|
288
288
|
|
289
289
|
// src/get-from-api.ts
|
290
290
|
var getOriginalFetch = () => globalThis.fetch;
|
package/dist/index.mjs
CHANGED
@@ -194,7 +194,7 @@ function handleFetchError({
|
|
194
194
|
}
|
195
195
|
|
196
196
|
// src/version.ts
|
197
|
-
var VERSION = true ? "3.1.0-beta.
|
197
|
+
var VERSION = true ? "3.1.0-beta.6" : "0.0.0-test";
|
198
198
|
|
199
199
|
// src/get-from-api.ts
|
200
200
|
var getOriginalFetch = () => globalThis.fetch;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ai-sdk/provider-utils",
|
3
|
-
"version": "3.1.0-beta.
|
3
|
+
"version": "3.1.0-beta.6",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"main": "./dist/index.js",
|
@@ -28,7 +28,7 @@
|
|
28
28
|
"dependencies": {
|
29
29
|
"@standard-schema/spec": "^1.0.0",
|
30
30
|
"eventsource-parser": "^3.0.5",
|
31
|
-
"@ai-sdk/provider": "2.1.0-beta.
|
31
|
+
"@ai-sdk/provider": "2.1.0-beta.4"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
34
|
"@types/node": "20.17.24",
|