Skip to content

Commit

Permalink
feat: Setting reloadOnDisconnect = false in default for coinbaseWallet
Browse files Browse the repository at this point in the history
  • Loading branch information
wenty22 committed Dec 18, 2023
1 parent 53b65ec commit 9979fdd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/walletkit/src/wallets/coinbaseWallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { CoinbaseWalletIcon, CoinbaseWalletTransparentIcon } from './icon';

export const COINBASE_WALLET_ID = 'coinbaseWallet';

export type CoinbaseWalletConnectorOptions = Required<
ConstructorParameters<typeof CoinbaseWalletConnector>
>[0]['options'];
export type CoinbaseWalletConnectorOptions = Partial<
Required<ConstructorParameters<typeof CoinbaseWalletConnector>>[0]['options']
>;

export interface CoinbaseWalletProps extends PartialWalletProps {
connectorOptions?: CoinbaseWalletConnectorOptions;
Expand Down Expand Up @@ -39,6 +39,7 @@ export function coinbaseWallet(props: CoinbaseWalletProps = {}): WalletProps {
options: {
appName,
headlessMode: true,
reloadOnDisconnect: false,
...connectorOptions,
},
});
Expand Down

0 comments on commit 9979fdd

Please sign in to comment.