@ai-sdk/xai 5.0.6 → 5.0.7
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 +10 -0
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/xai-video-model.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @ai-sdk/xai
|
|
2
2
|
|
|
3
|
+
## 5.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 771e74b: chore: enable dead code lint rules
|
|
8
|
+
- Updated dependencies [fe07867]
|
|
9
|
+
- Updated dependencies [a4b0940]
|
|
10
|
+
- Updated dependencies [771e74b]
|
|
11
|
+
- @ai-sdk/provider-utils@5.0.47
|
|
12
|
+
|
|
3
13
|
## 5.0.6
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -3670,7 +3670,7 @@ var xaiTools = {
|
|
|
3670
3670
|
};
|
|
3671
3671
|
|
|
3672
3672
|
// src/version.ts
|
|
3673
|
-
var VERSION = true ? "5.0.
|
|
3673
|
+
var VERSION = true ? "5.0.7" : "0.0.0-test";
|
|
3674
3674
|
|
|
3675
3675
|
// src/files/xai-files.ts
|
|
3676
3676
|
import {
|
|
@@ -4015,7 +4015,6 @@ function resolveReferences(options, xaiOptions, warnings) {
|
|
|
4015
4015
|
if ((xaiOptions == null ? void 0 : xaiOptions.referenceImageUrls) != null && xaiOptions.referenceImageUrls.length > 0) {
|
|
4016
4016
|
return xaiOptions.referenceImageUrls.map((url) => ({ url }));
|
|
4017
4017
|
}
|
|
4018
|
-
return void 0;
|
|
4019
4018
|
}
|
|
4020
4019
|
function hasImageInputReference(options) {
|
|
4021
4020
|
var _a, _b;
|
|
@@ -4033,7 +4032,6 @@ function resolveVideoMode(options, xaiOptions) {
|
|
|
4033
4032
|
if (!hasFrameImages && (hasImageInputReference(options) || hasLegacyReferenceUrls)) {
|
|
4034
4033
|
return "reference-to-video";
|
|
4035
4034
|
}
|
|
4036
|
-
return void 0;
|
|
4037
4035
|
}
|
|
4038
4036
|
var XaiVideoModel = class {
|
|
4039
4037
|
constructor(modelId, config) {
|