Skip to content

v4.1.0

Compare
Choose a tag to compare
@rhyslbw rhyslbw released this 01 Oct 11:27
· 977 commits to master since this release
efabffa

Added

Server

  • Integrated with the Cardano ecosystem corresponding to cardano-node@1.30.1 & latest testnet(s).

  • Generate and store test vectors for various JSON requests and responses. This should ease integration for many clients who seek good coverage of the server inputs/outputs.

  • Documented example state queries in the user guide.

TypeScript Client

  • The ConnectionConfig has an additional, optional, configuration parameter maxPayload to configure the maximum allowed message size in bytes. The default is chosen quite large as the utxo query can result in large payloads.

  • New helpers isByronEpochBoundaryBlock and isByronStandardBlock.

Changed

TypeScript Client

  • The StateQueryClient now wraps every query in a try/catch to cope with malformed queries leading to client fault results from the server.

  • Type definitions for QueryResponse[poolIds] and QueryResponse[poolParameters] are no longer marked as "optional".

  • Fixed bug #125 where empty results of delegationAndRewards would cause the client to throw an exception.

  • Handled some floating promises.