Skip to content

Commit

Permalink
feat: add client.update method
Browse files Browse the repository at this point in the history
  • Loading branch information
dohaki committed Sep 19, 2024
1 parent c1ba18e commit 3e01696
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/sdk/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ export class AcrossClient {
return this.instance;
}

update(params: Pick<AcrossClientOptions, "walletClient">) {
this.walletClient = params.walletClient;
}

getSupportedChains(
params: Omit<GetSupportedChainsParams, "apiUrl" | "logger">,
) {
Expand Down

0 comments on commit 3e01696

Please sign in to comment.