Skip to content

Commit 3a81bf1

Browse files
authored
Merge pull request #480 from tronprotocol/release/v5.3.2
Release/v5.3.2
2 parents cd30451 + 9e59a03 commit 3a81bf1

File tree

11 files changed

+810
-382
lines changed

11 files changed

+810
-382
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ __[tronweb.network](https://tronweb.network)__
4242
- Version built for Node.js v6 and above
4343
- Version built for browsers with more than 0.25% market share
4444

45-
You can access either version specifically from the [dist](dist) folder.
45+
You can access either version specifically from the dist folder.
4646

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

184184
## Recent History
185185

186+
__5.3.2__
187+
- Support build transactions locally with block header argument.
188+
- Support [Tip586](https://github.com/tronprotocol/tips/blob/master/tip-586.md) by `trx.getBandwidthPrices` and `trx.getEnergyPrices`.
189+
- Support recover transaction signer address by `trx.ecRecover`.
190+
- Support multi-dimension address array such as address[][] https://github.com/tronprotocol/tronweb/issues/433
191+
- Fix error when triggerSmartContract with error address due to the undefined callback. https://github.com/tronprotocol/tronweb/issues/429
192+
- Fix getEventResult filter onlyConfirmed/onlyUnconfirmed not working https://github.com/tronprotocol/tronweb/issues/422
193+
- Axios update https://github.com/tronprotocol/tronweb/issues/445
194+
195+
__5.3.1__
196+
- Fix `getBlockRange()` error for range of 1 ([#398](https://github.com/tronprotocol/tronweb/issues/398)).
197+
- Add support for `estimateenergy` in `TransactionBuilder#deployConstantContract()` API.
198+
186199
__5.3.0__
187200
- Replace `elliptic` with `ethereum-cryptography/secp256k1`
188201
- Bump ethers to ^6.6.0

package-lock.json

Lines changed: 279 additions & 222 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tronweb",
3-
"version": "5.3.1",
3+
"version": "5.3.2",
44
"description": "JavaScript SDK that encapsulates the TRON HTTP API",
55
"main": "dist/TronWeb.node.js",
66
"keywords": [
@@ -30,7 +30,7 @@
3030
"@babel/runtime": "^7.0.0",
3131
"@ethersproject/abi": "^5.7.0",
3232
"@tronweb3/google-protobuf": "^3.21.2",
33-
"axios": "^0.26.1",
33+
"axios": "^1.6.2",
3434
"bignumber.js": "^9.0.1",
3535
"ethereum-cryptography": "^2.0.0",
3636
"ethers": "^6.6.0",

src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import providers from 'lib/providers';
22
import utils from 'utils';
33
import BigNumber from 'bignumber.js';
44
import EventEmitter from 'eventemitter3';
5-
import { version } from '../package.json';
5+
import Package from '../package.json';
66
import semver from 'semver';
77
import injectpromise from 'injectpromise';
88

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

18+
const { version } = Package;
19+
1820
const DEFAULT_VERSION = '4.7.1';
1921

2022
const FEE_LIMIT = 150000000;

0 commit comments

Comments
 (0)