Skip to content

Commit 674e14e

Browse files
authored
feat: Add wallet address to wallet.connect event (#3794)
Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
1 parent 01a37c0 commit 674e14e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/contexts/wallet/WalletProvider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function WalletProvider({
7171
side: type,
7272
chain,
7373
wallet: wallet.getName().toLowerCase(),
74+
address: wallet.getAddress(),
7475
},
7576
});
7677
},

src/telemetry/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export interface ConnectWalletEvent {
9494
side: TransferWallet;
9595
chain: Chain;
9696
wallet: string;
97+
address: string | undefined;
9798
};
9899
}
99100

0 commit comments

Comments
 (0)