@ai-sdk/provider-utils 3.0.31 → 3.0.32

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
+ ## 3.0.32
4
+
5
+ ### Patch Changes
6
+
7
+ - 0e51b7b: Preserve streamed download size-limit errors when response cancellation fails.
8
+
3
9
  ## 3.0.31
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -605,6 +605,7 @@ async function readResponseWithSizeLimit({
605
605
  } finally {
606
606
  try {
607
607
  await reader.cancel();
608
+ } catch (e) {
608
609
  } finally {
609
610
  reader.releaseLock();
610
611
  }
@@ -752,7 +753,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
752
753
  }
753
754
 
754
755
  // src/version.ts
755
- var VERSION = true ? "3.0.31" : "0.0.0-test";
756
+ var VERSION = true ? "3.0.32" : "0.0.0-test";
756
757
 
757
758
  // src/get-from-api.ts
758
759
  var getOriginalFetch = () => globalThis.fetch;