My new contribution to the Dhive client: The ability to query account history

in HiveDevs4 years ago

Just yesterday I wrote a post showing you how you can query the API to get the account history for a user because the dhive package does not currently support querying it as the JS client does. Given the relative simplicity of such a change, I decided to create a pull request and add it in.

image.png

Because the library is TypeScript, the return type definition has also been strongly typed, which is useful given the return value shape can be a bit confusing for novice developers to work with.

image.png

Nothing overly complicated, but undoubtedly a useful addition for anyone using the Dhive client wanting to query a users account history. The change is obviously pending being merged, but hopefully soon as @good-karma is quite quick and efficient at merging pull requests.

Sort:  

Great work 👏 , I think we can make package release soon. I would give it couple more days in case we will see some additional improvements coming in and do version bump and release.