Skip to content

Releases: MetaMask/snap-tron-wallet

1.22.0

Choose a tag to compare

@github-actions github-actions released this 19 Feb 17:15
4d77fb0

@metamask/tron-wallet-snap

Added

  • Support fetching TRC20 token balances for inactive accounts using fallback endpoint (#190)
  • Add security scanning for tokens sends (#205)

Fixed

  • Decode hex-encoded TRC10 token names and symbols from Full Node API responses (#187)
  • Gracefully handle dismissed interface contexts during background refresh operations (#188)
  • Add spent bandwidth from staking as part of the calculation of current bandwidth levels. For both energy and bandwidth, clamp the result between maximum and 0 to avoid negative values (#197)

1.21.1

Choose a tag to compare

@github-actions github-actions released this 05 Feb 17:36
26a1458

@metamask/tron-wallet-snap

Fixed

  • Sent transactions stuck on pending state (#194)

1.21.0

Choose a tag to compare

@github-actions github-actions released this 05 Feb 11:00
5febcaf

@metamask/tron-wallet-snap

Fixed

  • Handle extreme token amounts to prevent NaN and scientific notation in estimated changes (#191)
  • Consider contract deployer's energy when calculating fees (#192)

1.20.0

Choose a tag to compare

@github-actions github-actions released this 02 Feb 15:15
d0c8983

@metamask/tron-wallet-snap

Added

  • Support estimating network fees with contract energy sharing mechanism (#181)

Changed

  • Optimize data synchronization to avoid duplicate API requests (#173)
  • Cache chain parameters until they expire (#171)

Fixed

  • Add pre-confirmation validation to confirmSend flow (#179)
    • Validates that the user has enough funds to cover both the amount and all associated fees (bandwidth, energy, account activation) before showing the confirmation dialog.
  • Fix missing values in simulation API request (#176)
    • The wrong parameters sent to the simulation API were causing inaccurate estimations and false negatives.
  • Ensure integer amounts are passed to TronWeb's functions that involve SUN (#178)
  • Correct inaccurate energy estimation for system contracts (#172)
  • Correct mapping of approve type transactions (#177)

1.19.3

Choose a tag to compare

@github-actions github-actions released this 27 Jan 10:49
d6782d7

@metamask/tron-wallet-snap

Fixed

  • Normalize locale string when showing simulation estimated changes (#169)

1.19.2

Choose a tag to compare

@github-actions github-actions released this 26 Jan 09:01
0117ad7

@metamask/tron-wallet-snap

Added

  • Display error message coming from transaction simulations (#166)

1.19.1

Choose a tag to compare

@github-actions github-actions released this 15 Jan 15:13
bece9ba

@metamask/tron-wallet-snap

Changed

  • Remove convertion layer for images displayed in Snaps UI (#162)

Fixed

  • Finalised word transformed to us-en (#164)
  • Signing messages of 3 characters or less (#161)

1.19.0

Choose a tag to compare

@github-actions github-actions released this 09 Jan 15:15
6e133d8

@metamask/tron-wallet-snap

Fixed

  • Always include TRX fee as first result on computeFee (#159)
  • Ignore visible in handleComputeFee field (#158)
  • Address unsubmitable swaps from Bridgers (#157)

1.18.0

Choose a tag to compare

@github-actions github-actions released this 08 Jan 11:14
5a4827f

@metamask/tron-wallet-snap

Added

  • Add optional srNodeAddress param to confirmStake (#154)
  • Implement token filtering by minimum USD value in AssetsService (#152)

Fixed

  • Use sha256 from MM utils and remove pkey usage (#151)

1.17.0

Choose a tag to compare

@github-actions github-actions released this 18 Dec 16:14
4a17a29

@metamask/tron-wallet-snap

Added

  • Map TRC10 transaction history with metadata fetched onchain (#141)

Fixed

  • Address all minor level audit findings (#149)
  • Address all major level audit findings (#148)
  • Exclude permissive origins and permissions (#145)