Releases: nessshon/tonutils
v0.2.2
What's Changed
Bug Fixes
- TonConnect Storage Handling: Fixed an issue where all users were treated as a single entity in storage, causing incorrect data handling. (#32)
- Transaction Repetition in TonConnect: Resolved a problem where the system repeated the response of the previous transaction instead of processing a new one. Updated storage logic to correctly handle
last_event_id
. (#32) - TonConnect Proof Verification: Fixed an issue with wc conversion in proof verification.
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
Added
- Integrated TON Connect SDK.
- Examples Available:
Fixed
- Fixed
INVALID_BAG_OF_CELLS
error. #27 - Made
api_key
optional inTonCenterClient
.
Improved
- Handled all missing fields in
RawAccount
to preventKeyError
. #25
Full Changelog: v0.1.8...v0.2.0
v0.1.8
What's Changed
- Code Refactoring: Improved the overall structure and readability of the codebase.
- Updated Docstrings: Revised and standardized docstrings.
- Added
jetton_decimals
: Introduced thejetton_decimals
parameter to handle Jetton decimal precision, enabling accurate conversion ofmin_amount
to nano units specifically for swap operations.
Full Changelog: v0.1.7...v0.1.8
v0.1.7
What's Changed
-
Improved Error Handling Across Clients:
Fix: improve error handling and support for missing fields across clients. #18 -
Fix Packaging:
Included thepy.typed
file to enhance type hinting support for users. #13 -
Refactor Stonfi, Implement Stonfi Swap V2:
Refactored Stonfi and introduced the second version of the Stonfi Swap. #11 -
Add Mnemonic Validation Decorator:
Added a decorator for mnemonic validation in thefrom_mnemonic
method. -
Fix Subwallet ID Generation for WalletV5R1:
Fixed an issue with subwallet ID generation forWalletV5R1
, depending on the selected network (mainnet/testnet). -
Add Wallet V2 Support:
Added support for Wallet V2. -
Update aiohttp Version:
Updatedaiohttp
to version 3.10.11 for compatibility and performance improvements.
Full Changelog: v0.1.5...v0.1.7
v0.1.5
What's Changed
-
Improved LiteserverClient Connection Handling:
Refactored the client to maintain a persistent connection without reinitializing the LiteBalancer, ensuring better stability during operations. -
STON.fy Swaps Integration:
Introduced support for v1 swaps (TON to Jetton, Jetton to TON, Jetton to Jetton). #11 -
Enhanced Client Configuration:
Added theis_testnet
attribute to LiteserverClient, allowing easier identification of the network environment. -
Fixed Wallet Deployment Issue:
Resolved a bug that caused transactions to be sent to the zero address during Highload Wallet v3 deployments.
Added Examples
-
Wallet Operations • DEX STON.fy
-
Jetton Operations • DEX STON.fy
Full Changelog: v0.1.4...v0.1.5
v0.1.4
What's Changed
-
Optimized the wallet address lookup process in batch jetton transfers, reducing redundant calls to retrieve the wallet address. This improvement enhances performance when transferring jettons to multiple recipients in a single operation.
-
Fixed an issue in the Simple Subdomain Manager where cell building was incorrectly handled.
Full Changelog: v0.1.1...v0.1.4
v0.1.1
What's Changed
-
Introduced a
base_url
parameter in the constructors ofTonapiClient
andToncenterClient
. This enhancement allows users to specify a custom API URL, improving flexibility in connecting to various API endpoints. -
Renamed
LiteClient
toLiteserverClient
to prevent naming conflicts withLiteClient
in thepytoniq
library. This change enhances clarity and avoids potential confusion among developers using both libraries. -
Restored standard NFT contracts while introducing modified versions as supplementary contracts labeled as "Modified." This provides users with more options and functionality tailored to their specific needs in NFT management.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
v0.0.9
What's Added
- Add Preprocessed Wallet (v2, v2r1) Contract support.
- Add Jetton Stablecoin Contract support (by notcoin).
- Add
from_private_key
method to Wallets. - Add
get_timeout
,get_processed
,get_last_cleaned
get methods toHighloadWalletV3
. - Add
get_raw_account
method to Contract.
Added Examples
-
Reprocessed Wallet Operations
-
Standard Jetton Operations
-
Stablecoin Jetton Operations (by Notcoin)
Full Changelog: v0.0.8...v0.0.9