You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[0.1.1] - 2026-07-17
Added
Pending-order surfacing on listSwaps: new ListSwapsParams.pendingAddress (a single address, or an array — one query prioritizes a wallet's in-progress orders across all its addresses) plus two new AtomicSwap fields, pendingRole ("seller" | "buyer" | null) and pendingTxid (string | null), populated only for that address's pending rows and null everywhere else
useSwapList / SwapList — opt-in includePendingOrders surfaces the connected wallet's in-progress orders (pending sell listings still settling on-chain + pending purchases whose buy tx is unconfirmed) as pendingOrders, self-polling until each tx confirms; trackPendingBuy(swap, txid) optimistically shows a just-made Kontor buy immediately, independent of the server's pending_address decoration
"Sold" feed on useSwapList / SwapList — defaultShowSold option and showSold / setShowSold / canShowSold: browse completed sales (the whole marketplace's, or narrowed to the wallet's own when combined with "My swaps"), as an independent dimension from the "My swaps" filter
HorizonMarketClient.recordKontorPurchase(swapId, { buyerAddress, txId }) — safe recovery that replays only the recording POST for a Kontor purchase whose swap reveal is already broadcast on-chain, never re-accepting (and re-broadcasting) the consumed offer
kontorPurchaseRecovery(err) helper and the KontorPurchaseRecovery type — extract { swapId, txId, buyerAddress } from a caught KontorPurchaseNotRecordedError without pulling the heavy @kontor/sdk backend into the main bundle
Fixed
Kontor KOR / NFT balance reads now resolve the wallet's registered Kontor signer-id (cached per x-only pubkey) and sum balances across every plausible holder ref (signer-id + both x-only-pubkey forms) — a wallet whose assets were credited to its signer-id previously read as a zero balance
Kontor purchase recording failures now surface the real underlying cause instead of a generic error, and support a safe record-only retry