v4.1.0
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 theutxo
query can result in large payloads. -
New helpers
isByronEpochBoundaryBlock
andisByronStandardBlock
.
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]
andQueryResponse[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.