github PolymeshAssociation/polymesh-sdk v15.0.0-alpha.7

latest releases: v25.1.1, v25.1.1-beta.1, v25.1.1-alpha.1...
pre-release2 years ago

15.0.0-alpha.7 (2022-06-07)

Bug Fixes

  • ๐Ÿ› Add missing validations in controllerTransfer proc (efb07c8)
  • ๐Ÿ› Correct the amount, withheldTax returned by DividendDistribution.getPaymentHistory (f6ab2c5)
  • ๐Ÿ› ignore portfolio locked balances with zero amount (be57838)
  • ๐Ÿ› Settlement not being modifable before end block (#762) (517a2a7)

Code Refactoring

  • ๐Ÿ’ก Rename toJson to toHuman in all entities (cb684fb)

Features

  • ๐ŸŽธ Always return TickerReservation from assets.getTickerReservation (4b59621)
  • ๐ŸŽธ Multiple tags support while getting protocol fees (e0f8897)
  • ๐ŸŽธ Return gasFees, protocolFees in getTransactionByHash (032222c)
  • ๐ŸŽธ Round post-tax dividend amounts (dfb9625)

BREAKING CHANGES

  • ๐Ÿงจ network.getProtocolFees now supports passing multiple TxTags.
    Also, the return type has been changed from Promise<BigNumber>
    to Promise<ProtocolFees[]> specifying protocol fees for each tag argument.
  • ๐Ÿงจ Return type of network.getTransactionByHash is changed from
    Promise<ExtrinsicData | null> to Promise<ExtrinsicDataWithFees | null>
  • ๐Ÿงจ toJson method within all entities has been renamed to toHuman
  • ๐Ÿงจ assets.isTickerAvailable has been removed.
    To check ticker availability, directly get the TickerReservation instance
    and use details.status to check the availability

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.