Skip to content

Commit f9a2780

Browse files
committed
fix: remove StandardWalletAdapterWallet type
1 parent 7edf6a8 commit f9a2780

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/kit/src/utils/check.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import {StandardWalletAdapterWallet, Wallet} from "@mysten/wallet-standard";
1+
import {Wallet} from "@mysten/wallet-standard";
22

33
export function isNonEmptyArray(value: any): boolean {
44
return Array.isArray(value) && value.length > 0;
55
}
66

77
export function isStandardWalletAdapterCompatibleWallet(
88
wallet: Wallet
9-
): wallet is StandardWalletAdapterWallet {
9+
) {
1010
return (
1111
"standard:connect" in wallet.features &&
1212
"standard:events" in wallet.features &&
1313
"sui:signAndExecuteTransactionBlock" in wallet.features
1414
);
15-
}
15+
}

0 commit comments

Comments
 (0)