svelte-web3 icon indicating copy to clipboard operation
svelte-web3 copied to clipboard

added throw error if no account is chosen

Open softwarecurator opened this issue 3 years ago • 2 comments

This is handy when user doesn't choose an account and cancels the connection so web apps can handle error correctly rather than just a console warning

softwarecurator avatar Feb 18 '22 00:02 softwarecurator

OMG THIS IS SO NEEDED

nico-herrera avatar Feb 18 '22 00:02 nico-herrera

One problem i see with your PR is that we remove warning even when the provider is not compliant. Ideally this whole block should disappear when all provider would upgrade and respect the specs. I would keep the warning and why not throw another error...

clbrge avatar Feb 19 '22 07:02 clbrge