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
fromstring
toAccount
- change the return type of
- the
tag
property ofPolymeshTransaction
andPolymeshTransactionBatch
can no longer be an
empty string (it will always be set from the beginning) - remove the
paidByThirdParty
property ofPolymeshTransaction
andPolymeshTransactionBatch
,
in favor of the newgetPayingAccount
- change the behavior of
TransactionQueue.getMinFees
. The function now returns aFeeBreakdown
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