From fb2c6af6dc69c4426be13952cf700aef35556955 Mon Sep 17 00:00:00 2001 From: Guilherme D'Alessandro Date: Thu, 9 Oct 2025 22:57:08 -0300 Subject: [PATCH] fix(passkey): wrong Session type being used on passkey (#5204) --- packages/better-auth/src/plugins/passkey/client.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/better-auth/src/plugins/passkey/client.ts b/packages/better-auth/src/plugins/passkey/client.ts index 6e6f761a..b63cc750 100644 --- a/packages/better-auth/src/plugins/passkey/client.ts +++ b/packages/better-auth/src/plugins/passkey/client.ts @@ -8,8 +8,7 @@ import type { PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialRequestOptionsJSON, } from "@simplewebauthn/browser"; -import type { Session } from "inspector"; -import type { User } from "../../types"; +import type { User, Session } from "../../types"; import type { passkey as passkeyPl, Passkey } from "."; import type { BetterAuthClientPlugin, ClientStore } from "@better-auth/core"; import { useAuthQuery } from "../../client";