@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/dist/index.mjs
CHANGED
|
@@ -583,6 +583,7 @@ async function readResponseWithSizeLimit({
|
|
|
583
583
|
} finally {
|
|
584
584
|
try {
|
|
585
585
|
await reader.cancel();
|
|
586
|
+
} catch (e) {
|
|
586
587
|
} finally {
|
|
587
588
|
reader.releaseLock();
|
|
588
589
|
}
|
|
@@ -789,7 +790,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
789
790
|
}
|
|
790
791
|
|
|
791
792
|
// src/version.ts
|
|
792
|
-
var VERSION = true ? "4.0.
|
|
793
|
+
var VERSION = true ? "4.0.45" : "0.0.0-test";
|
|
793
794
|
|
|
794
795
|
// src/get-from-api.ts
|
|
795
796
|
var getOriginalFetch = () => globalThis.fetch;
|