This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
Version 5.0.0-beta
Pre-release
Pre-release
Summary
Breaking changes 🛠
- Removes the
txHashes
key in theOrderEvent
s emitted from theorders
JSON-RPC subscription and replaced it withcontractEvents
, an array of decoded order-relevant contract events. Parsing these events allows callers to find every discrete order fill/cancel event. (#420) - Renames the
Kind
key inOrderEvent
toEndState
to better elucidate that it represents the aggregate change to the orders state since it was last re-validated. As an end state, it does not capture any possible intermediate states the order might have been in since the last re-validation. Intermediate states can be inferred from thecontractEvents
included (#420)
Features ✅
- Removed the max expiration limit for orders. The only remaining expiration constraint is that the unix timestamp does not overflow int64 (i.e., is not larger than 9223372036854775807). (#400)
Bug fixes 🐞
- Fixed bug where we weren't updating an orders
fillableTakerAssetAmount
in the DB when orders were being partially filled or when their fillability increased due to a block re-org. (#439) - Made
verbosity
field optional in the TypeScriptConfig
type. (#410) - Fixed issue where we weren't re-validating orders potentially impacted by the balance increase of the recipient of an ERC20 or ERC721 transfer. (#416)