@ai-sdk/provider-utils 3.0.31 → 3.0.33
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 +12 -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/dist/test/index.d.mts +1 -72
- package/dist/test/index.d.ts +1 -72
- package/dist/test/index.js +0 -174
- package/dist/test/index.js.map +1 -1
- package/dist/test/index.mjs +0 -172
- package/dist/test/index.mjs.map +1 -1
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ai-sdk/provider-utils
|
|
2
2
|
|
|
3
|
+
## 3.0.33
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9e8e087: Stop re-exporting `createTestServer` and `TestResponseController` from `@ai-sdk/provider-utils/test` so `ai/test` can load without `msw` or `vitest`. Import these APIs from `@ai-sdk/test-server/with-vitest` instead.
|
|
8
|
+
|
|
9
|
+
## 3.0.32
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 0e51b7b: Preserve streamed download size-limit errors when response cancellation fails.
|
|
14
|
+
|
|
3
15
|
## 3.0.31
|
|
4
16
|
|
|
5
17
|
### 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.
|
|
756
|
+
var VERSION = true ? "3.0.33" : "0.0.0-test";
|
|
756
757
|
|
|
757
758
|
// src/get-from-api.ts
|
|
758
759
|
var getOriginalFetch = () => globalThis.fetch;
|