Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Releases: BitskiCo/provider-engine

Fix async dependency

02 Aug 20:47
2691c10
Compare
Choose a tag to compare

This version fixes an issue with using this package as a dependency with Browserify due to a change in async v3.1.x.

Prevent block polling crashes

02 Aug 20:52
2befd7d
Compare
Choose a tag to compare

Previously we were always emitting 'error' when the block tracker encountered an issue. The default behavior of Node is to throw an exception if nothing is subscribed to the error event, which is not intended behavior for this library.

We now catch errors from the block tracker, and log them to the console if you pass { debug: true } in the options when creating a new engine.

Custom error types

02 Jul 23:01
Compare
Choose a tag to compare

You should now see better error messages when internal errors occur.

Ability to disable block tracking

21 Jun 21:48
Compare
Choose a tag to compare
  • For apps that don't want the request overhead of block tracking, you can now disable it:
import ProviderEngine from '@bitski/provider-engine';

const provider = new ProviderEngine({ disableBlockTracking: true });

BlockTracker Refactor

21 Jun 21:46
Compare
Choose a tag to compare
  • Refactor BlockTracker to be a separate class in order to better separate concerns of block tracking and handling requests.

Bug fixes

21 Jun 21:45
Compare
Choose a tag to compare
  • Fixes an issue where ProviderEngine would try to decode a null object when the block was not yet found.