Skip to content

Commit 0e69146

Browse files
committed
fix tests
1 parent 7a52db6 commit 0e69146

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/thirdweb/src/wallets/eip5792/get-capabilities.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { isCoinbaseSDKWallet } from "../coinbase/coinbase-web.js";
44
import { isInAppWallet } from "../in-app/core/wallet/index.js";
55
import { getInjectedProvider } from "../injected/index.js";
66
import type { Wallet } from "../interfaces/wallet.js";
7-
import { isSmartWallet } from "../smart/index.js";
87
import { isWalletConnect } from "../wallet-connect/controller.js";
98
import type { WalletId } from "../wallet-types.js";
109
import 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
);

0 commit comments

Comments
 (0)