v1.3.0
Package Latest Version
TRON
- @tronweb3/tronwallet-abstract-adapter@1.2.0
- @tronweb3/tronwallet-adapters@1.3.0
- @tronweb3/tronwallet-adapter-backpack@1.1.0
- @tronweb3/tronwallet-adapter-binance@1.1.0
- @tronweb3/tronwallet-adapter-bitkeep@1.2.0
- @tronweb3/tronwallet-adapter-bybit@1.1.0
- @tronweb3/tronwallet-adapter-foxwallet@1.1.0
- @tronweb3/tronwallet-adapter-gatewallet@1.1.0
- @tronweb3/tronwallet-adapter-guarda@1.1.0
- @tronweb3/tronwallet-adapter-imtoken@1.1.0
- @tronweb3/tronwallet-adapter-ledger@1.1.13
- @tronweb3/tronwallet-adapter-metamask-tron@1.1.0
- @tronweb3/tronwallet-adapter-okxwallet@1.1.0
- @tronweb3/tronwallet-adapter-onekey@1.1.0
- @tronweb3/tronwallet-adapter-tokenpocket@1.1.0
- @tronweb3/tronwallet-adapter-tomowallet@1.1.0
- @tronweb3/tronwallet-adapter-tronlink@1.2.0
- @tronweb3/tronwallet-adapter-trust@1.1.0
- @tronweb3/tronwallet-adapter-walletconnect@3.0.4
- @tronweb3/tronwallet-adapter-react-hooks@1.1.12
- @tronweb3/tronwallet-adapter-react-ui@1.2.0
- @tronweb3/tronwallet-adapter-vue-hooks@1.0.4
- @tronweb3/tronwallet-adapter-vue-ui@1.1.0
EVM
- @tronweb3/abstract-adapter-evm@1.1.0
- @tronweb3/tronwallet-adapter-binance-evm@1.2.0
- @tronweb3/tronwallet-adapter-metamask-evm@1.1.0
- @tronweb3/tronwallet-adapter-okxwallet-evm@1.1.0
- @tronweb3/tronwallet-adapter-tronlink-evm@1.2.0
- @tronweb3/tronwallet-adapter-trust-evm@1.1.0
Features & Improvements
-
@tronweb3/tronwallet-abstract-adapter- Added Security Check support: a new
AddonAdapterbase class andsecurityOptionsconfig. When enabled, the adapter fetches a remote risk configuration beforeconnect()and on auto-reconnect, and invokesonRiskDetectedif the wallet is flagged. - Added
updateSecurityOptions()to update security configuration at runtime. - Added
signTypedData()(TIP-712) with payload normalization/validation and a newWalletSignTypedDataError.
- Added Security Check support: a new
-
Security Check rollout: 15 adapters now extend
AddonAdapterand supportsecurityOptions.Integrated SecurityOptions support into injected/mobile TRON adapters, including
Backpack,Binance,BitKeep,Bybit,FoxWallet,GateWallet,Guarda,imToken,MetaMask Tron,OKX Wallet,OneKey,TokenPocket,TomoWallet,TronLink, andTrust Wallet.Improved auto-reconnect behavior by emitting connect events consistently, deferring security checks until wallets are actually connected, and
avoiding security checks while disconnected. -
@tronweb3/tronwallet-adapter-tronlink- Implemented
signTypedData(). - Fixed mobile auto-connect: the security check is deferred until the wallet is actually connected and the
connectevent is emitted properly. - The default
checkTimeoutchanged from30sto5s.
- Implemented
-
@tronweb3/tronwallet-adapter-binance- Fixed a false connected state when retrying a WalletConnect-fallback connection: stale/persisted sessions are now cleaned up when the QR modal is closed or the attempt fails, so the next
connect()starts a fresh handshake. signAndSendTransaction()now throws a descriptiveWalletSignTransactionErrorunder the WalletConnect fallback instead of crashing.- Mapped the
CT_195chainId to TRON Mainnet innetwork().
- Fixed a false connected state when retrying a WalletConnect-fallback connection: stale/persisted sessions are now cleaned up when the QR modal is closed or the attempt fails, so the next
-
@tronweb3/tronwallet-adapter-walletconnectdisconnect()now also tears down half-open/persisted sessions left behind by an aborted connection attempt, and only emitsdisconnectwhen a real connection existed.
-
@tronweb3/tronwallet-adapter-gatewallet- Fixed GateApp detection timing (lazy evaluation) and no longer treats an empty address as connected on mobile.
- Worked around an extension issue where a repeated connect request could hang when already connected.
-
@tronweb3/abstract-adapter-evmsendTransaction()now accepts a strongly-typedTransaction(Legacy / EIP-2930 / EIP-1559) instead ofany. Note: TypeScript projects passing loosely-typed objects may need to adjust their types.
-
@tronweb3/tronwallet-adapter-react-ui/@tronweb3/tronwallet-adapter-vue-ui@tronweb3/tronwallet-abstract-adapterand the hooks packages are nowpeerDependenciesinstead ofdependencies. Make sure they are installed in your project (npm 7+ and recent pnpm install peers automatically).
-
Fixed the
exportsmap ordering (typesfirst) in the WalletConnect and all EVM adapter packages so TypeScript resolves typings correctly undermoduleResolution: bundler/node16. -
Updated vulnerable dependencies, including Vite, Axios and Next.js.