missing provider in connect `emit` throws in `no-modal.ts`
Closed this issue · 2 comments
W3stside commented
Bug - missing provider in connect emit
throws in no-modal.ts
connected to issue in #1913
should additionally emit
the provider
like:
// L140 --> connect code
// ... rest of connect code
this.emit(ADAPTER_STATUS.CONNECTED, {
adapter: WALLET_ADAPTERS.TORUS_EVM,
reconnected: this.rehydrated,
provider: this.provider // <-- this is the lacking line
} as CONNECTED_EVENT_DATA);
// ... rest of connect code
W3stside commented
MRE: https://github.com/W3stside/wagmi-web3auth-example
- click
Connect with web3auth
- select external wallets
- click torus when it loads
- connect with google accnt
- look for error in console
chaitanyapotti commented
Fixed in v9