Skip to content

Releases: sadoprotocol/ordit-sdk

v0.0.32

09 Aug 09:59
Compare
Choose a tag to compare

What’s Changed

Please check the individual PRs to know more about the breaking changes.

v0.0.31

06 Aug 08:56
fb952f4
Compare
Choose a tag to compare

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

v0.0.30

02 Aug 06:31
Compare
Choose a tag to compare

What’s Changed

  • fix: retrieve hex from GetTransaction RPC; 496f370

v0.0.29

28 Jul 13:34
5f61122
Compare
Choose a tag to compare

What’s Changed

This release also includes minor bug fixes and improvements.

v0.0.28

27 Jul 05:57
Compare
Choose a tag to compare

What’s Changed

  • fix: add postage amount while calculating change; 5be9b4c

v0.0.27

27 Jul 05:51
Compare
Choose a tag to compare

What’s Changed

  • feat: add jsonrpc for v2 transition; 6912522
  • fix: remove incorrect postage amount from fees; c0d520b

v0.0.26

27 Jul 05:20
Compare
Choose a tag to compare

What’s Changed

  • fix: deduct custom outs total to calculate correct change; eed26cd
  • fix: prevent custom output in recovery mode; b24d170

v0.0.25

26 Jul 12:41
Compare
Choose a tag to compare

What’s Changed

  • chore(workspace): pnpm workspaces for local testing @jordankzf (#26)
  • feat(psbt): allow custom fee rate in createPsbt @jordankzf (#27)

v0.0.24

26 Jul 10:30
Compare
Choose a tag to compare

What’s Changed

  • Remove unnecessary try..catch block

v0.0.23

26 Jul 08:08
Compare
Choose a tag to compare

What’s Changed

  • feature(collections): make traits optional for OIP-1 @thedoublejay (#25)
  • updated traits to any data-type