v6.0.0-beta.0
unicornonea
released this
06 Dec 14:07
·
93 commits
to master
since this release
- 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).