Since returning to Hive, I've wasted no time getting back into the blogging side of things. However, I've started updating a library I developed a while ago called Hive Stream (some of you might recall me announcing it).
In version 2.0.4 (now available on Npm) I've made some improvements and updates which are summarised below.
- Updated all package dependencies
- The Bittrex API has since moved to version 3 and the endpoints changed. So, the Bittrex API endpoints have been updated in the Bittrex adapter (used to get prices for Hive tokens)
- For exchange rates, Hive Stream was using exchangeratesapi.io for getting rates. This API now requires a free API key to obtain information. I've added a key into the
.env.example you need to populate to use this API. Until I find a suitable API that doesn't need a key, this will remain for now.
- Updated the
dhive dependency and fixed imports
- Fixed an issue with contracts requiring the use of
uuid
- Fixed an issue with outdated typings breaking the build (MongoDB and WHATWG-Fetch)
- Fixed an issue with the configuration for Jest tests and setting the Fetch mock