This dispatches a "@wallet-standard/base".WindowAppReadyEvent to notify each Wallet that the app is ready
to register it.
This also adds a listener for "@wallet-standard/base".WindowRegisterWalletEvent to listen for a notification
from each Wallet that the Wallet is ready to be registered by the app.
This combination of event dispatch and listener guarantees that each Wallet will be registered synchronously as soon
as the app is ready whether the app loads before or after each Wallet.
Get an API for getting, listening for, and registering "@wallet-standard/base".Wallet | Wallets.
When called for the first time --
This dispatches a "@wallet-standard/base".WindowAppReadyEvent to notify each Wallet that the app is ready to register it.
This also adds a listener for "@wallet-standard/base".WindowRegisterWalletEvent to listen for a notification from each Wallet that the Wallet is ready to be registered by the app.
This combination of event dispatch and listener guarantees that each Wallet will be registered synchronously as soon as the app is ready whether the app loads before or after each Wallet.