magic-js icon indicating copy to clipboard operation
magic-js copied to clipboard

WalletInfo type definitions are not set properly.

Open rameshdon1 opened this issue 1 year ago • 0 comments

✅ Prerequisites

  • [x] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
  • [x] Are you running the latest SDK version?
  • [x] Are you reporting to the correct repository (magic-sdk)?

🐛 Description

I was using magic-sdk package and trying to get the current loggedin user's wallet details. Below is the code that i am using inside one of my component. image See the type of declared walletInfo variable is WalletInfo, when trying to email or publicAddress value from that object, the types defination are not working properly.

image

But here is the actual data object that is being logged in the console. The types are clearly not working in the VSCODE. image

Here is my magic-sdk version image

rameshdon1 avatar Dec 03 '23 05:12 rameshdon1