Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 18, 2025

Bumps tronweb from 6.0.4 to 6.1.0.

Release notes

Sourced from tronweb's releases.

v6.1.0

New Features

  • New deserialization support
    Added support for deserializing the following transaction types from raw_data_hex:

    • TransferContract
    • WithdrawBalanceContract
    • WitnessCreateContract
  • trx.getCurrentRefBlockParams
    Provides a method to retrieve the parameters required for transaction building. Users can pass these parameters to transaction constructors and customize the header information, making transaction creation more convenient.

  • trx.signTypedData alias
    Added trx.signTypedData as an alias pointing to the legacy trx._signTypedData method.

Changes

  • Removed getHeaderInfo from the transactionBuilder helper library. Use trx.getCurrentRefBlockParams instead.

  • Moved the deserializeTransaction function from utils/transaction to utils/deserializeTx for better scalability and maintainability of future modules.

  • Dependency updates:

    • axios upgraded from 1.11.0 to 1.12.2
    • puppeteer upgraded from 24.4.0 to 24.23.0
Changelog

Sourced from tronweb's changelog.

Change Log

6.1.1

Changes

  • Remove dependency jsonwebtoken.
  • Bump validator from v13.15.20 to v13.15.23.
  • Address other audit issues.

6.1.0

New Features

  • New deserialization support
    Added support for deserializing the following transaction types from raw_data_hex:

    • TransferContract
    • WithdrawBalanceContract
    • WitnessCreateContract
  • trx.getCurrentRefBlockParams
    Provides a method to retrieve the parameters required for transaction building. Users can pass these parameters to transaction constructors and customize the header information, making transaction creation more convenient.

  • trx.signTypedData alias
    Added trx.signTypedData as an alias pointing to the legacy trx._signTypedData method.

Changes

  • Removed getHeaderInfo from the transactionBuilder helper library. Use trx.getCurrentRefBlockParams instead.

  • Moved the deserializeTransaction function from utils/transaction to utils/deserializeTx for better scalability and maintainability of future modules.

  • Dependency updates:

    • axios upgraded from 1.11.0 to 1.12.2
    • puppeteer upgraded from 24.4.0 to 24.23.0

6.0.4

New Features

  • Improve type inference in Contract module when using typescript.
    • The Contract now infers method signatures based on the provided ABI.
    • To enable accurate inference, the ABI should be defined using the as const assertion or passed directly into tronWeb.contract().

Change

  • Change the return behavior of the contract.new() method.
    • Previously, this method mutated the current instance and used the ABI stored on the Tron blockchain, which proved to be unreliable. It now returns a new instance that uses the ABI provided in the options parameter.
  • Export GetEventResultOptions and EventResponse.
  • Allow using length as the value of the name field in the ABI, but you cannot use result['length'] to read its value.

... (truncated)

Commits
  • 15a649d Merge pull request #668 from tronprotocol/release/v6.1.0
  • ce203f1 Merge pull request #667 from Stan202310/release/v6.1.0
  • 5fde42a test: fix test for updated validator
  • 32c2803 chore: fix audit issue of validator
  • 5799971 feat: add default pk for trx.signTypedData
  • 69c0f31 feat: decode url to string type in deserializeTx
  • 60f94ab Merge pull request #2 from unicornonea/release/v6.1.0
  • 366656e fix: update the name of upgraded dep to puppeteer
  • bbb6fa7 chore: add change log
  • cca0af4 chore: update version to 6.1.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tronweb](https://github.com/tronprotocol/tronweb) from 6.0.4 to 6.1.0.
- [Release notes](https://github.com/tronprotocol/tronweb/releases)
- [Changelog](https://github.com/tronprotocol/tronweb/blob/master/CHANGELOG.md)
- [Commits](tronprotocol/tronweb@v6.0.4...v6.1.0)

---
updated-dependencies:
- dependency-name: tronweb
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant