tiagosiebler / binance

Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & browser support, integration tests, beautification & more.
MIT License
757 stars 266 forks source link

v2.10.4: add some missing simple earn endpoints #419

Closed SebastianBoehler closed 6 months ago

SebastianBoehler commented 6 months ago

Summary

Added some simple earn endpoints as I saw https://github.com/tiagosiebler/binance/issues/386 I am confused on how to submit params for get request, proceeded with query params but there is some inconsistency across methods. sometimes as body, sometimes as url query. According to docs for get request it must be query string

Additional Information

Anyone feel free to contribute more, I've just added about half of the simple earn endpoints, those are important to me.

Tried to not include breaking changes and kept naming of existing methods, tho types were outdated, not accurate on some of them

SebastianBoehler commented 6 months ago

By merging/approving https://github.com/tiagosiebler/binance/pull/420 first in case my commit was the only thing preventing it from merging we could have both changes in the version bump from this PR

SebastianBoehler commented 6 months ago

All done :)

tiagosiebler commented 6 months ago

Released :)