Skip to content

Releases: MyTonSwap/sdk

v0.0.7-public-alpha

12 Oct 10:32
Compare
Choose a tag to compare

Changelog

Version 0.0.7-public-alpha - 2024-10-12

Fixes:

  • Renamed searchAsset function to getPaginatedAssets for improved clarity and functionality.

Release Note

Function Renamed: getPaginatedAssets

In this update, we’ve renamed the searchAsset function to getPaginatedAssets to better reflect its purpose. This function now clearly indicates its role in retrieving a paginated list of assets, making it easier for developers to understand its usage.

  • getPaginatedAssets: Retrieve assets with pagination, offering a more structured and scalable way to handle large lists of assets.

Full Changelog: v0.0.6-public-alpha...v0.0.7-public-alpha

v0.0.6-public-alpha

12 Oct 08:48
Compare
Choose a tag to compare

Changelog

Version 0.0.6-public-alpha - 2024-10-12

New Features:

  • Added getWalletAssets function to retrieve user wallet assets seamlessly.

Release Note

New Function: getWalletAssets

We’re excited to introduce the new getWalletAssets function in this release. This feature allows you to easily retrieve and manage the assets held within a user's wallet, simplifying asset handling and enabling smoother interactions with wallet balances.

  • getWalletAssets: Fetch and manage all assets within a user's wallet, providing greater control and visibility over user assets for developers.

Full Changelog: v0.0.5-public-alpha...v0.0.6-public-alpha

v0.0.5-public-alpha

10 Oct 12:45
Compare
Choose a tag to compare

MyTonSwap SDK - Release v0.0.5-public-alpha

Release Date: October 10, 2024

Bug Fixes:

  • Fixed an issue affecting swap route calculations under certain conditions, improving the accuracy and reliability of asset swaps.
    We appreciate your feedback and continued support! Feel free to reach out with any further issues or feature requests.

Full Changelog: v0.0.4-public-alpha...v0.0.5-public-alpha

v0.0.4-public-alpha

10 Oct 12:32
Compare
Choose a tag to compare

MyTonSwap SDK - Release v0.0.4-public-alpha

Release Date: October 10, 2024

Bug Fixes:

  • Fixed an issue affecting swap route calculations under certain conditions, improving the accuracy and reliability of asset swaps.
    We appreciate your feedback and continued support! Feel free to reach out with any further issues or feature requests.

Full Changelog: v0.0.3-public-alpha...v0.0.4-public-alpha

v0.0.3-public-alpha

03 Oct 07:16
Compare
Choose a tag to compare

Changelog

Version 0.0.3-public-alpha - 2024-11-03

New Features:

  • Added fromNano function with support for custom decimals to convert nano units to standard units.
  • Added toNano function with support for custom decimals to convert standard units to nano units.

Improvements:

  • Exported all types for enhanced flexibility and type safety in external usage.

Release Note

New Functions: fromNano and toNano (Custom Decimal Support)

In this release, we've introduced two powerful new functions: fromNano and toNano. These functions allow you to easily convert between nano units and standard units, with the added flexibility of specifying custom decimals.

  • fromNano: Convert nano units (smallest denomination) to standard units, supporting any custom decimal precision.

  • toNano: Convert standard units to nano units with custom decimal precision, ensuring precise handling of various decimal places.

Exported Types

  • To improve developer experience, we’ve now exported all types used in the package. This allows for better type safety and easier integration in TypeScript projects.

Full Changelog: v0.0.2-public-alpha...v0.0.3-public-alpha

v0.0.2-public-alpha

01 Oct 13:37
Compare
Choose a tag to compare

Release: @mytonswap/sdk v0.0.2-public-alpha

We’re excited to announce the release of @mytonswap/sdk, a powerful utility library designed to interact seamlessly with decentralized exchanges on the TON blockchain. This package simplifies asset management and swap operations by providing direct integration with platforms like ston.fi and dedust.io.

Key Features:

  • Retrieve Asset List: Effortlessly fetch all available assets from ston.fi and dedust.io.
  • Asset Search: Quickly search through the asset lists to find specific tokens.
  • Liquidity Pool Pairs: Discover liquidity pool pairs (pairs of assets with active liquidity) and optimize your trading decisions.
  • Best Swap Route: Automatically determine the optimal route for swapping assets, ensuring the best rates.
  • Automated Swap Messages: Easily generate swap messages for TON blockchain transactions, simplifying the process.
    This package is designed to streamline your decentralized finance (DeFi) experience on the TON blockchain, giving you access to key DeFi tools in one simple-to-use interface.

Full Changelog: https://github.com/MyTonSwap/sdk/commits/v0.0.2-public-alpha