🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@ai-sdk/xai

Package Overview
Dependencies
Maintainers
3
Versions
443
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/xai - npm Package Compare versions

Comparing version
4.0.0
to
4.0.1
+1
-1
package.json
{
"name": "@ai-sdk/xai",
"version": "4.0.0",
"version": "4.0.1",
"type": "module",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -10,8 +10,6 @@ import {

zodSchema(
z
.object({
teamId: z.string().optional(),
filePath: z.string().optional(),
})
.passthrough(),
z.looseObject({
teamId: z.string().optional(),
filePath: z.string().optional(),
}),
),

@@ -18,0 +16,0 @@ );

@@ -132,10 +132,8 @@ import { lazySchema, zodSchema } from '@ai-sdk/provider-utils';

const runtimeSchema = z
.object({
mode: modeSchema.optional(),
videoUrl: nonEmptyStringSchema.optional(),
referenceImageUrls: z.array(nonEmptyStringSchema).min(1).max(7).optional(),
...baseFields,
})
.passthrough();
const runtimeSchema = z.looseObject({
mode: modeSchema.optional(),
videoUrl: nonEmptyStringSchema.optional(),
referenceImageUrls: z.array(nonEmptyStringSchema).min(1).max(7).optional(),
...baseFields,
});

@@ -142,0 +140,0 @@ export type XaiParsedVideoModelOptions = z.infer<typeof runtimeSchema>;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display