Skip to content

0.3.8

Compare
Choose a tag to compare
@Ho3einWave Ho3einWave released this 24 Oct 17:13
· 317 commits to main since this release

Changelog

Version 0.3.8 - 2024-10-24

Refactors:

  • Unused Imports Removal:

    • Removed the unused import of useTonConnectUI from lib/components/Header/Wallet.tsx and lib/components/Swap/Swap.tsx.
    • Removed commented code related to useTonConnectUI in these components.
  • Swap Component Rendering:

    • Further optimized the rendering of the Swap component in lib/components/Swap/Swap.tsx, removing unnecessary imports and code for better performance.

Bug Fixes:

  • Error Handling:
    • Improved error handling and reporting in lib/components/Header/Wallet.tsx, lib/components/Swap/Swap.tsx, and lib/components/SwapButton/ConfirmationModal.tsx.

Features:

  • createSwap Function:

    • Added a new createSwap function to lib/components/index.tsx, enabling the creation of swaps via the widget's API.
  • TonConnectUI Integration:

    • Updated the options store in lib/store/options.store.ts to include a TonConnectUI instance and added a new action setTonConnectInstance.

Documentation:

  • Updated the README file to reflect the latest changes and improvements.

Release Note

This release includes various optimizations, improved error handling, and new functionality such as the addition of the createSwap function. Integration with TonConnectUI has also been enhanced for more flexible use.

Full Changelog: 0.3.7...0.3.8