github PolymeshAssociation/polymesh-sdk v27.0.0-alpha.1

latest release: v27.0.0-alpha.2
pre-releaseone day ago

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 for getAffirmations and getLegs now supports
    MiddlewarePaginationOptions as well (when querying via middleware)

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.