Skip to content

v8.0.0

Choose a tag to compare

@ryanio ryanio released this 15 Oct 20:36
· 167 commits to main since this release
9ed7e4d

What's Changed

  • feat: v8 - bulk order additions, partial failure handling, and API simplification by @ryanio in #1786
  • feat: add missing API endpoints, documentation, and improve SDK architecture by @ryanio in #1787
  • docs: add API reference links and refresh getting-started guide by @ryanio in #1788

Breaking Change 🚨

API Parameter Rename (startAmount → amount, removed endAmount)

All order creation methods now use parameter amount instead of startAmount for better API consistency, and endAmount has been removed due to discontinuation of english and dutch auction support several years ago.

Migration:

// Before (v7)
await sdk.createListing({
  asset: { tokenAddress, tokenId },
  accountAddress,
  startAmount: "1.0", // ❌ Old parameter name
  endAmount: "1.0",   // ❌ Old parameter name
});

// After (v8)
await sdk.createListing({
  asset: { tokenAddress, tokenId },
  accountAddress,
  amount: "1.0"  // ✅ New parameter name
});

Full Changelog: v7.4.0...v8.0.0