@ai-sdk/svelte 5.0.91 → 5.0.93
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,31 @@
|
|
|
1
1
|
# @ai-sdk/svelte
|
|
2
2
|
|
|
3
|
+
## 5.0.93
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [df6c009]
|
|
8
|
+
- Updated dependencies [6ee74a3]
|
|
9
|
+
- Updated dependencies [f13d371]
|
|
10
|
+
- Updated dependencies [d4485fe]
|
|
11
|
+
- Updated dependencies [4f201cc]
|
|
12
|
+
- Updated dependencies [8cdb2a7]
|
|
13
|
+
- Updated dependencies [0f2281e]
|
|
14
|
+
- Updated dependencies [fc8e8ac]
|
|
15
|
+
- Updated dependencies [ee8391e]
|
|
16
|
+
- ai@7.0.93
|
|
17
|
+
|
|
18
|
+
## 5.0.92
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- d1904d3: fix(ai): surface fallback errors for empty HTTP response bodies
|
|
23
|
+
- Updated dependencies [a51cc94]
|
|
24
|
+
- Updated dependencies [d1904d3]
|
|
25
|
+
- Updated dependencies [84e5a79]
|
|
26
|
+
- Updated dependencies [a8e8ad0]
|
|
27
|
+
- ai@7.0.92
|
|
28
|
+
|
|
3
29
|
## 5.0.91
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -72,7 +72,7 @@ export class StructuredObject {
|
|
|
72
72
|
body: JSON.stringify(input),
|
|
73
73
|
});
|
|
74
74
|
if (!response.ok) {
|
|
75
|
-
throw new Error((await response.text())
|
|
75
|
+
throw new Error((await response.text()) || 'Failed to fetch the response.');
|
|
76
76
|
}
|
|
77
77
|
if (response.body == null) {
|
|
78
78
|
throw new Error('The response body is empty.');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/svelte",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.93",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@ai-sdk/provider-utils": "5.0.36",
|
|
38
|
-
"ai": "7.0.
|
|
38
|
+
"ai": "7.0.93"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@ai-sdk/test-server": "2.0.1",
|