All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This release drops the old ton
dependency in favor of the new ton-core
package. This release contains breaking changes.
- Added
smartContract.sendMessage
method that accepts aMessage
fromton-core
, as well as the old optionalopts
argument with the gas limits - Added helpers for creating
Message
s:internal
andexternalIn
- Added helpers for creating
CommonMessageInfo
:internalInfo
andexternalInInfo
All of the following changes are breaking.
- Changed
ton
peer dependency toton-core
andton-crypto
peer dependencies stackInt
helper now acceptsnumber|bigint
instead ofnumber|BN
- Fields
balance
andrandSeed
ofC7Config
are now of typebigint
instead ofBN
NormalizedStackEntry
now has abigint
variant instead of the oldBN
one- Both
smartContract.sendInternalMessage
andsmartContract.sendExternalMessage
now acceptMessage
as their first argument instead ofInternalMessage
orExternalMessage
. They are now aliases forsmartContract.sendMessage
that only check the type of the provided message smartContract.setBalance
now acceptsbigint
instead ofBN
SendMsgAction
now hasmessage: MessageRelaxed
instead ofmessage: RawMessageRelaxed
ReserveCurrencyAction
now hascurrency: CurrencyCollection
instead ofcurrency: RawCurrencyCollection
- Removed
bn.js
dependency