From 4d4105f6a134ba825fd53964b063730e11ca1ff3 Mon Sep 17 00:00:00 2001 From: Chaitanya Potti Date: Wed, 30 Oct 2024 17:24:44 +0800 Subject: [PATCH] types fixes --- examples/react-app/src/services/playground.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/react-app/src/services/playground.tsx b/examples/react-app/src/services/playground.tsx index 5512416..a032a7d 100644 --- a/examples/react-app/src/services/playground.tsx +++ b/examples/react-app/src/services/playground.tsx @@ -1,6 +1,6 @@ import { CredentialResponse, googleLogout } from "@react-oauth/google"; import { AuthUserInfo } from "@web3auth/auth"; -import { CHAIN_NAMESPACES, IProvider, log, WEB3AUTH_NETWORK } from "@web3auth/base"; +import { CHAIN_NAMESPACES, IProvider, log, WEB3AUTH_NETWORK, IPlugin } from "@web3auth/base"; import { EthereumPrivateKeyProvider } from "@web3auth/ethereum-provider"; import { PasskeysPlugin } from "@web3auth/passkeys-sfa-plugin"; // Import Single Factor Auth SDK for no redirect flow @@ -457,7 +457,7 @@ export function Playground({ children }: IPlaygroundProps) { accountAbstractionProvider: aaProvider, }); const passkeyPlugin = new PasskeysPlugin(); - web3authSfa?.addPlugin(passkeyPlugin); + web3authSfa?.addPlugin(passkeyPlugin as IPlugin); const walletServicePlugin = new WalletServicesPlugin({ walletInitOptions: { whiteLabel: {