ava-labs / avalanche-wallet-sdk

A Typescript library to create and manage wallets on the Avalanche network.
BSD 3-Clause "New" or "Revised" License
40 stars 26 forks source link

Enchancement: "Nothing to import" throws Error but maybe it should not #67

Open eino-makitalo opened 2 years ago

eino-makitalo commented 2 years ago

When doing importP etc... it throws Error, but it's merely normal situation not Error condition. If you want to check that nothing is left accidentally not imported you cannot call Promise.all([multiple imports because it throws Error])

:"Nothing to import.","stack":"Error: Nothing to import.\n at SingletonWallet.<anon...