github PolymeshAssociation/polymesh-sdk v27.0.0

latest releases: v27.1.0-alpha.2, v26.2.4, v27.1.0-alpha.1...
17 days ago

27.0.0 (2024-12-02)

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)
  • ๐Ÿ› ignore improper cased permissions (3e2781f)
  • ๐Ÿ› Use unique portfolios while creating BtreeSet (cd4fc68)

Features

  • ๐ŸŽธ Add more info about historical proposal (f654bb1)
  • ๐ŸŽธ add support for padded IDs in subquery (5ce3a38)
  • ๐ŸŽธ allow modification of assetType (309a929)
  • ๐ŸŽธ Drop support for chain 6.x (0d2aab2)
  • ๐ŸŽธ Retrieve instruction info from middleware(if available) (7a13bab)
  • ๐ŸŽธ skip RPC version check (6acdfed)

BREAKING CHANGES

  • ๐Ÿงจ Return type of MultiSig.getHistoricalProposals is now changed to
    ResultSet<HistoricalMultiSigProposal> to provide more info about the
    proposal. This will allow get know information about prunded proposals
    as well
  • ๐Ÿงจ SDK no longer supports chain 6.x
  • Drops support for 6.3 spec version
  • type of signers has been changed to Account type in MultiSigDetails and MultiSigSigners.
    This affects details method in MultiSig entity and getMultiSigSigners in Identity entity
  • Deprecated getSubsidy method of the Account entity has been removed.
  • Deprecated ticker field has been removed from the interface MetadataKeyId. This affects
    getCollectionKeys method from NftCollection entity
  • Deprecated ticker field has been removed from HumanReadable interfaces for these entities:
    Checkpoint, CheckpointSchedule, CorporateAction, DividendDistribution,
    CustomPermissionGroup, KnownPermissionGroup, MetadataEntry, Offering,
  • Ticker value has been removed from ScopeType enum
  • ticker field has been renamed to assetId in ClaimScope interface
  • Deprecated did and ticker fields of the BaseAsset entity have been removed.
  • Deprecated joinCreator method of MultiSig entity has been removed
  • ๐Ÿงจ 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.