27.0.0-alpha.1 (2024-11-21)
Features
- ๐ธ Retrieve instruction info from middleware(if available) (7a13bab)
BREAKING CHANGES
- ๐งจ Methods in the
Instruction
entity that retrieve information from the
chain were updated to use middleware for fetching data, when available. If middleware is
unavailable, the methods will continue to fetch data directly from the chain.
The following methods were modified with this logic:details
,getAffirmations
,getLegs
,
getMediators
,getOffChainAffirmations
,getOffChainAffirmationForLeg
.
When querying via middleware, these methods will now throw an error in the following cases:
a. If the instruction does not exist.
b.If the instruction data has not yet been processed by the middleware.
Also, the pagination options forgetAffirmations
andgetLegs
now supports
MiddlewarePaginationOptions
as well (when querying via middleware)