File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/thirdweb/src/wallets/eip5792 Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { isCoinbaseSDKWallet } from "../coinbase/coinbase-web.js";
44import { isInAppWallet } from "../in-app/core/wallet/index.js" ;
55import { getInjectedProvider } from "../injected/index.js" ;
66import type { Wallet } from "../interfaces/wallet.js" ;
7- import { isSmartWallet } from "../smart/index.js" ;
87import { isWalletConnect } from "../wallet-connect/controller.js" ;
98import type { WalletId } from "../wallet-types.js" ;
109import type { WalletCapabilities , WalletCapabilitiesRecord } from "./types.js" ;
@@ -47,7 +46,7 @@ export async function getCapabilities<const ID extends WalletId = WalletId>({
4746 } ;
4847 }
4948
50- if ( isSmartWallet ( wallet ) ) {
49+ if ( wallet . id === "smart" ) {
5150 const { smartWalletGetCapabilities } = await import (
5251 "../smart/lib/smart-wallet-capabilities.js"
5352 ) ;
You can’t perform that action at this time.
0 commit comments