Skip to content

1.7.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 13:19
· 1 commit to main since this release

Rust: anyswap-sdk, anyswap-core

  • A SwapIn fund is Dust unless it is worth its refund fee plus 546 sat on
    Bitcoin, and partition_economical weighs outputs the same way.

TypeScript: @blockstream/anyswap-sdk, @blockstream/anyswap-wasm

  • Breaking: the SDK exports what an app driving swaps uses. SwapIn,
    SwapOut, SwapUtxo, EconomicalSplit, DepositClassification,
    validateSwap, sourceAsset, AnySwapClient.watchChanges and
    SwapChanges, the Esplora clients' addressUtxos and addressUtxoListing
    with EsploraUtxo, and signRequest with its header constants,
    AuthHeaders and RawBody are gone. The claim and refund builders under the
    driver stay public in the Rust anyswap-sdk crate.
  • Breaking: Wallet keeps userId, network, the identity keys,
    sourceRefundPubkey and destClaimPubkey. Its private swap keys, its
    blinding keys, preimage and paymentHash are gone; the driver derives them
    itself.
  • Breaking: @blockstream/anyswap-wasm keeps the driver and what this SDK
    calls. SwapIn, SwapOut, SwapUtxo, EconomicalSplit, serviceFee,
    minSendForReceive, maxReceiveForSend, and Wallet's private swap keys,
    blinding keys, preimage and paymentHash are gone.
  • A swap-in fund is Dust unless it is worth its refund fee plus 546 sat on
    Bitcoin.