Skip to content

Commit

Permalink
UPDATED: qrUrl on provider to be optional (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongmincho authored Apr 27, 2022
1 parent db9db94 commit c0b67ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/provider/CoinbaseWalletProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const HAS_CHAIN_OVERRIDDEN_FROM_RELAY = "HasChainOverriddenFromRelay";
export interface CoinbaseWalletProviderOptions {
chainId?: number;
jsonRpcUrl: string;
qrUrl: string | null;
qrUrl?: string | null;
overrideIsCoinbaseWallet?: boolean;
overrideIsMetaMask: boolean;
relayEventManager: WalletSDKRelayEventManager;
Expand All @@ -66,7 +66,7 @@ export class CoinbaseWalletProvider
{
// So dapps can easily identify Coinbase Wallet for enabling features like 3085 network switcher menus
public readonly isCoinbaseWallet: boolean;
public readonly qrUrl: string | null;
public readonly qrUrl?: string | null;

private readonly _filterPolyfill = new FilterPolyfill(this);
private readonly _subscriptionManager = new SubscriptionManager(this);
Expand Down

0 comments on commit c0b67ad

Please sign in to comment.