@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/provider-utils
2
2
 
3
+ ## 5.0.60
4
+
5
+ ### Patch Changes
6
+
7
+ - 2e89fa4: fix(provider-utils): keep case-sensitive url paths and query values
8
+
3
9
  ## 5.0.59
4
10
 
5
11
  ### Patch Changes
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.59";
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]) => {