Skip to content

Commit

Permalink
Merge pull request #374 from tronprotocol/release/v5.2.0
Browse files Browse the repository at this point in the history
Release/v5.2.0
  • Loading branch information
unicornonea committed May 17, 2023
2 parents 8592538 + 9250f72 commit 4b131bb
Show file tree
Hide file tree
Showing 10 changed files with 956 additions and 335 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ coverage
scripts
src
demo
.vscode
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ Contact the team at https://cn.developers.tron.network/docs/online-technical-sup

## Recent History

__5.2.0__
- Support build transactions locally with protobuf
- Support multi-sign for `setAccountId`, `updateBrokerage`, `clearABI`, `updateAccountPermissions` function in `transactionBuilder` lib

__5.1.0__
- Add `freezeBalanceV2`, `unfreezeBalanceV2`, `delegateResource`, `undelegateResource` and `withdrawExpireUnfreeze` function in transactiobBuiler lib to support stakeV2
- Support `tronWeb.transactionBuilder.estimateEnergy` to estimate energy for triggersmartcontract transaction
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tronweb",
"version": "5.1.0",
"version": "5.2.0",
"description": "JavaScript SDK that encapsulates the TRON HTTP API",
"main": "dist/TronWeb.node.js",
"keywords": [
Expand Down Expand Up @@ -28,12 +28,12 @@
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@tronweb3/google-protobuf": "^3.21.2",
"axios": "^0.26.1",
"bignumber.js": "^9.0.1",
"elliptic": "^6.5.4",
"ethers": "^5.4.4",
"ethers": "^5.7.2",
"eventemitter3": "^3.1.0",
"@tronweb3/google-protobuf": "^3.21.2",
"injectpromise": "^1.0.0",
"lodash": "^4.17.21",
"semver": "^5.6.0",
Expand Down
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import SideChain from 'lib/sidechain';
import { keccak256 } from 'utils/ethersUtils';
import { ADDRESS_PREFIX, TRON_BIP39_PATH_INDEX_0 } from 'utils/address';

const DEFAULT_VERSION = '3.5.0';
const DEFAULT_VERSION = '4.7.1';

const FEE_LIMIT = 150000000;

Expand Down Expand Up @@ -180,8 +180,6 @@ export default class TronWeb extends EventEmitter {

this.fullNode = fullNode;
this.fullNode.setStatusPage('wallet/getnowblock');

this.getFullnodeVersion();
}

setSolidityNode(solidityNode) {
Expand Down

0 comments on commit 4b131bb

Please sign in to comment.