Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps tronweb from 6.0.3 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

v6.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.
  • Bump axios from 1.8.3 to 1.11.0, bump eslint from 9.22.0 to 9.31.0.

Bug Fixes

  • Fix the issue where addUpdateData treats numeric strings as numbers.#629
    • Starting from TronWeb v6.0.4, addUpdateData will use TronWeb.fromUtf8 to convert the provided data string—unless it starts with '0x'.
    • If the resulting data string has an odd length, a '0' will be prepended to ensure even length.
Changelog

Sourced from tronweb's changelog.

Change Log

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.
  • Bump axios from 1.8.3 to 1.11.0, bump eslint from 9.22.0 to 9.31.0.

Bug Fixes

  • Fix the issue where addUpdateData treats numeric strings as numbers.#629
    • Starting from TronWeb v6.0.4, addUpdateData will use TronWeb.fromUtf8 to convert the provided data string—unless it starts with '0x'.
    • If the resulting data string has an odd length, a '0' will be prepended to ensure even length.

6.0.3

... (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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 15, 2025
@vercel
Copy link

vercel bot commented Dec 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ant-design-web3 Error Error Dec 15, 2025 9:13am

@changeset-bot
Copy link

changeset-bot bot commented Dec 15, 2025

⚠️ No Changeset found

Latest commit: 1dd675f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 15, 2025
@coderabbitai
Copy link

coderabbitai bot commented Dec 15, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Note

Free review on us!

CodeRabbit is offering free reviews until Wed Dec 17 2025 to showcase some of the refinements we've made.

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

Preview is ready

Bumps [tronweb](https://github.com/tronprotocol/tronweb) from 6.0.3 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.3...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 force-pushed the dependabot/npm_and_yarn/tronweb-6.1.0 branch from e8fc2dd to 1dd675f Compare December 15, 2025 09:12
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 size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant