Skip to content

Releases: tronprotocol/tronweb

v6.0.0

20 Sep 12:38
7055429
Compare
Choose a tag to compare
  • Fix #543, replace type AxiosHeaders with InstanceType.
  • Add type for value field in the return of the creation by TransactionBuilder methods.
  • Fix known type errors.
  • Bump axios from 1.6.8 to 1.7.4 and webpack from 5.78.0 to 5.94.0.
  • Add TronWeb.address.toChecksumAddress and TronWeb.address.isChecksumAddress APIs.
  • Fix the wrong action of deocdeInput API in Contract module. #557

v6.0.0-beta.4

12 Jul 10:14
41ab0d0
Compare
Choose a tag to compare
  • Replace ethers@v5/abi with abiCoder of ethers@v6.
  • Bump ethers from v6.11.1 to v6.13.1.
  • Export all Types and enum objects.
  • Move typescript and other dev dependencies into devDependencies field in package.json.
  • Change headers type in TronWeb constructor.

v6.0.0-beta.3

10 May 10:24
6557d51
Compare
Choose a tag to compare
  • Support recovering transaction signer address by trx.ecRecover.
  • Support both base58 format and hex format address field in keys of updateAccountPermissions params.
  • Support type for contract instance.

v6.0.0-beta.2

28 Mar 05:30
ac0deaa
Compare
Choose a tag to compare
  • Bump ethers from 6.8.0 to 6.11.1
  • Bump ethereum-cryptography from 2.1.2 to 2.1.3
  • Bump axios from 1.6.2 to 1.6.8

v5.3.2

22 Feb 12:44
3a81bf1
Compare
Choose a tag to compare
  • Add custom block header argument for building transactions locally in transactionBuilder lib
  • Support TIP586 by trx.getBandwidthPrices and trx.getEnergyPrices
  • Support recover transaction signer address by trx.ecRecover
  • Support multi-dimension address array such as address[][] for ABI params encoding in triggerSmartContract and createSmartContract #433
  • Fix error when triggerSmartContract with error address due to the undefined callback #429
  • Bump axios from 0.26.1 to 1.6.2 #445

v6.0.0-beta.1

24 Jan 07:42
ea4a502
Compare
Choose a tag to compare
  • Support TIP586 with trx.getBandwidthPrices and trx.getEnergyPrices.
  • Support custom block header info when creating transaction.

v6.0.0-beta.0

06 Dec 14:07
f1d180c
Compare
Choose a tag to compare
  • Add full type definition for Typescript.
  • Change Default exports to Named exports.
  • Change TronWeb.createRandom(options) to TronWeb.createRandom(password, path, wordlist).
  • Change TronWeb.fromMnemonic(mnemonic, path, wordlist) to TronWeb.fromMnemonic(mnemonic, path, password, wordlist).
  • All methods in Trx and TransactionBuilder perform an strict check for type and position of parameters.
  • All methods in TronWeb will throw an Error instance instead of a string. e.message should be used to access error information.
  • Update TronWeb#event API with new backend service(#422).
  • Remove Contract#watch() method.
  • Support multi-dimension address array parameters in TransactionBuilder#triggerSmartContract()(#433).

v5.3.1

29 Nov 06:03
cd30451
Compare
Choose a tag to compare
  • Fix getBlockRange() error for range of 1 (#398).
  • Add support for estimateenergy in TransactionBuilder#deployConstantContract() API.

v5.3.0

14 Jul 06:49
d2a300a
Compare
Choose a tag to compare
  • Replace elliptic with ethereum-cryptography/secp256k1
  • Bump ethers to ^6.6.0
  • Optimize argument validation for createToken, updateToken and applyForSR
  • callValue can be 0 when the contract constructor is payable
  • Support shouldPollResponse to customize poll times (#368)
  • Support TIP541 by transactionBuilder.cancelUnfreezeBalanceV2
  • Support TIP542 by adding a parameter in transactionBuilder.delegateResource
  • Support estimate the energy used in contract deployment by transactionBuilder.deployConstantContract

v5.1.1

10 Jul 03:40
Compare
Choose a tag to compare