Skip to content

Releases: reserve-protocol/react-zapper

v1.7.1

23 Apr 18:38
3183ac5

Choose a tag to compare

Fixed

  • Fixed No providers available for quoteSource="zap" error on CMC20/BSC below the minimum input value. The minimum-input skip rule now only applies to best mode; explicit provider selection (Zap, Odos, Velora, Enso) is always honored

v1.7.0

23 Apr 18:14
337ee79

Choose a tag to compare

Added

  • Enso as a third external quote aggregator alongside Odos and Velora
  • All external aggregators (Odos, Velora, Enso) are now available on every supported chain (Mainnet, Base, Arbitrum, BSC). In best mode the zapper queries every enabled provider in parallel (Promise.allSettled) and picks the highest minAmountOut; failures are soft
  • Per-chain × per-provider enablement matrix (PROVIDER_ENABLED in src/utils/providers.ts). Flip a boolean to disable a source on a specific chain — it drops out of the dropdown and the best pool automatically
  • Provider registry (PROVIDERS in src/utils/providers.ts). Adding a future aggregator is one icon + one registry entry
  • New exports: PROVIDERS, PROVIDER_ENABLED, getEnabledProviders, getEnabledAggregators, isProviderEnabled, and types ProviderId, ProviderConfig, QuoteSource

Changed

  • QuoteSource type widened from 'best' | 'zap' | 'odos' to 'best' | 'zap' | 'odos' | 'velora' | 'enso' (backward compatible — existing values still valid)
  • Unified fetch flow in useZapSwapQuery; the hardcoded zap-vs-odos parallel path is replaced by a generic fetchBestZapQuote that iterates the enabled providers
  • Quote Source settings dropdown is now registry-driven and shows only the providers enabled for the current chain
  • Demo's Default Quote Source selector now exposes every provider (zap, odos, velora, enso) for testing

v1.6.2

26 Mar 02:03
b8d5fef

Choose a tag to compare

Fixed

  • Added USDT and WBNB token logos.

v1.6.1

26 Mar 01:21
5de7ebd

Choose a tag to compare

Added

  • Export zappableTokens constant for consumers to access supported zappable tokens per chain

Fixed

  • Added missing zapperApiUrl and sellOnly props documentation to README

v1.6.0

25 Mar 22:20
308b4c6

Choose a tag to compare

Added

  • New zapperApiUrl prop for routing zapper service calls (api/zapper/*) to a dedicated host
  • Healthcheck now hits the zapper service /health endpoint directly via zapperApiUrl

Changed

  • Reserve API calls (current/prices, current/dtf, folio-manager/*, dtf/icons, zapper/report, odos/swap, velora/swap) remain on apiUrl
  • zapperApiUrl falls back to apiUrl when not provided (fully backwards compatible)

v1.5.11

19 Mar 18:23

Choose a tag to compare

chore: fix sellOnly flag

v1.5.10

18 Mar 21:16

Choose a tag to compare

feat: allow sellOnly

v1.5.9

03 Mar 22:20

Choose a tag to compare

feat: add deep liquidity flag

v1.5.8

16 Dec 14:31
9d8edcc

Choose a tag to compare

Fixed

  • Regenerated package-lock.json with npm@latest for CI compatibility

v1.5.7

16 Dec 14:03
69eb497

Choose a tag to compare

Changed

  • Migrated npm publishing from token-based authentication to OIDC Trusted Publishers
  • Updated Node.js version from 20 to 22 in CI workflows
  • Added automatic version tagging workflow on push to main