lubej
lubej
Alternative of https://github.com/oasisprotocol/sapphire-paratime/pull/565, by patching `window.dispatchEvent` instead of `addEventListener`.
##### SUMMARY It would be nice to have the ability to configure id and name, of the injected sapphire provider. Which at the time of writing this, seems hardcoded: https://github.com/oasisprotocol/sapphire-paratime/blob/c390b41161fd2a2881205066a0956c4cb9cf01fb/integrations/wagmi-v2/src/index.ts#L41-L42...
In https://github.com/oasisprotocol/sapphire-paratime/pull/624 there was an issue discovered for the multichain case, where using the same connector(i.e. MetaMask) wagmi would cache the connectors, causing a collision between the wrapped and unwrapped...
Depends on https://github.com/oasisprotocol/sapphire-paratime/pull/634 Closes https://github.com/oasisprotocol/sapphire-paratime/issues/500