Skip to content

Commit 1b8e1bf

Browse files
Replace deprecated z.string().url() with z.url() directly
1 parent 18a6aea commit 1b8e1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export interface McpUiOpenLinkRequest {
6666
export const McpUiOpenLinkRequestSchema = RequestSchema.extend({
6767
method: z.literal("ui/open-link"),
6868
params: z.object({
69-
url: z.string().url(),
69+
url: z.url(),
7070
}),
7171
});
7272

0 commit comments

Comments
 (0)