Skip to content

Releases: mento-protocol/mento-sdk

v3.2.6

27 Apr 18:30
4bf46b5

Choose a tag to compare

What's Changed

  • feat: Add support for JPYm & CHFm (#164)
  • fix: npm trusted publish (#162)
  • fix: Get rateFeedID for virtual pools (#161)
  • feat: Add USDT0 and EURm routes on Monad (#159)
  • feat: Update cache (#156)
  • test(tokens): Expand TokenService unit test coverage (41.96% → 90%+) (#155)
  • chore(ci): Bump the gh-actions group with 2 updates (#152)

Full Changelog: v3.2.1...v3.2.6

v3.2.1

23 Mar 16:38
3d09ab8

Choose a tag to compare

Fixes

  • Rebuilt dist so the npm package includes getOwnedTroveCount() and findNextAvailableOwnerIndex(), which were missing from 3.2.0 due to stale build output.

v3.2.0

23 Mar 16:12
a5d1453

Choose a tag to compare

Improvements

  • Added getOwnedTroveCount() and sender-aware findNextAvailableOwnerIndex() for safe trove opening.
  • getNextOwnerIndex() now acts as a compatibility alias for the current NFT-owned trove count.
  • Clarified borrow docs so getUserTroves() reflects current Trove NFT ownership.

v3.1.0

13 Mar 15:19
ca0791a

Choose a tag to compare

What's Changed

  • feat: Update to support Monad (#132)
  • test: Raise borrow + trading coverage (MEN-31, MEN-33) (#135)
  • fix(borrow): Correct JSDoc examples to use GBPm instead of USDm (MEN-41) (#138)
  • test: Enforce 60% Jest coverage thresholds in CI (#133)

Full Changelog: v3.0.0...v3.1.0

v3.0.0

05 Mar 09:52
7d20f1a

Choose a tag to compare

Complete rewrite of the Mento SDK for v3 of the protocol.

Highlights

  • New service-based architecturepools, routes, quotes, swap, liquidity, borrow, tokens, trading
  • viem-native — drops ethers.js in favor of viem as peer dependency
  • FPMM pool support — first-class support for v3 Fixed Product Market Maker pools alongside legacy Virtual pools
  • Liquidity management — add/remove liquidity and zap in/out for FPMM pools
  • Borrow operations — trove management (open, close, adjust, repay) via the Mento CDP system
  • Enriched pool details — pricing, fees, rebalancing state, and trading limits
  • Route caching — pre-computed route cache for faster quote lookups
  • Dual CJS/ESM — proper dual-format package with exports map

Breaking changes

  • Minimum Node.js 18+
  • viem ^2.21.44 required as peer dependency (replaces ethers.js)
  • All public APIs use object-based input parameters
  • Governance module removed

See the README for migration details.

v1.15.5

06 Nov 17:09
f8cb19e

Choose a tag to compare

feat: replace mock USDC and USDT with the real tokens (#91)

v1.0.0

07 Jun 15:51
cfe5573

Choose a tag to compare

What's Changed

  • The main change in this release is that trading limit related functionality now supports multiple assets (see #58). There are a few changes to the API that are not backwards compatible:

Full Changelog: v0.2.8...v1.0.0

v0.1.5

28 Apr 13:49
0581e36

Choose a tag to compare

What's Changed

  • feat: Add ability to query limits and circuit breaker status by @nvtaveras in #27
  • docs: Update readme to point to sdk docs by @nvtaveras in #22
  • docs: improve parameter desc in getExchangeForTokens by @nvtaveras in #24

Full Changelog: v0.1.4...v0.1.5

v0.1.3

06 Mar 09:46
e61bc15

Choose a tag to compare

This version of mento-sdk adds methods to the Mento class for use in UI, tweaks visibility of some Mento methods, upgrades repo to yarn 3, adds script for printing mento details, updates gitignore, README and lint config