Skip to content

Commit 52da36d

Browse files
authored
feat: wagmi 2.x support (#332)
* initial migration wip * fix: queryprovider + unsupported chains check * move localstorage into try * Update yarn.lock * update examples * update wallet configs, new web3 provider, fix cbw id, update useWallet hook, update uri methods * fix: mipd wallets * update typescript * bump nextjs example * eslint * update examples * test * remove log * remove dev * packages * config types * typescript and dependencies fun * replace legacy wallet configs with new source * update cra example * remove need for mipd library * Update CHANGELOG.md * mm cleanup + changelog * remove mm duplicates * better set up for duplicate wallets * update dependencies * nextjs app example * ck config * fix: directory name * fix: siwe and examples * fix: testbench * fix: example * remove cta * wallet customisation: prototype * better support for custom wallets (beta feature) * fix: siwe provider * remove unnecessary import * revert xApiKey to xId * revert xApiKey to xId * fix: flagged wallets qr codes and detection * package.json cleanup * missing package.json update * update examples * fix: import * rename file * rename file * Update CHANGELOG.md * rename supportedChains to chainConfigs, as all chains are supported * testbench * move transport wip * package version bump * clean up config
1 parent 35aeecd commit 52da36d

File tree

112 files changed

+8366
-35228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+8366
-35228
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# 1.7.0
2+
3+
This update moves peer dependencies wagmi and viem up to their latest versions.
4+
5+
> **Note**
6+
>
7+
> This version of ConnectKit has breaking changes. Make sure your application is compatible by following the [ConnectKit migration guide](https://docs.family.co/connectkit/migration-guide#170-breaking-changes), and the [wagmi 2.x migration guide](https://wagmi.sh/react/guides/migrate-from-v1-to-v2).
8+
9+
## New
10+
11+
- Updates peer dependency `wagmi` to `2.x`.
12+
- Updates peer dependency `viem` to `2.x`.
13+
- New peer dependency `@tanstack/react-query`.
14+
15+
## Deprecated
16+
17+
- Removes dependency `mipd`.
18+
119
# 1.6.0
220

321
This update adds [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) support for enhanced wallet discovery and improves the functionality and developer experience of using ConnectKit.

0 commit comments

Comments
 (0)