From 48a6d2e3509e42c483b95ef7f5d3b941f2e7b8ef Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Fri, 20 Sep 2024 11:01:49 +0100 Subject: [PATCH 1/2] chore: remove duplicate extend --- packages/core/src/actions/getWalletClient.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/core/src/actions/getWalletClient.ts b/packages/core/src/actions/getWalletClient.ts index 1d31af1734..bf49668701 100644 --- a/packages/core/src/actions/getWalletClient.ts +++ b/packages/core/src/actions/getWalletClient.ts @@ -42,8 +42,6 @@ export async function getWalletClient< parameters: GetWalletClientParameters = {}, ): Promise> { const client = await getConnectorClient(config, parameters) - client.extend(walletActions) - // @ts-ignore return client.extend(walletActions) as unknown as GetWalletClientReturnType< config, From ec2b50365c48833e32bfd6713a91c4f852575d88 Mon Sep 17 00:00:00 2001 From: Tom Meagher Date: Fri, 20 Sep 2024 14:31:53 -0400 Subject: [PATCH 2/2] chore: changeset --- .changeset/three-singers-relate.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/three-singers-relate.md diff --git a/.changeset/three-singers-relate.md b/.changeset/three-singers-relate.md new file mode 100644 index 0000000000..0cebfcd2b0 --- /dev/null +++ b/.changeset/three-singers-relate.md @@ -0,0 +1,5 @@ +--- +"@wagmi/core": patch +--- + +Removed duplicate code.