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

latest releases: v26.1.0, v26.1.0-beta.1, v26.1.0-alpha.1...
pre-release3 years ago

9.0.0-alpha.7 (2021-08-30)

Features

  • add better support for third party fees (3d39cf1)

BREAKING CHANGES

    • change the return type of Identity.getPrimaryKey from string to Account
  • the tag property of PolymeshTransaction and PolymeshTransactionBatch can no longer be an
    empty string (it will always be set from the beginning)
  • remove the paidByThirdParty property of PolymeshTransaction and PolymeshTransactionBatch,
    in favor of the new getPayingAccount
  • change the behavior of TransactionQueue.getMinFees. The function now returns a FeeBreakdown
    object, which contains information on which fees have to be paid by the current Account, and
    which will be paid by other (third party) accounts, as well as respective balances and
    allowances. The previous version ignored third party fees entirely
  • make TransactionQueue.run throw errors if a third party paying Account doesn’t have enough
    balance/allowance to pay for the queue’s fees

Don't miss a new polymesh-sdk release

NewReleases is sending notifications on new releases.