Skip to content

WalletInfo type definitions are not set properly. #679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
rameshdon1 opened this issue Dec 3, 2023 · 0 comments
Open
3 tasks done

WalletInfo type definitions are not set properly. #679

rameshdon1 opened this issue Dec 3, 2023 · 0 comments

Comments

@rameshdon1
Copy link

βœ… Prerequisites

  • Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
  • Are you running the latest SDK version?
  • 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 rameshdon1 changed the title [DESCRIPTIVE BUG NAME] WalletInfo type definitions are not set properly. Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant