Skip to content

Commit

Permalink
Add the proper type for the dapp config in wallet core
Browse files Browse the repository at this point in the history
  • Loading branch information
kent-white committed Jul 17, 2024
1 parent bb1c3fd commit f1fb4a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/violet-pigs-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aptos-labs/wallet-adapter-core": minor
---

Add proper dappconfig type to wallet core
2 changes: 1 addition & 1 deletion packages/wallet-adapter-core/src/WalletCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class WalletCore extends EventEmitter<WalletCoreEvents> {
constructor(
plugins: ReadonlyArray<Wallet>,
optInWallets: ReadonlyArray<AvailableWallets>,
dappConfig?: { network: Network }
dappConfig?: DappConfig
) {
super();
this._wallets = plugins;
Expand Down

0 comments on commit f1fb4a5

Please sign in to comment.