react-moralis
react-moralis copied to clipboard
Wrong type in decimals
New Bug Report
Checklist
- [ ] I am not disclosing a vulnerability.
- [ ] I have searched through existing issues and the Moralis Forum.
- [x] I can reproduce the issue with the latest react-moralis release, latest SDK release, and my server is updated to the latest version.
Issue Description
Steps + code to reproduce
.getTokenBalances => fix decimals: string; => decimals: STRING;
In getTokenPrice decimals is STRING
I need fix type of decimals to NUMBER
Actual Outcome
Expected Outcome
Environment
Server
- Moralis server version:
FILL_THIS_OUT
Client
- react-moralis version:
1.3.5
- Moralis SDK version:
FILL_THIS_OUT
- Operating system:
Linux
- Browser:
Chrome
Logs
.getTokenBalances => fix decimals: string; => decimals: STRING;
In getTokenPrice decimals is STRING
I need fix type of decimals to NUMBER