Skip to content

v0.0.31

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Aug 08:56
· 76 commits to refs/heads/main since this release
fb952f4

What’s Changed

BREAKING

  • Arguments for Ordit.signPsbt fn has been updated
  • Default values for pubKeyType argument of generateBuyerPsbt fn removed
  • Unnecessary try..catch blocks removed.
  • Empty catch block in a try..catch. These try..catch blocks were entirely removed to prevent error suppression. Though this is a good change for better visibility and troubleshooting, some processes might break because errors will no longer be suppressed.

Refactor & Fix

  • Replaced hardcoded values for fee calculation w/ dynamic calculation
  • Hard limit of max 1000 sats removed for refundable utxo consideration. Any UTXO > 600 sats can be used as a refundable UTXO now
  • Updated buyer PSBT generation flow to take only unused UTXOs into account
  • enableRBF option exposed in createPsbt fn as opposed to enabling it by-default
  • Added finalize option to Unisat signPsbt fn such that unfinalized+signed PSBTs can be created for instant-buy-sell flow