We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7edf6a8 commit f9a2780Copy full SHA for f9a2780
1 file changed
packages/kit/src/utils/check.ts
@@ -1,15 +1,15 @@
1
-import {StandardWalletAdapterWallet, Wallet} from "@mysten/wallet-standard";
+import {Wallet} from "@mysten/wallet-standard";
2
3
export function isNonEmptyArray(value: any): boolean {
4
return Array.isArray(value) && value.length > 0;
5
}
6
7
export function isStandardWalletAdapterCompatibleWallet(
8
wallet: Wallet
9
-): wallet is StandardWalletAdapterWallet {
+) {
10
return (
11
"standard:connect" in wallet.features &&
12
"standard:events" in wallet.features &&
13
"sui:signAndExecuteTransactionBlock" in wallet.features
14
);
15
-}
+}
0 commit comments