EIP-6963: Multi Injected Provider Discovery

Reverted the “postMessage” back to “dispatchEvent” approach

Please read last comment on Github for context

https://github.com/ethereum/EIPs/pull/6963#issuecomment-1546846953