@metamask/tron-wallet-snap 4.1.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -1
- package/dist/bundle.js +1 -1
- package/dist/preinstalled-snap.json +5 -4
- package/package.json +11 -11
- package/snap.manifest.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.3.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Cache identical TronGrid and Tron provider requests for 5 seconds, so rapid keyring calls such as `getAccountAssets` and `getAccountBalances` reuse the previous result instead of repeating the network call. ([#500](https://github.com/MetaMask/internal-snaps/pull/500))
|
|
15
|
+
- Use the shared `executeWithFetchPolicy`, `fetchWithPolicy`, and `parseRetryAfter` helpers from `@metamask/snap-networks-utils`, and apply the shared fetch policy to `TokenApiClient` and the Security Alerts API client. ([#492](https://github.com/MetaMask/internal-snaps/pull/492))
|
|
16
|
+
- Retry transient TronGrid, Tron provider, price API, and signed transaction broadcast failures with bounded backoff and per-attempt timeouts. Broadcast retries reuse the same signed transaction ID, and duplicate broadcasts are treated as successful. ([#472](https://github.com/MetaMask/internal-snaps/pull/472))
|
|
17
|
+
- Extend the shared `BaseTransactionScanService` from `@metamask/snap-networks-utils` in the transaction scan service. Align the Tron security-scan request and response handling with the Blockaid API documentation ([#397](https://github.com/MetaMask/internal-snaps/pull/397))
|
|
18
|
+
|
|
19
|
+
## [4.2.0]
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- Fetch fresh asset data before send, stake, unstake, and claim flows so validation, fee estimation, and confirmations never act on stale balances. When the assets migration is active, everything (including special assets) is fetched through an `AssetsController` one-time fetch with `forceUpdate` and `bypassServerCache`; otherwise the Snap syncs from Tron RPC and reads local state ([#390](https://github.com/MetaMask/internal-snaps/pull/390))
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Allow self-sends of TRX ([#454](https://github.com/MetaMask/internal-snaps/pull/454))
|
|
28
|
+
|
|
10
29
|
## [4.1.0]
|
|
11
30
|
|
|
12
31
|
### Added
|
|
@@ -111,7 +130,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
111
130
|
- Bump `@metamask/snaps-sdk` from `^11.1.1` to `^11.2.0` ([#43](https://github.com/MetaMask/internal-snaps/pull/43))
|
|
112
131
|
- Bump `@metamask/superstruct` from `^3.2.1` to `^3.4.1` ([#43](https://github.com/MetaMask/internal-snaps/pull/43))
|
|
113
132
|
|
|
114
|
-
[Unreleased]: https://github.com/MetaMask/internal-snaps/compare/@metamask/tron-wallet-snap@4.
|
|
133
|
+
[Unreleased]: https://github.com/MetaMask/internal-snaps/compare/@metamask/tron-wallet-snap@4.3.0...HEAD
|
|
134
|
+
[4.3.0]: https://github.com/MetaMask/internal-snaps/compare/@metamask/tron-wallet-snap@4.2.0...@metamask/tron-wallet-snap@4.3.0
|
|
135
|
+
[4.2.0]: https://github.com/MetaMask/internal-snaps/compare/@metamask/tron-wallet-snap@4.1.0...@metamask/tron-wallet-snap@4.2.0
|
|
115
136
|
[4.1.0]: https://github.com/MetaMask/internal-snaps/compare/@metamask/tron-wallet-snap@4.0.0...@metamask/tron-wallet-snap@4.1.0
|
|
116
137
|
[4.0.0]: https://github.com/MetaMask/internal-snaps/compare/@metamask/tron-wallet-snap@3.2.0...@metamask/tron-wallet-snap@4.0.0
|
|
117
138
|
[3.2.0]: https://github.com/MetaMask/internal-snaps/compare/@metamask/tron-wallet-snap@3.1.0...@metamask/tron-wallet-snap@3.2.0
|