Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: return rate in/out as number (#3798)
The return type for `rateIn`/`rateOut` should be a number and not an integer. go-IPFS returns a `float64` which isn't representable in js, but we are not interested in that level of accuracy for this value so just return it as a regular `number` which can be a `float`. Fixes #3782 BREAKING CHANGE: rateIn/rateOut are returned as numbers
- Loading branch information