Skip to content

Commit

Permalink
Make client truly optional
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdumas committed Dec 8, 2021
1 parent f08a752 commit bd96372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/get-balances.ts
Expand Up @@ -18,7 +18,7 @@ const ETH_ADDRESS = requireEnv('ETH_ADDRESS');
{
walletAddress: ETH_ADDRESS,
},
{ client: createZapperAPIClient() },
{},
),
);
})();
2 changes: 1 addition & 1 deletion src/main.ts
Expand Up @@ -20,7 +20,7 @@ interface LunchMoneyEthereumWalletConnectionConfig extends LunchMoneyCryptoConne
}

interface LunchMoneyEthereumWalletConnectionContext extends LunchMoneyCryptoConnectionContext {
client: ZapperAPIClient;
client?: ZapperAPIClient;
}

export const LunchMoneyEthereumWalletConnection: LunchMoneyCryptoConnection<
Expand Down

0 comments on commit bd96372

Please sign in to comment.