chore: remove out-dated client: false (#6243)

This commit is contained in:
Maxwell
2025-11-23 12:26:03 -08:00
committed by GitHub
parent 7dfdfd9a9a
commit 512a90e2cd
4 changed files with 5 additions and 5 deletions
@@ -15,7 +15,6 @@ export function deleteAllExpiredApiKeysEndpoint({
method: "POST",
metadata: {
SERVER_ONLY: true,
client: false,
},
},
async (ctx) => {
@@ -24,6 +24,7 @@ import { setSessionCookie } from "../../cookies";
import { handleOAuthUserInfo } from "../../oauth2/link-account";
import { generateState, parseState } from "../../oauth2/state";
import type { User } from "../../types";
import { HIDE_METADATA } from "../../utils";
import { GENERIC_OAUTH_ERROR_CODES } from "./error-codes";
export * from "./providers";
@@ -641,7 +642,7 @@ export const genericOAuth = (options: GenericOAuthOptions) => {
.optional(),
}),
metadata: {
client: false,
...HIDE_METADATA,
allowedMediaTypes: [
"application/x-www-form-urlencoded",
"application/json",
@@ -16,6 +16,7 @@ import * as z from "zod";
import { APIError, getSessionFromCtx } from "../../api";
import { parseSetCookieHeader } from "../../cookies";
import { generateRandomString } from "../../crypto";
import { HIDE_METADATA } from "../../utils";
import { getBaseURL } from "../../utils/url";
import type {
Client,
@@ -191,7 +192,7 @@ export const mcp = (options: MCPOptions) => {
{
method: "GET",
metadata: {
client: false,
...HIDE_METADATA,
},
},
async (c) => {
@@ -209,7 +210,7 @@ export const mcp = (options: MCPOptions) => {
{
method: "GET",
metadata: {
client: false,
...HIDE_METADATA,
},
},
async (c) => {
-1
View File
@@ -60,7 +60,6 @@ export const passkey = (options?: PasskeyOptions | undefined) => {
})
.optional(),
metadata: {
client: false,
openapi: {
operationId: "generatePasskeyRegistrationOptions",
description: "Generate registration options for a new passkey",