Skip to content

v0.1.2

Choose a tag to compare

@ouziel-slama ouziel-slama released this 17 Jul 15:23
e77602d

[0.1.2] - 2026-07-17

Added

  • Price-range and collection filters on listSwaps: new ListSwapsParams.priceMin / priceMax (inclusive bounds in sats) and collection (a collection slug the server expands to its asset names, so only Counterparty listings match) — combinable with every existing filter
  • HorizonMarketClient.getSwapFacets(params?, options?) — one request returns reactive facet counts for a filter set (SwapFacets: listings per type, per price bucket, and per collection); each dimension is counted excluding its own active selection so sibling options keep clickable, non-zero counts. Takes the same filter shape as listSwaps minus pagination/sort (SwapFacetsParams); new types SwapFacets, SwapFacetsParams, PriceBucketFacet (USD presets resolved to sat-bounds server-side), and CollectionFacet