@ai-sdk/xai 4.0.30 → 4.0.32

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,24 @@
1
1
  # @ai-sdk/xai
2
2
 
3
+ ## 4.0.32
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [1937bef]
8
+ - @ai-sdk/provider-utils@5.0.24
9
+
10
+ ## 4.0.31
11
+
12
+ ### Patch Changes
13
+
14
+ - 2b1068f: chore(xai): drop the unused `@ai-sdk/openai-compatible` dependency
15
+
16
+ This provider was originally built on the shared openai-compatible model and
17
+ has since been rewritten to implement its own, with its own tool preparation,
18
+ finish-reason mapping and response metadata helpers. Nothing in the package
19
+ imports `@ai-sdk/openai-compatible` any more, but the dependency and the
20
+ TypeScript project reference to it were both left behind. No runtime change.
21
+
3
22
  ## 4.0.30
4
23
 
5
24
  ### Patch Changes
package/dist/index.js CHANGED
@@ -3510,7 +3510,7 @@ var xaiTools = {
3510
3510
  };
3511
3511
 
3512
3512
  // src/version.ts
3513
- var VERSION = true ? "4.0.30" : "0.0.0-test";
3513
+ var VERSION = true ? "4.0.32" : "0.0.0-test";
3514
3514
 
3515
3515
  // src/files/xai-files.ts
3516
3516
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/xai",
3
- "version": "4.0.30",
3
+ "version": "4.0.32",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -29,9 +29,8 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "3.0.25",
33
32
  "@ai-sdk/provider": "4.0.6",
34
- "@ai-sdk/provider-utils": "5.0.23"
33
+ "@ai-sdk/provider-utils": "5.0.24"
35
34
  },
36
35
  "devDependencies": {
37
36
  "@types/node": "22.19.19",