From 625294d60171cf482ec93e20e3d22c57cb1b1b67 Mon Sep 17 00:00:00 2001 From: Andrew Taran Date: Thu, 23 Jul 2026 18:22:20 +0200 Subject: [PATCH] chore: reset tron changelog --- merged-packages/tron-wallet-snap/CHANGELOG.md | 662 +----------------- 1 file changed, 2 insertions(+), 660 deletions(-) diff --git a/merged-packages/tron-wallet-snap/CHANGELOG.md b/merged-packages/tron-wallet-snap/CHANGELOG.md index 447defc4..e22ebbd0 100644 --- a/merged-packages/tron-wallet-snap/CHANGELOG.md +++ b/merged-packages/tron-wallet-snap/CHANGELOG.md @@ -7,666 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [1.33.1] - -### Fixed - -- Persist chain parameter cache across Snap restarts ([#365](https://github.com/MetaMask/snap-tron-wallet/pull/365)) - - Fix `useCacheUntil` so it reuses still-valid `StateCache` entries after the Snap is recreated. - -## [1.33.0] - -### Changed - -- Align transaction-status polling with Tron's 3 second block time, while preserving the existing 15-second tracking window ([#364](https://github.com/MetaMask/snap-tron-wallet/pull/364)) - -## [1.32.0] - -### Changed - -- Improved Tron dApp transaction confirmations to show estimated energy and bandwidth usage ([#355](https://github.com/MetaMask/snap-tron-wallet/pull/355)) - - Prevent confirmation when the account does not have enough `TRX` to cover the transaction value plus required fees. - -## [1.31.0] - ### Changed -- Use a `37 TRX` fallback fee when the network fee cannot be estimated for a transaction ([#344](https://github.com/MetaMask/snap-tron-wallet/pull/344)) - -## [1.30.0] - -### Changed - -- Increase cronjob interval for account syncing from 30s to 60s ([#356](https://github.com/MetaMask/snap-tron-wallet/pull/356)) - -## [1.29.1] - -### Fixed - -- Loosen price API validation ([#353](https://github.com/MetaMask/snap-tron-wallet/pull/353)) - - The API response validation refused new fields when Price API service upgrades. - -## [1.29.0] - -### Changed - -- Make computeFee fail-safe on TronGrid failure ([#343](https://github.com/MetaMask/snap-tron-wallet/pull/343)) -- Remove dApp transaction payload modification related to refresh ([#342](https://github.com/MetaMask/snap-tron-wallet/pull/342)) -- Resolve token metadata for log-reconstructed TRC20 transfers [2/3] ([#338](https://github.com/MetaMask/snap-tron-wallet/pull/338)) -- Add TRC20 transfer event log parser [1/3] ([#337](https://github.com/MetaMask/snap-tron-wallet/pull/337)) - -## [1.28.0] - -### Added - -- Filter spam TRC10/TRC20 token by excluding received token transactions whose token has no price data ([#332](https://github.com/MetaMask/snap-tron-wallet/pull/332)) - -### Changed - -- Track error in signAndSendTransaction method of SendService ([#323](https://github.com/MetaMask/snap-tron-wallet/pull/323)) -- Track errors in FeeCalculationService ([#318](https://github.com/MetaMask/snap-tron-wallet/pull/318)) - -## [1.27.0] - -### Changed - -- TRC-20 approvals are now classified as `TransactionType.TokenApprove` ([#328](https://github.com/MetaMask/snap-tron-wallet/pull/328)) - - Approvals were previously classified as `TransactionType.Unknown`. -- chore: track errors in trackEvent handler of SnapClient WPN-366 ([#319](https://github.com/MetaMask/snap-tron-wallet/pull/319)) - -## [1.26.0] - -### Added - -- Add `signProofOfOwnership` client request method ([#327](https://github.com/MetaMask/snap-tron-wallet/pull/327)) - - This method silently signs `metamask:proof-of-ownership::
` messages with the account's secp256k1 key via TronWeb's `signMessageV2` -- Add support for `keyring_createAccounts` method to enable batch account creation. ([#308](https://github.com/MetaMask/snap-tron-wallet/pull/308)) - -## [1.25.8] - -### Fixed - -- Removed `snap_trackError` permission from snap manifest ([#320](https://github.com/MetaMask/snap-tron-wallet/pull/320)) - - This permission was causing errors during snap installation and is not necessary for the snap's functionality. - -## [1.25.7] - -### Added - -- Add `SnapClient.trackError` wrapper around `snap_trackError` for reporting errors to Sentry ([#311](https://github.com/MetaMask/snap-tron-wallet/pull/311)) -- Add `trackError` call in `scanTransaction` method of `TransactionScanService` ([#314](https://github.com/MetaMask/snap-tron-wallet/pull/314)) -- Add `trackError` calls `handle` methods of `ClientRequestHandler` ([#315](https://github.com/MetaMask/snap-tron-wallet/pull/315)) - -### Changed - -- Add `FetchStatus.Loading` in `FetchStatus` enum to represent first fetching state and add `isFetchStatusLoadingOrFetching` helper ([#302](https://github.com/MetaMask/snap-tron-wallet/pull/302)) -- Make Confirm button stay enabled after the first security scan even during refresh ([#302](https://github.com/MetaMask/snap-tron-wallet/pull/302)) - -## [1.25.6] - -### Added - -- Filter native TRX receive spam from transaction history ([#301](https://github.com/MetaMask/snap-tron-wallet/pull/301)) - -### Fixed - -- Refresh stale TRON transaction expiration and reference block metadata before confirmation security scans, signing, and broadcasting ([#299](https://github.com/MetaMask/snap-tron-wallet/pull/299)) - -## [1.25.5] - -### Fixed - -- Validate transaction `owner_address` against the signer address derived from the persisted account before signing or broadcasting ([#297](https://github.com/MetaMask/snap-tron-wallet/pull/297)) - -## [1.25.4] - -### Changed - -- Validate that account IDs passed to `keyring_setSelectedAccounts` belong to the snap, rejecting unknown IDs with `InvalidParamsError` ([#298](https://github.com/MetaMask/snap-tron-wallet/pull/298)) -- Simplify `SnapClient` interface methods by removing defensive `*IfExists` wrappers and aligning with the Solana snap's approach ([#257](https://github.com/MetaMask/snap-tron-wallet/pull/257)) -- Bump `@metamask/keyring-api` to `^22.0.0`. ([#295](https://github.com/MetaMask/snap-tron-wallet/pull/295)) -- Bump `@metamask/keyring-snap-sdk` to `^8.0.0`. ([#295](https://github.com/MetaMask/snap-tron-wallet/pull/295)) - -## [1.25.3] - -### Fixed - -- Token balances now update correctly after a swap or transfer. ([#292](https://github.com/MetaMask/snap-tron-wallet/pull/292)) -- Remove interface ID after it is no longer needed ([#284](https://github.com/MetaMask/snap-tron-wallet/pull/284)) - -## [1.25.2] - -### Fixed - -- Relax Trongrid `internal_transactions` validation to avoid sync failures on sparse legacy payloads ([#289](https://github.com/MetaMask/snap-tron-wallet/pull/289)) -- Handle TRC10 token identifiers correctly in the current Trongrid account-history transaction flow, without mis-parsing endpoint-specific `asset_name` formats ([#289](https://github.com/MetaMask/snap-tron-wallet/pull/289)) -- Decouple assets and transactions synchronization so one failure does not prevent the other from completing ([#289](https://github.com/MetaMask/snap-tron-wallet/pull/289)) - -## [1.25.1] - -### Fixed - -- Correctly display token icon size when sending TRC20 tokens ([#262](https://github.com/MetaMask/snap-tron-wallet/pull/262)) -- Correctly display decimal amount sent in confirmation dialog ([#264](https://github.com/MetaMask/snap-tron-wallet/pull/264)) -- Confirm `fee_limit` is always present when building transaction ([#280](https://github.com/MetaMask/snap-tron-wallet/pull/280)) -- Include memo fee (1 TRX) in fee estimation logic ([#281](https://github.com/MetaMask/snap-tron-wallet/pull/281)) -- Handle NFT asset types in transaction scan simulation ([#285](https://github.com/MetaMask/snap-tron-wallet/pull/285)) - -## [1.25.0] - -### Changed - -- Optimize account discovery by using a lightweight activity check (`limit=1`) instead of fetching full transaction history ([#252](https://github.com/MetaMask/snap-tron-wallet/pull/252)) - -### Fixed - -- Avoid `onAmountInput` fee estimation failures by skipping fee validation until a recipient address is available ([#259](https://github.com/MetaMask/snap-tron-wallet/pull/259)) -- Assert transaction structure at all entry points, rejecting malformed transactions ([#237](https://github.com/MetaMask/snap-tron-wallet/pull/237)) -- Disable scanning of unsupported contract types, preventing incorrect security alerts from blocking user flows ([#238](https://github.com/MetaMask/snap-tron-wallet/pull/238)) - - Supported transactions are those single-contract interaction transactions of the following types: `TransferContract`, `CreateSmartContract`, `TriggerSmartContract`. - - Unsupported transactions will show empty estimated changes and allow the user to proceed without blocking the confirmation. -- Correctly fetch and return staking rewards ([#242](https://github.com/MetaMask/snap-tron-wallet/pull/242)) -- Fix revert simulation error when sending TRC20 tokens ([#261](https://github.com/MetaMask/snap-tron-wallet/pull/261)) -- Fix infinite loading during fee estimation ([#258](https://github.com/MetaMask/snap-tron-wallet/pull/258)) - - The issue was caused by a deadlock during cache updates of chain parameters. - -## [1.24.0] - -### Added - -- Implement `claimUnstakedTrx` client request method ([#231](https://github.com/MetaMask/snap-tron-wallet/pull/231)) -- Implement `claimTrxStakingRewards` client request method ([#232](https://github.com/MetaMask/snap-tron-wallet/pull/232)) -- Add confirmation dialog to `claimUnstakedTrx` method ([#236](https://github.com/MetaMask/snap-tron-wallet/pull/236)) - -### Fixed - -- Always extract special assets to prevent stale balances when amounts drop to zero ([#234](https://github.com/MetaMask/snap-tron-wallet/pull/234)) -- Add confirmation dialog to `claimUnstakedTrx` method ([#236](https://github.com/MetaMask/snap-tron-wallet/pull/236)) - -## [1.23.1] - -### Changed - -- Tweak asset symbols for the 3 new staking special assets: "In Lock Period" TRX, "Ready for Withdrawal" TRX and "Staking Rewards" TRX ([#227](https://github.com/MetaMask/snap-tron-wallet/pull/227)) - -## [1.23.0] - -### Added - -- Add "Ready for Withdrawal" TRX as a special asset to display unstaked TRX that has completed the withdrawal period and is ready to be claimed ([#208](https://github.com/MetaMask/snap-tron-wallet/pull/208)) -- Add "Staking Rewards" TRX asset to display unclaimed voting rewards ([#209](https://github.com/MetaMask/snap-tron-wallet/pull/209)) -- Return "In Lock Period" TRX as a special asset showing TRX that is unstaked but still in the 14-day lock period ([#210](https://github.com/MetaMask/snap-tron-wallet/pull/210)) - -## [1.22.1] - -### Fixed - -- Correct account discovery by using address-based activity checks instead of account IDs ([#206](https://github.com/MetaMask/snap-tron-wallet/pull/206)) - -## [1.22.0] - -### Added - -- Support fetching TRC20 token balances for inactive accounts using fallback endpoint ([#190](https://github.com/MetaMask/snap-tron-wallet/pull/190)) -- Add security scanning for tokens sends ([#205](https://github.com/MetaMask/snap-tron-wallet/pull/205)) - -### Fixed - -- Decode hex-encoded TRC10 token names and symbols from Full Node API responses ([#187](https://github.com/MetaMask/snap-tron-wallet/pull/187)) -- Gracefully handle dismissed interface contexts during background refresh operations ([#188](https://github.com/MetaMask/snap-tron-wallet/pull/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](https://github.com/MetaMask/snap-tron-wallet/pull/197)) - -## [1.21.1] - -### Fixed - -- Sent transactions stuck on `pending` state ([#194](https://github.com/MetaMask/snap-tron-wallet/pull/194)) - -## [1.21.0] - -### Fixed - -- Handle extreme token amounts to prevent NaN and scientific notation in estimated changes ([#191](https://github.com/MetaMask/snap-tron-wallet/pull/191)) -- Consider contract deployer's energy when calculating fees ([#192](https://github.com/MetaMask/snap-tron-wallet/pull/192)) - -## [1.20.0] - -### Added - -- Support estimating network fees with contract energy sharing mechanism ([#181](https://github.com/MetaMask/snap-tron-wallet/pull/181)) - -### Changed - -- Optimize data synchronization to avoid duplicate API requests ([#173](https://github.com/MetaMask/snap-tron-wallet/pull/173)) -- Cache chain parameters until they expire ([#171](https://github.com/MetaMask/snap-tron-wallet/pull/171)) - -### Fixed - -- Add pre-confirmation validation to `confirmSend` flow ([#179](https://github.com/MetaMask/snap-tron-wallet/pull/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](https://github.com/MetaMask/snap-tron-wallet/pull/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](https://github.com/MetaMask/snap-tron-wallet/pull/178)) -- Correct inaccurate energy estimation for system contracts ([#172](https://github.com/MetaMask/snap-tron-wallet/pull/172)) -- Correct mapping of `approve` type transactions ([#177](https://github.com/MetaMask/snap-tron-wallet/pull/177)) - -## [1.19.3] - -### Fixed - -- Normalize locale string when showing simulation estimated changes ([#169](https://github.com/MetaMask/snap-tron-wallet/pull/169)) - -## [1.19.2] - -### Added - -- Display error message coming from transaction simulations ([#166](https://github.com/MetaMask/snap-tron-wallet/pull/166)) - -## [1.19.1] - -### Changed - -- Remove convertion layer for images displayed in Snaps UI ([#162](https://github.com/MetaMask/snap-tron-wallet/pull/162)) - -### Fixed - -- Finalised word transformed to us-en ([#164](https://github.com/MetaMask/snap-tron-wallet/pull/164)) -- Signing messages of 3 characters or less ([#161](https://github.com/MetaMask/snap-tron-wallet/pull/161)) - -## [1.19.0] - -### Fixed - -- Always include TRX fee as first result on `computeFee` ([#159](https://github.com/MetaMask/snap-tron-wallet/pull/159)) -- Ignore `visible` in `handleComputeFee` field ([#158](https://github.com/MetaMask/snap-tron-wallet/pull/158)) -- Address unsubmitable swaps from Bridgers ([#157](https://github.com/MetaMask/snap-tron-wallet/pull/157)) - -## [1.18.0] - -### Added - -- Add optional `srNodeAddress` param to `confirmStake` ([#154](https://github.com/MetaMask/snap-tron-wallet/pull/154)) -- Implement token filtering by minimum USD value in `AssetsService` ([#152](https://github.com/MetaMask/snap-tron-wallet/pull/152)) - -### Fixed - -- Use `sha256` from MM utils and remove pkey usage ([#151](https://github.com/MetaMask/snap-tron-wallet/pull/151)) - -## [1.17.0] - -### Added - -- Map TRC10 transaction history with metadata fetched onchain ([#141](https://github.com/MetaMask/snap-tron-wallet/pull/141)) - -### Fixed - -- Address all `minor` level audit findings ([#149](https://github.com/MetaMask/snap-tron-wallet/pull/149)) -- Address all `major` level audit findings ([#148](https://github.com/MetaMask/snap-tron-wallet/pull/148)) -- Exclude permissive origins and permissions ([#145](https://github.com/MetaMask/snap-tron-wallet/pull/145)) - -## [1.16.1] - -### Fixed - -- Dapp connectivity confirmations ([#146](https://github.com/MetaMask/snap-tron-wallet/pull/146)) - -## [1.16.0] - -### Added - -- Integrate Blockaid transaction simulation ([#139](https://github.com/MetaMask/snap-tron-wallet/pull/139)) - -### Fixed - -- Enhance FeeCalculatorService with fallback energy estimation to `feeLimit` ([#142](https://github.com/MetaMask/snap-tron-wallet/pull/142)) -- Audit fixes ([#140](https://github.com/MetaMask/snap-tron-wallet/pull/140)) -- Stop signing transactions before user confirmation ([#138](https://github.com/MetaMask/snap-tron-wallet/pull/138)) - -## [1.15.1] - -### Changed - -- Bump `keyring-api` to version 21.3.0 ([#136](https://github.com/MetaMask/snap-tron-wallet/pull/136)) - -## [1.15.0] - -### Added - -- Added `feeLimit` option for energy calculation in FeeCalculatorService ([#132](https://github.com/MetaMask/snap-tron-wallet/pull/132)) -- Added `signTransaction` confirmation ([#131](https://github.com/MetaMask/snap-tron-wallet/pull/131)) -- Added `signMessage` confirmation ([#130](https://github.com/MetaMask/snap-tron-wallet/pull/130)) -- Allocate Tron power to Consensys' SR node ([#129](https://github.com/MetaMask/snap-tron-wallet/pull/129)) -- Added compute staking fee ([#112](https://github.com/MetaMask/snap-tron-wallet/pull/112)) - -### Fixed - -- `signTransaction` not rebuilding Tron transactions correctly after receiving them as input ([#128](https://github.com/MetaMask/snap-tron-wallet/pull/128)) -- `computeFee` does not consider account activations ([#127](https://github.com/MetaMask/snap-tron-wallet/pull/127)) -- Remove validation key from WalletService ([#126](https://github.com/MetaMask/snap-tron-wallet/pull/126)) - -## [1.14.0] - -### Added - -- Dapp connectivity methods (`sign{Message/Transaction}`) ([#124](https://github.com/MetaMask/snap-tron-wallet/pull/124)) -- Client `signRewardsMessage` ([#119](https://github.com/MetaMask/snap-tron-wallet/pull/119)) - -### Changed - -- Improve Send flow amount validation with fee estimation ([#123](https://github.com/MetaMask/snap-tron-wallet/pull/123)) - -### Fixed - -- Det `isDev` to false ([#122](https://github.com/MetaMask/snap-tron-wallet/pull/122)) - -## [1.13.0] - -### Changed - -- Ensure only safe concurrent state operations ([#116](https://github.com/MetaMask/snap-tron-wallet/pull/116)) - -## [1.12.1] - -### Fixed - -- Continuous synchronization of accounts not starting until we locked and unlocked the client ([#117](https://github.com/MetaMask/snap-tron-wallet/pull/117)) -- Could not send TRC20 tokens where decimals were `18` ([#115](https://github.com/MetaMask/snap-tron-wallet/pull/115)) - -## [1.12.0] - -### Changed - -- `computeFee` not calling `triggerConstantContract` with accurate parameters ([#113](https://github.com/MetaMask/snap-tron-wallet/pull/113)) - -## [1.11.0] - -### Added - -- Pending transaction when executing ([#110](https://github.com/MetaMask/snap-tron-wallet/pull/110)) - -## [1.10.1] - -### Fixed - -- `computeFee` error ([#108](https://github.com/MetaMask/snap-tron-wallet/pull/108)) -- Map freeze/unfreeze txs ([#107](https://github.com/MetaMask/snap-tron-wallet/pull/107)) - -## [1.10.0] - -### Fixed - -- Compute fee accuracy ([#103](https://github.com/MetaMask/snap-tron-wallet/pull/103)) -- Fix `getAccount` and `listAccounts` ([#105](https://github.com/MetaMask/snap-tron-wallet/pull/105)) -- Don't remove tron resources from assets ([#104](https://github.com/MetaMask/snap-tron-wallet/pull/104)) - -## [1.9.1] - -### Fixed - -- Use available `triggerConstantContract` instead of `estimateEnergy` ([#101](https://github.com/MetaMask/snap-tron-wallet/pull/101)) -- Use mutex for state blob modifications ([#93](https://github.com/MetaMask/snap-tron-wallet/pull/93)) - -## [1.9.0] - -### Added - -- Track transaction when executed and map `failed` and `swap` transactions ([#98](https://github.com/MetaMask/snap-tron-wallet/pull/98)) - -### Fixed - -- Dont allow clients requesting assets for tesnets ([#99](https://github.com/MetaMask/snap-tron-wallet/pull/99)) - -## [1.8.1] - -### Added - -- Bandwidth and Energy confirmation logos ([#95](https://github.com/MetaMask/snap-tron-wallet/pull/95)) - -### Fixed - -- `computeFee` was returning in SUN and inaccurate values ([#84](https://github.com/MetaMask/snap-tron-wallet/pull/84)) - -## [1.8.0] - -### Added - -- Confirmation UI ([#86](https://github.com/MetaMask/snap-tron-wallet/pull/86)) -- Transactions analytics ([#90](https://github.com/MetaMask/snap-tron-wallet/pull/90)) -- Add `from` and `to` to confirmation ([#88](https://github.com/MetaMask/snap-tron-wallet/pull/88)) - -### Fixed - -- Remove logs ([#87](https://github.com/MetaMask/snap-tron-wallet/pull/87)) - -## [1.7.4] - -### Fixed - -- Unstake method was doing incorrect input validation ([#82](https://github.com/MetaMask/snap-tron-wallet/pull/82)) - -## [1.7.3] - -### Added - -- Use Infura urls ([#75](https://github.com/MetaMask/snap-tron-wallet/pull/75)) - -## [1.7.2] - -### Added - -- Use Infura for all API dependencies ([#75](https://github.com/MetaMask/snap-tron-wallet/pull/75)) - -### Fixed - -- Return transaction history fees in TRX not in SUN ([#77](https://github.com/MetaMask/snap-tron-wallet/pull/77)) -- `computeFee` method needs to reconstruct Tron transactions the same way `signAndSendTransaction` does ([#77](https://github.com/MetaMask/snap-tron-wallet/pull/77)) -- Adjust decimals when sending TRC20 tokens ([#76](https://github.com/MetaMask/snap-tron-wallet/pull/76)) - -## [1.7.1] - -### Changed - -- Remove unused "Localnet" ([#73](https://github.com/MetaMask/snap-tron-wallet/pull/73)) - -### Fixed - -- Incorrect staked Tron amount due to not counting delegated TRX ([#73](https://github.com/MetaMask/snap-tron-wallet/pull/73)) -- No initialized placeholder TRX value, nor special assets (Bandwidth, Energy) on accounts without TRX ([#73](https://github.com/MetaMask/snap-tron-wallet/pull/73)) -- Staking methods need to convert amounts to sun ([#71](https://github.com/MetaMask/snap-tron-wallet/pull/71)) - -## [1.7.0] - -### Changed - -- Add `options` to the unstake method ([#69](https://github.com/MetaMask/snap-tron-wallet/pull/69)) - -## [1.6.1] - -### Fixed - -- Use the correct `index` field instead of `groupIndex` for account creation ([#67](https://github.com/MetaMask/snap-tron-wallet/pull/67)) - -## [1.6.0] - -### Added - -- Implement `setSelectedAccounts` handler ([#63](https://github.com/MetaMask/snap-tron-wallet/pull/63)) - -### Fixed - -- Adjust `timestamp` fields' precision to be in seconds, not milliseconds ([#64](https://github.com/MetaMask/snap-tron-wallet/pull/64)) - -## [1.5.4] - -### Fixed - -- Use the correct hexadecimal format private key (excluding the `0x` prefix) when using TronWeb ([#61](https://github.com/MetaMask/snap-tron-wallet/pull/61)) - -## [1.5.3] - -### Fixed - -- Make field `visible` configurable by caller on the `signAndSendTransaction` handler ([#59](https://github.com/MetaMask/snap-tron-wallet/pull/59)) - -## [1.5.2] - -### Fixed - -- Add missing fields on `signAndSendTransaction`'s payload for Tron ([#57](https://github.com/MetaMask/snap-tron-wallet/pull/57)) - -## [1.5.1] - -### Changed - -- Send the metadata for the max bandwidth and energy values ([#55](https://github.com/MetaMask/snap-tron-wallet/pull/55)) -- Modify `signAndSendTransaction` to properly handle base64 transactions ([#54](https://github.com/MetaMask/snap-tron-wallet/pull/54)) - -## [1.5.0] - -### Added - -- Implement staking and unstaking handlers ([#46](https://github.com/MetaMask/snap-tron-wallet/pull/46)) - -### Changed - -- Match the new Keyring `createAccount` spec ([#52](https://github.com/MetaMask/snap-tron-wallet/pull/52)) -- Implement safe error handling so that the Snap never crashes ([#51](https://github.com/MetaMask/snap-tron-wallet/pull/51)) - -## [1.4.0] - -### Fixed - -- Edit assets names and balance decimals ([#49](https://github.com/MetaMask/snap-tron-wallet/pull/49)) -- Send maximum Bandwidth and Energy as assets ([#42](https://github.com/MetaMask/snap-tron-wallet/pull/42)) - -## [1.3.0] - -### Added - -- Add missing "sync transactions" background event ([#44](https://github.com/MetaMask/snap-tron-wallet/pull/44)) -- Implement account synchronization when transactions happen ([#38](https://github.com/MetaMask/snap-tron-wallet/pull/38)) -- Add new required fields to KeyringAccount objects ([#41](https://github.com/MetaMask/snap-tron-wallet/pull/41)) -- Implement `computeFee` handler ([#40](https://github.com/MetaMask/snap-tron-wallet/pull/40)) - -## [1.2.0] - -### Added - -- `signAndSendTransaction` client request ([#34](https://github.com/MetaMask/snap-tron-wallet/pull/34)) - -## [1.1.1] - -### Added - -- Fetch token metadata from Token API instead of Trongrid ([#31](https://github.com/MetaMask/snap-tron-wallet/pull/31)) - -### Fixed - -- Price and market data request failures from passing Energy, Bandwidth and other unsupported assets to the API calls directly ([#32](https://github.com/MetaMask/snap-tron-wallet/pull/32)) - -## [1.1.0] - -### Added - -- Implement "Unified Non-EVM Send" spec ([#28](https://github.com/MetaMask/snap-tron-wallet/pull/28)) -- Send Staked TRX positions as assets ([#29](https://github.com/MetaMask/snap-tron-wallet/pull/29)) -- Send Energy and Bandwidth as assets ([#27](https://github.com/MetaMask/snap-tron-wallet/pull/27)) -- Implement `discoverAccounts` keyring method ([#26](https://github.com/MetaMask/snap-tron-wallet/pull/26)) -- Support Energy and Bandwidth as transaction history fees ([#25](https://github.com/MetaMask/snap-tron-wallet/pull/25)) -- Implement transaction history ([#19](https://github.com/MetaMask/snap-tron-wallet/pull/19)) - -## [1.0.3] - -### Changed - -- Clean unnecessary values ([#22](https://github.com/MetaMask/snap-tron-wallet/pull/22)) - -## [1.0.2] - -### Changed - -- Release config update - -## [1.0.1] - -### Added - -- Enable corepack ([#17](https://github.com/MetaMask/snap-tron-wallet/pull/17)) - -## [1.0.0] - -### Added - -- Initial release of Tron wallet snap -- Support for TRX and token assets balances ([#12](https://github.com/MetaMask/snap-tron-wallet/pull/12)) +- This package was migrated from [snap-tron-wallet](https://github.com/MetaMask/snap-tron-wallet). See the source repository for the original [changelog](https://github.com/MetaMask/snap-tron-wallet/blob/main/packages/snap/CHANGELOG.md). -[Unreleased]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.33.1...HEAD -[1.33.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.33.0...v1.33.1 -[1.33.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.32.0...v1.33.0 -[1.32.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.31.0...v1.32.0 -[1.31.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.30.0...v1.31.0 -[1.30.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.29.1...v1.30.0 -[1.29.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.29.0...v1.29.1 -[1.29.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.28.0...v1.29.0 -[1.28.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.27.0...v1.28.0 -[1.27.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.26.0...v1.27.0 -[1.26.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.8...v1.26.0 -[1.25.8]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.7...v1.25.8 -[1.25.7]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.6...v1.25.7 -[1.25.6]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.5...v1.25.6 -[1.25.5]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.4...v1.25.5 -[1.25.4]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.3...v1.25.4 -[1.25.3]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.2...v1.25.3 -[1.25.2]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.1...v1.25.2 -[1.25.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.25.0...v1.25.1 -[1.25.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.24.0...v1.25.0 -[1.24.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.23.1...v1.24.0 -[1.23.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.23.0...v1.23.1 -[1.23.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.22.1...v1.23.0 -[1.22.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.22.0...v1.22.1 -[1.22.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.21.1...v1.22.0 -[1.21.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.21.0...v1.21.1 -[1.21.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.20.0...v1.21.0 -[1.20.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.19.3...v1.20.0 -[1.19.3]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.19.2...v1.19.3 -[1.19.2]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.19.1...v1.19.2 -[1.19.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.19.0...v1.19.1 -[1.19.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.18.0...v1.19.0 -[1.18.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.17.0...v1.18.0 -[1.17.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.16.1...v1.17.0 -[1.16.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.16.0...v1.16.1 -[1.16.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.15.1...v1.16.0 -[1.15.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.15.0...v1.15.1 -[1.15.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.14.0...v1.15.0 -[1.14.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.13.0...v1.14.0 -[1.13.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.12.1...v1.13.0 -[1.12.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.12.0...v1.12.1 -[1.12.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.11.0...v1.12.0 -[1.11.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.10.1...v1.11.0 -[1.10.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.10.0...v1.10.1 -[1.10.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.9.1...v1.10.0 -[1.9.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.9.0...v1.9.1 -[1.9.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.8.1...v1.9.0 -[1.8.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.8.0...v1.8.1 -[1.8.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.7.4...v1.8.0 -[1.7.4]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.7.3...v1.7.4 -[1.7.3]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.7.2...v1.7.3 -[1.7.2]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.7.1...v1.7.2 -[1.7.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.7.0...v1.7.1 -[1.7.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.6.1...v1.7.0 -[1.6.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.6.0...v1.6.1 -[1.6.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.5.4...v1.6.0 -[1.5.4]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.5.3...v1.5.4 -[1.5.3]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.5.2...v1.5.3 -[1.5.2]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.5.1...v1.5.2 -[1.5.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.5.0...v1.5.1 -[1.5.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.4.0...v1.5.0 -[1.4.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.3.0...v1.4.0 -[1.3.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.2.0...v1.3.0 -[1.2.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.1.1...v1.2.0 -[1.1.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.1.0...v1.1.1 -[1.1.0]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.0.3...v1.1.0 -[1.0.3]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.0.2...v1.0.3 -[1.0.2]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.0.1...v1.0.2 -[1.0.1]: https://github.com/MetaMask/snap-tron-wallet/compare/v1.0.0...v1.0.1 -[1.0.0]: https://github.com/MetaMask/snap-tron-wallet/releases/tag/v1.0.0 +[Unreleased]: https://github.com/MetaMask/internal-snaps/