Skip to content

Commit

Permalink
Add StandardEventsFeature as a return type to features() (#68)
Browse files Browse the repository at this point in the history
* Add StandardEventsFeature as a return type to features()

Just added StandardEventsFeature as a return type as it was missing and my IDE did not like it.

* add changeset

---------

Co-authored-by: Jordan Sexton <1173161+jordaaash@users.noreply.github.com>
  • Loading branch information
AtlasTylo and jordaaash authored Jan 15, 2025
1 parent e65b3c8 commit 2f4cb36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-moles-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@solana/wallet-standard-wallet-adapter-base': patch
---

Fix type of features property
1 change: 1 addition & 0 deletions packages/wallet-adapter/base/src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export class SolanaWalletAdapterWallet implements Wallet {

get features(): StandardConnectFeature &
StandardDisconnectFeature &
StandardEventsFeature &
SolanaSignAndSendTransactionFeature &
Partial<SolanaSignTransactionFeature & SolanaSignMessageFeature & SolanaSignInFeature> {
const features: StandardConnectFeature &
Expand Down

0 comments on commit 2f4cb36

Please sign in to comment.