@ai-sdk/provider-utils 4.0.57 → 4.0.59
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 +12 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/is-url-supported.ts +1 -2
- package/src/types/tool-approval-response.ts +7 -0
package/dist/index.mjs
CHANGED
|
@@ -848,7 +848,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
// src/version.ts
|
|
851
|
-
var VERSION = true ? "4.0.
|
|
851
|
+
var VERSION = true ? "4.0.59" : "0.0.0-test";
|
|
852
852
|
|
|
853
853
|
// src/get-from-api.ts
|
|
854
854
|
var getOriginalFetch = () => globalThis.fetch;
|
|
@@ -970,7 +970,6 @@ function isUrlSupported({
|
|
|
970
970
|
url,
|
|
971
971
|
supportedUrls
|
|
972
972
|
}) {
|
|
973
|
-
url = url.toLowerCase();
|
|
974
973
|
mediaType = mediaType.toLowerCase();
|
|
975
974
|
return Object.entries(supportedUrls).map(([key, value]) => {
|
|
976
975
|
const mediaType2 = key.toLowerCase();
|