@ai-sdk/provider-utils 5.0.0-beta.7 → 5.0.0-beta.9
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 +17 -0
- package/dist/index.d.mts +129 -58
- package/dist/index.d.ts +129 -58
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/provider-tool-factory.ts +43 -32
- package/src/types/context.ts +4 -0
- package/src/types/execute-tool.ts +24 -4
- package/src/types/index.ts +7 -9
- package/src/types/infer-tool-context.ts +7 -0
- package/src/types/infer-tool-input.ts +7 -0
- package/src/types/infer-tool-output.ts +7 -0
- package/src/types/infer-tool-set-context.ts +17 -0
- package/src/types/tool-set.ts +22 -0
- package/src/types/tool.ts +55 -35
- package/src/types/union-to-intersection.ts +17 -0
package/dist/index.js
CHANGED
|
@@ -676,7 +676,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
// src/version.ts
|
|
679
|
-
var VERSION = true ? "5.0.0-beta.
|
|
679
|
+
var VERSION = true ? "5.0.0-beta.9" : "0.0.0-test";
|
|
680
680
|
|
|
681
681
|
// src/get-from-api.ts
|
|
682
682
|
var getOriginalFetch = () => globalThis.fetch;
|