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

pre-release10 hours ago

27.0.0-beta.1 (2024-11-28)

Bug Fixes

  • ๐Ÿ› Correctly handle currency as ticker when configuring DD (2dc9486)
  • ๐Ÿ› Correctly return status for failed instructions (bcf40c8)
  • ๐Ÿ› Fetch details from chain on instruction execution/affirm (c40df72)
  • ๐Ÿ› Fetch legs from chain while instruction affirm/execution (cf366d3)
  • ๐Ÿ› Fix logic to check if instruction exists (79da01e)
  • ๐Ÿ› getHistoricalAuthorization for v7 joinIdentity auth (77f172b)
  • ๐Ÿ› Use unique portfolios while creating BtreeSet (cd4fc68)

Features

  • ๐ŸŽธ allow modification of assetType (309a929)
  • ๐ŸŽธ Retrieve instruction info from middleware(if available) (7a13bab)
  • ๐ŸŽธ skip RPC version check (6acdfed)

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.