Question about wagmi dependency with non-commercial @walletconnect/ethereum-provider license
I raised this in the wagmi repo (see below), but since it may impact x402 users, am posting the same issue here.
This x402 package currently depends on wagmi which includes @walletconnect/ethereum-provider.
Here's the PR from Aug 20 with the license change https://github.com/WalletConnect/walletconnect-monorepo/pull/6867
From https://github.com/wevm/wagmi/issues/4835
I noticed that the license for the @walletconnect/ethereum-provider is non-commercial.
This provider is bundled as a dependency of @wagmi/connectors which is MIT licensed.
Would it make sense to distribute this provider as a separate package?
Fwiw, the version of @reown/appkit at 1.7.8 which Wagmi depends on contains a permissive Apache license, not the updated non-commercial license. We (wagmi contributors) are working with them on revising the license for versions post-1.8.0.
Thanks for the clarification @jxom, that makes sense.
Here's the current dependency tree and github release links in case anyone else wants to check this.
x402 0.7.1
└─┬ wagmi 2.19.2
└─┬ @wagmi/connectors 6.1.3
└─┬ @walletconnect/ethereum-provider 2.21.1
└── @reown/appkit 1.7.8