diff --git a/packages/expo/src/provider/singleton/createClerkInstance.ts b/packages/expo/src/provider/singleton/createClerkInstance.ts index 4d17d628322..e95800b3b87 100644 --- a/packages/expo/src/provider/singleton/createClerkInstance.ts +++ b/packages/expo/src/provider/singleton/createClerkInstance.ts @@ -54,9 +54,11 @@ export function createClerkInstance(ClerkClass: typeof Clerk) { }; // @ts-expect-error - This is an internal API - __internal_clerk.__unstable__getPublicCredentials = ( - publicKeyOptions: PublicKeyCredentialRequestOptionsWithoutExtensions, - ) => { + __internal_clerk.__unstable__getPublicCredentials = ({ + publicKeyOptions, + }: { + publicKeyOptions: PublicKeyCredentialRequestOptionsWithoutExtensions; + }) => { return options?.passkeys?.get ? options?.passkeys?.get({ publicKeyOptions }) : errorThrower.throw('get() for passkeys is missing');