Skip to content

0.13.7

Choose a tag to compare

@compojoom compojoom released this 28 Oct 09:40
· 64 commits to master since this release

Changed

  • Use feeRecipient as given by the provider instead of zeroAddress for meta-tx
  • Use random none generation at the identity wallet for meta transactions

Added

  • Add function to get the delegation fees paid in transaction: Transaction.getAppliedDelegationFees(txHash).
    It returns a list of all delegation fees applied in transaction with given hash
    where the fee payer is the loaded user
  • Add extraData to TransferDetails, it contains the raw extraData that was present in the transfer
    for which details are returned
  • Add paymentRequestId and messageId to TransferDetails corresponding to the decoded extraData
  • Add option to Payment.preparePayment function options.addMessageId: boolean = true that signals whether
    a messageId should be generated and added to the payment's extraData.
  • Add messageId to the returned values of Payment.preparePayment
  • Add function Payment.confirmPayment to confirm any PaymentTxObject returned by prepare
    and potentially send a payment message along with the payment
  • Add function Messaging.paymentMessage to send a payment message for a messageId to a counterparty address
  • Add optional field to the TLNetworkConfig for the nonce mechanism to use

Deprecated

  • Deprecates function Payment.confirm, use Payment.confirmPayment instead

Removed

  • Removed the field nonce from payment requests and declines, use id instead