@ai-sdk/provider-utils 5.0.26 → 5.0.27

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.27
4
+
5
+ ### Patch Changes
6
+
7
+ - 7fbfc6d: Preserve streamed download size-limit errors when response cancellation fails.
8
+
3
9
  ## 5.0.26
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1109,6 +1109,7 @@ async function readResponseWithSizeLimit({
1109
1109
  } finally {
1110
1110
  try {
1111
1111
  await reader.cancel();
1112
+ } catch (e) {
1112
1113
  } finally {
1113
1114
  reader.releaseLock();
1114
1115
  }
@@ -1328,7 +1329,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
1328
1329
  }
1329
1330
 
1330
1331
  // src/version.ts
1331
- var VERSION = true ? "5.0.26" : "0.0.0-test";
1332
+ var VERSION = true ? "5.0.27" : "0.0.0-test";
1332
1333
 
1333
1334
  // src/get-from-api.ts
1334
1335
  var getOriginalFetch = () => globalThis.fetch;