@ai-sdk/provider-utils 4.0.43 → 4.0.45
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/read-response-with-size-limit.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/provider-utils
|
|
2
2
|
|
|
3
|
+
## 4.0.45
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b2a4d5a: Preserve streamed download size-limit errors when response cancellation fails.
|
|
8
|
+
|
|
9
|
+
## 4.0.44
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [2171d15]
|
|
14
|
+
- @ai-sdk/provider@3.0.15
|
|
15
|
+
|
|
3
16
|
## 4.0.43
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -685,6 +685,7 @@ async function readResponseWithSizeLimit({
|
|
|
685
685
|
} finally {
|
|
686
686
|
try {
|
|
687
687
|
await reader.cancel();
|
|
688
|
+
} catch (e) {
|
|
688
689
|
} finally {
|
|
689
690
|
reader.releaseLock();
|
|
690
691
|
}
|
|
@@ -891,7 +892,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
891
892
|
}
|
|
892
893
|
|
|
893
894
|
// src/version.ts
|
|
894
|
-
var VERSION = true ? "4.0.
|
|
895
|
+
var VERSION = true ? "4.0.45" : "0.0.0-test";
|
|
895
896
|
|
|
896
897
|
// src/get-from-api.ts
|
|
897
898
|
var getOriginalFetch = () => globalThis.fetch;
|