@ai-sdk/provider-utils 4.0.58 → 4.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 +13 -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 +2 -2
- package/src/is-url-supported.ts +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/provider-utils
|
|
2
2
|
|
|
3
|
+
## 4.0.60
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [739e9f6]
|
|
8
|
+
- @ai-sdk/provider@3.0.19
|
|
9
|
+
|
|
10
|
+
## 4.0.59
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- d5e7d82: fix(provider-utils): keep case-sensitive url paths and query values
|
|
15
|
+
|
|
3
16
|
## 4.0.58
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -954,7 +954,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
954
954
|
}
|
|
955
955
|
|
|
956
956
|
// src/version.ts
|
|
957
|
-
var VERSION = true ? "4.0.
|
|
957
|
+
var VERSION = true ? "4.0.60" : "0.0.0-test";
|
|
958
958
|
|
|
959
959
|
// src/get-from-api.ts
|
|
960
960
|
var getOriginalFetch = () => globalThis.fetch;
|
|
@@ -1076,7 +1076,6 @@ function isUrlSupported({
|
|
|
1076
1076
|
url,
|
|
1077
1077
|
supportedUrls
|
|
1078
1078
|
}) {
|
|
1079
|
-
url = url.toLowerCase();
|
|
1080
1079
|
mediaType = mediaType.toLowerCase();
|
|
1081
1080
|
return Object.entries(supportedUrls).map(([key, value]) => {
|
|
1082
1081
|
const mediaType2 = key.toLowerCase();
|