Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 4, 2025

Bumps tronweb from 6.0.1 to 6.0.4.

Release notes

Sourced from tronweb's releases.

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.

v6.0.3

  • Add support for deserializing 6 more transactions.
  • Fix npm audit issues.
  • Fix the error in the abi variable within transactionBuilder.createSmartContract.
  • Export Method class.
  • Add missing fields in internal_transactions.

v6.0.2

  • Bump axios from 1.7.4 to 1.8.3.
  • Fix npm audit problems.
Changelog

Sourced from tronweb's changelog.

Change Log

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

  • Add support for deserializing 6 more transactions.
  • Fix npm audit issues.
  • Fix the error in the abi variable within transactionBuilder.createSmartContract.
  • Export Method class.
  • Add missing fields in internal_transactions.

6.0.2

  • Bump axios from 1.7.4 to 1.8.3.
  • Fix npm audit problems.

6.0.1

  • Support deserialize TriggerSmartContract transaction by raw_data_hex.
  • Replace @tronweb3/google-protobuf with google-protobuf.
  • Fix some type errors and API return type compatibility issues.

6.0.0

  • Fix issue543, replace type AxiosHeaders with InstanceType.
  • Add type for value field in the return of the creation by TransactionBuilder methods.
  • Fix known type errors.
  • Bump axios from 1.6.8 to 1.7.4 and webpack from 5.78.0 to 5.94.0.
  • Add TronWeb.address.toChecksumAddress and TronWeb.address.isChecksumAddress APIs.
  • Fix the wrong action of deocdeInput API in Contract module. #557

6.0.0-beta.4

  • Replace ethers@v5/abi with abiCoder of ethers@v6.
  • Bump ethers from v6.11.1 to v6.13.1.
  • Export all Types and enum objects.

... (truncated)

Commits
  • 149828b Merge pull request #652 from tronprotocol/release/v6.0.4
  • 51e683c Merge pull request #651 from Stan202310/feature/v6.0.4
  • c97b90a chore: update change log & remove istanbul
  • 03ddc57 Merge pull request #650 from Stan202310/feature/v6.0.4
  • f9f846e chore: update change log
  • b063eaf Merge pull request #648 from Stan202310/feature/v6.0.4
  • 30388fa chore: udpate change log
  • 89b93b6 fix: remove length prop from OutputType
  • 0662332 chore: update change log
  • 276e406 chore: update change log
  • 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.1 to 6.0.4.
- [Release notes](https://github.com/tronprotocol/tronweb/releases)
- [Changelog](https://github.com/tronprotocol/tronweb/blob/master/CHANGELOG.md)
- [Commits](tronprotocol/tronweb@v6.0.1...v6.0.4)

---
updated-dependencies:
- dependency-name: tronweb
  dependency-version: 6.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 4, 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.

0 participants