Skip to content

Commit

Permalink
fix adapter definition
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Sep 25, 2024
1 parent 2640ece commit 792350b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adapters/default-evm-adapter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { WalletConnectV2Adapter } from "@web3auth/wallet-connect-v2-adapter";

import { getInjectedAdapters } from "./injectedAdapters";

export const getDefaultExternalAdapters = async (params: { options: IWeb3AuthCoreOptions }): Promise<IAdapter<unknown>[]> => {
export const getDefaultExternalAdapters = (params: { options: IWeb3AuthCoreOptions }): IAdapter<unknown>[] => {
const { options } = params;
const { clientId, chainConfig, sessionTime, web3AuthNetwork, useCoreKitKey } = options;
if (!Object.values(CHAIN_NAMESPACES).includes(chainConfig.chainNamespace))
Expand Down

0 comments on commit 792350b

Please sign in to comment.