magic-admin-js
magic-admin-js copied to clipboard
Wallets data keys is not transformed and have discrepancy with types
✅ 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/admin)?
🐛 Description
data.wallet keys are not transformed like the rest
https://github.com/magiclabs/magic-admin-js/blob/master/src/modules/users/index.ts#L73
Type definitions point to the address property that should be called publicAddress but in reality, it is public_address
🤔 Expected behavior
Correct type definitions.