Skip to content

Commit

Permalink
Merge pull request #480 from tronprotocol/release/v5.3.2
Browse files Browse the repository at this point in the history
Release/v5.3.2
  • Loading branch information
unicornonea committed Feb 22, 2024
2 parents cd30451 + 9e59a03 commit 3a81bf1
Show file tree
Hide file tree
Showing 11 changed files with 810 additions and 382 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ __[tronweb.network](https://tronweb.network)__
- Version built for Node.js v6 and above
- Version built for browsers with more than 0.25% market share

You can access either version specifically from the [dist](dist) folder.
You can access either version specifically from the dist folder.

TronWeb is also compatible with frontend frameworks such as:
- Angular
Expand Down Expand Up @@ -183,6 +183,19 @@ Contact the team at https://cn.developers.tron.network/docs/online-technical-sup

## Recent History

__5.3.2__
- Support build transactions locally with block header argument.
- Support [Tip586](https://github.com/tronprotocol/tips/blob/master/tip-586.md) by `trx.getBandwidthPrices` and `trx.getEnergyPrices`.
- Support recover transaction signer address by `trx.ecRecover`.
- Support multi-dimension address array such as address[][] https://github.com/tronprotocol/tronweb/issues/433
- Fix error when triggerSmartContract with error address due to the undefined callback. https://github.com/tronprotocol/tronweb/issues/429
- Fix getEventResult filter onlyConfirmed/onlyUnconfirmed not working https://github.com/tronprotocol/tronweb/issues/422
- Axios update https://github.com/tronprotocol/tronweb/issues/445

__5.3.1__
- Fix `getBlockRange()` error for range of 1 ([#398](https://github.com/tronprotocol/tronweb/issues/398)).
- Add support for `estimateenergy` in `TransactionBuilder#deployConstantContract()` API.

__5.3.0__
- Replace `elliptic` with `ethereum-cryptography/secp256k1`
- Bump ethers to ^6.6.0
Expand Down
501 changes: 279 additions & 222 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tronweb",
"version": "5.3.1",
"version": "5.3.2",
"description": "JavaScript SDK that encapsulates the TRON HTTP API",
"main": "dist/TronWeb.node.js",
"keywords": [
Expand Down Expand Up @@ -30,7 +30,7 @@
"@babel/runtime": "^7.0.0",
"@ethersproject/abi": "^5.7.0",
"@tronweb3/google-protobuf": "^3.21.2",
"axios": "^0.26.1",
"axios": "^1.6.2",
"bignumber.js": "^9.0.1",
"ethereum-cryptography": "^2.0.0",
"ethers": "^6.6.0",
Expand Down
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import providers from 'lib/providers';
import utils from 'utils';
import BigNumber from 'bignumber.js';
import EventEmitter from 'eventemitter3';
import { version } from '../package.json';
import Package from '../package.json';
import semver from 'semver';
import injectpromise from 'injectpromise';

Expand All @@ -15,6 +15,8 @@ import SideChain from 'lib/sidechain';
import { keccak256 } from 'utils/ethersUtils';
import { ADDRESS_PREFIX, TRON_BIP39_PATH_INDEX_0 } from 'utils/address';

const { version } = Package;

const DEFAULT_VERSION = '4.7.1';

const FEE_LIMIT = 150000000;
Expand Down

0 comments on commit 3a81bf1

Please sign in to comment.