@tanstack/ai-grok 0.17.1 → 0.18.1
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/dist/esm/byok.d.ts +1 -0
- package/dist/esm/byok.js +11 -0
- package/dist/esm/byok.js.map +1 -0
- package/package.json +8 -5
- package/src/byok.ts +7 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const grokByok: import('@tanstack/ai/byok').ByokProvider<"grok">;
|
package/dist/esm/byok.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"byok.js","names":[],"sources":["../../src/byok.ts"],"sourcesContent":["import { defineByokProvider } from '@tanstack/ai/byok'\n\nexport const grokByok = defineByokProvider({\n id: 'grok',\n label: 'xAI Grok',\n env: 'XAI_API_KEY',\n})\n"],"mappings":";;AAEA,IAAa,WAAW,mBAAmB;CACzC,IAAI;CACJ,OAAO;CACP,KAAK;AACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/ai-grok",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "xAI Grok adapter for TanStack AI chat, image generation, realtime, and structured outputs.",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"types": "./dist/esm/index.d.ts",
|
|
26
26
|
"import": "./dist/esm/index.js"
|
|
27
27
|
},
|
|
28
|
+
"./byok": {
|
|
29
|
+
"types": "./dist/esm/byok.d.ts",
|
|
30
|
+
"import": "./dist/esm/byok.js"
|
|
31
|
+
},
|
|
28
32
|
"./tools": {
|
|
29
33
|
"types": "./dist/esm/tools/index.d.ts",
|
|
30
34
|
"import": "./dist/esm/tools/index.js"
|
|
@@ -55,18 +59,17 @@
|
|
|
55
59
|
"dependencies": {
|
|
56
60
|
"openai": "^6.41.0",
|
|
57
61
|
"@tanstack/ai-utils": "^0.4.0",
|
|
58
|
-
"@tanstack/openai-base": "^0.10.
|
|
62
|
+
"@tanstack/openai-base": "^0.10.6"
|
|
59
63
|
},
|
|
60
64
|
"devDependencies": {
|
|
61
65
|
"@vitest/coverage-v8": "4.1.10",
|
|
62
66
|
"google-auth-library": "^10.5.0",
|
|
63
67
|
"vite": "^8.2.1",
|
|
64
|
-
"@tanstack/ai": "0.
|
|
68
|
+
"@tanstack/ai": "0.50.0"
|
|
65
69
|
},
|
|
66
70
|
"peerDependencies": {
|
|
67
71
|
"google-auth-library": "^10.5.0",
|
|
68
|
-
"
|
|
69
|
-
"@tanstack/ai": "^0.48.0"
|
|
72
|
+
"@tanstack/ai": "^0.50.0"
|
|
70
73
|
},
|
|
71
74
|
"peerDependenciesMeta": {
|
|
72
75
|
"google-auth-library": {
|