ai-sdk-ollama 0.6.1 → 0.6.2

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0e2f392: Fix TypeScript compilation errors in examples
8
+ - Fixed variable naming conflicts in stream-vs-generate-test.ts, debug-streaming-issue.ts, generate-all-ollama-demo.ts, stream-object-ollama-demo.ts, and stream-text-ollama-demo.ts
9
+ - Fixed undefined variable 'ollamaRaw' in existing-client-example.ts
10
+ - Fixed browser example to use createOllama() instead of passing baseURL to ollama() function
11
+ - Fixed async tool calls access in streaming examples
12
+ - Fixed Zod schema definitions for record types
13
+ - All examples now compile and run successfully
14
+
3
15
  ## 0.6.1
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-sdk-ollama",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "type": "module",
5
5
  "description": "Vercel AI SDK Provider for Ollama using official ollama-js library",
6
6
  "main": "./dist/index.js",
@@ -66,7 +66,7 @@
66
66
  "dependencies": {
67
67
  "@ai-sdk/provider": "^2.0.0",
68
68
  "@ai-sdk/provider-utils": "^3.0.9",
69
- "ai": "^5.0.44",
69
+ "ai": "^5.0.46",
70
70
  "ollama": "^0.5.18"
71
71
  },
72
72
  "devDependencies": {
@@ -75,7 +75,7 @@
75
75
  "@total-typescript/ts-reset": "^0.6.1",
76
76
  "@total-typescript/tsconfig": "^1.0.4",
77
77
  "@types/eslint-config-prettier": "^6.11.3",
78
- "@types/node": "^24.5.0",
78
+ "@types/node": "^24.5.2",
79
79
  "@typescript-eslint/eslint-plugin": "^8.44.0",
80
80
  "@typescript-eslint/parser": "^8.44.0",
81
81
  "eslint-config-prettier": "^10.1.8",
@@ -87,7 +87,7 @@
87
87
  "typescript-eslint": "^8.44.0",
88
88
  "vite-tsconfig-paths": "^5.1.4",
89
89
  "vitest": "^3.2.4",
90
- "zod": "^4.1.8"
90
+ "zod": "^4.1.9"
91
91
  },
92
92
  "engines": {
93
93
  "node": ">=22"