@ai-sdk/svelte 4.0.132 → 4.0.134

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,21 @@
1
1
  # @ai-sdk/svelte
2
2
 
3
+ ## 4.0.134
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ed6876b]
8
+ - ai@6.0.134
9
+
10
+ ## 4.0.133
11
+
12
+ ### Patch Changes
13
+
14
+ - 055cd68: fix: publish v6 to latest npm dist tag
15
+ - Updated dependencies [055cd68]
16
+ - @ai-sdk/provider-utils@4.0.21
17
+ - ai@6.0.133
18
+
3
19
  ## 4.0.132
4
20
 
5
21
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/svelte",
3
- "version": "4.0.132",
3
+ "version": "4.0.134",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist",
@@ -33,26 +33,21 @@
33
33
  "svelte": "^5.31.0"
34
34
  },
35
35
  "dependencies": {
36
- "@ai-sdk/provider-utils": "4.0.20",
37
- "ai": "6.0.132"
36
+ "@ai-sdk/provider-utils": "4.0.21",
37
+ "ai": "6.0.134"
38
38
  },
39
39
  "devDependencies": {
40
- "@eslint/compat": "^1.2.5",
41
- "@eslint/js": "^9.18.0",
42
40
  "@sveltejs/package": "^2.0.0",
43
41
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
44
42
  "@testing-library/jest-dom": "^6.6.3",
45
43
  "@testing-library/svelte": "^5.2.4",
46
44
  "@types/node": "20.17.24",
47
- "eslint": "^9.18.0",
48
- "eslint-plugin-svelte": "^3.0.0",
49
45
  "globals": "^16.0.0",
50
46
  "jsdom": "^26.0.0",
51
47
  "publint": "^0.3.2",
52
48
  "svelte": "^5.31.0",
53
49
  "svelte-check": "^4.0.0",
54
50
  "typescript": "^5.0.0",
55
- "typescript-eslint": "^8.20.0",
56
51
  "vite": "^6.0.0",
57
52
  "vitest": "^4.1.0",
58
53
  "zod": "3.25.76",
@@ -78,9 +73,6 @@
78
73
  "preview": "vite preview",
79
74
  "type-check": "svelte-check --tsconfig ./tsconfig.json",
80
75
  "type-check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
81
- "prettier-fix": "prettier --write .",
82
- "prettier-check": "prettier --check .",
83
- "lint": "eslint .",
84
76
  "test": "vitest --run",
85
77
  "test:update": "vitest --run -u",
86
78
  "test:watch": "vitest",
@@ -20,9 +20,9 @@ export class Chat<
20
20
  }
21
21
  }
22
22
 
23
- class SvelteChatState<UI_MESSAGE extends UIMessage>
24
- implements ChatState<UI_MESSAGE>
25
- {
23
+ class SvelteChatState<
24
+ UI_MESSAGE extends UIMessage,
25
+ > implements ChatState<UI_MESSAGE> {
26
26
  messages: UI_MESSAGE[];
27
27
  status = $state<ChatStatus>('ready');
28
28
  error = $state<Error | undefined>(undefined);