@ai-sdk/provider-utils 4.0.44 → 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 +6 -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 +1 -1
- package/src/read-response-with-size-limit.ts +2 -0
package/CHANGELOG.md
CHANGED
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;
|