0.12.0 (2026-10-19)
Breaking changes
- TypeScript:
createKaleidoMakerClientrefuses workers and extensions. It already refused a page; it now also refuses Web, shared, and service workers and browser extension contexts. PassallowBrowser: trueto build it there on purpose. Plain Node is unaffected. - Rust and TypeScript: typed swap DTOs. Create, status, and restore methods return types generated from the Rust definitions instead of
any. Response amounts and heights arebigint; request literals reject unmodeled keys (includingpairId);RgbLock.cooperativeRefundisstring | undefined. Rust struct literals forClaimDetails,RefundDetails,SwapRestoreResponse,GetSwapResponse, andSwapEventmust set the new optional fields.
Added
- Atomic BTC ↔ USDT-RGB swaps on L1:
AtomicSwapsin TypeScript andatomic_*methods in Rust and Python. See Swap BTC and USDT on RGB. - Organization keys for client-side partner attribution:
createKaleidoOrgClient,SwapClient.kaleido_org,KaleidoOrgClient. See Attribute swaps to your organization. - Pay-through idempotency keys:
create(request, { idempotencyKey })andsupportsIdempotency(). - Stateless claim and refund helpers in TypeScript with confirmation and timeout checks. See Claims and refunds.
SwapScript.fromRestoredrebuilds scripts from restore entries.- Lightning address and LNURL-pay lookup:
resolveLightningAddress/resolve_lightning_address. - Corridor discovery card:
corridorCard()andcorridorCardRaw(). - Esplora chain-data helpers in
@kaleidorg/swap-sdk/chain-data. - Transaction recovery from saved hex:
BtcLikeTransaction.fromHex. SwapWsApi.close()(TypeScript) andshutdown()(Python) stop a status stream.
Security
- Claims require trusted chain evidence and pin the lockup transaction before revealing a preimage; automatic claims fall back to the script path after a failed cooperative claim.
- Esplora broadcasts check the HTTP status and parse the returned txid.
- LNURL-pay resolution requires HTTPS on clearnet, rejects redirects, and verifies the invoice description hash.
0.11.0 (2026-10-12)
Breaking changes
- Rust core: RGB-aware Bitcoin swap scripts. Rust struct literals for
Cooperative,TransactionOptions,BtcSwapScript, and the submarine and reverse create responses gain optional fields (swap_auth,rgb); addNonewhere you build them.CurrencygainsUsdtRgb. Python defaults the new fields; TypeScript is unchanged.
Added
- USDT-RGB submarine and reverse swaps in Rust, Python, and TypeScript, with rgb-lib wallet integration. See Swap BTC and USDT on RGB.
- RGB cooperative submarine refunds (
rgb-coop-refund-v1). - Cooperative refund authorization with
swapAuth, and signed credential recovery withrecoverSwapAuth.
0.10.0 (2026-09-24)
Breaking changes
- Rust core: chain-swap validation takes the preimage hash. TypeScript and Python call sites are unchanged.
Added
- Swap responses are checked on every route: hashlock, timeout height and encoding, lockup txid, claim preimage, counterparty key, and dust.
- Multi-output claims and refunds.
@kaleidorg/swap-sdk/pay-through, a client for the maker’s pay-through API.
0.9.0 (2026-09-23)
Breaking changes
- The binding surfaces stop saying Boltz. There are no aliases; rename on upgrade:
Added
- Versioning and security policies, and runnable TypeScript examples.