Skip to content

Commit

Permalink
types fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Oct 30, 2024
1 parent 96a4352 commit 4d4105f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/react-app/src/services/playground.tsx
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 4d4105f

Please sign in to comment.