@ai-sdk/provider-utils 5.0.59 → 5.0.60
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 +6 -0
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/is-url-supported.ts +1 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -606,7 +606,7 @@ function handleFetchError({ error, url, requestBodyValues }) {
|
|
|
606
606
|
}
|
|
607
607
|
//#endregion
|
|
608
608
|
//#region src/version.ts
|
|
609
|
-
const VERSION = "5.0.
|
|
609
|
+
const VERSION = "5.0.60";
|
|
610
610
|
//#endregion
|
|
611
611
|
//#region src/normalize-headers.ts
|
|
612
612
|
/**
|
|
@@ -1932,7 +1932,6 @@ function isRecord(value) {
|
|
|
1932
1932
|
* or the wildcard '*', `false` otherwise.
|
|
1933
1933
|
*/
|
|
1934
1934
|
function isUrlSupported({ mediaType, url, supportedUrls }) {
|
|
1935
|
-
url = url.toLowerCase();
|
|
1936
1935
|
mediaType = mediaType.toLowerCase();
|
|
1937
1936
|
const isTopLevelOnly = !mediaType.includes("/");
|
|
1938
1937
|
return Object.entries(supportedUrls).map(([key, value]) => {
|