Skip to content

Releases: tronweb3/tronwallet-adapter

v1.3.0

Choose a tag to compare

@iweb3Nomad iweb3Nomad released this 11 Jun 11:52
3f347e2

Package Latest Version

TRON

EVM

Features & Improvements

  • @tronweb3/tronwallet-abstract-adapter

    • Added Security Check support: a new AddonAdapter base class and securityOptions config. When enabled, the adapter fetches a remote risk configuration before connect() and on auto-reconnect, and invokes onRiskDetected if the wallet is flagged.
    • Added updateSecurityOptions() to update security configuration at runtime.
    • Added signTypedData() (TIP-712) with payload normalization/validation and a new WalletSignTypedDataError.
  • Security Check rollout: 15 adapters now extend AddonAdapter and support securityOptions.

    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, and Trust 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 connect event is emitted properly.
    • The default checkTimeout changed from 30s to 5s.
  • @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 descriptive WalletSignTransactionError under the WalletConnect fallback instead of crashing.
    • Mapped the CT_195 chainId to TRON Mainnet in network().
  • @tronweb3/tronwallet-adapter-walletconnect

    • disconnect() now also tears down half-open/persisted sessions left behind by an aborted connection attempt, and only emits disconnect when 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-evm

    • sendTransaction() now accepts a strongly-typed Transaction (Legacy / EIP-2930 / EIP-1559) instead of any. 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-adapter and the hooks packages are now peerDependencies instead of dependencies. Make sure they are installed in your project (npm 7+ and recent pnpm install peers automatically).
  • Fixed the exports map ordering (types first) in the WalletConnect and all EVM adapter packages so TypeScript resolves typings correctly under moduleResolution: bundler/node16.

  • Updated vulnerable dependencies, including Vite, Axios and Next.js.

v1.2.26

Choose a tag to compare

@iweb3Nomad iweb3Nomad released this 15 May 11:20
9e97eb7

v1.2.25

Choose a tag to compare

@zorro11639 zorro11639 released this 23 Apr 09:26
b72f327

v1.2.24

Choose a tag to compare

@iweb3Nomad iweb3Nomad released this 09 Apr 10:37
45a7c1b

Package Latest Version

TRON

EVM

Features & Improvements

  • @tronweb3/tronwallet-adapter-trust-evm

    • Added TrustEvmAdapter supporting Trust Wallet on iOS, Android, and Browser Extensions.
  • Added EIP-6963 support for:

    • @tronweb3/tronwallet-adapter-trust-evm
    • @tronweb3/tronwallet-adapter-binance-evm
    • @tronweb3/tronwallet-adapter-metamask-evm
    • @tronweb3/tronwallet-adapter-tronlink-evm
  • Added TIP-6963 support for:

    • @tronweb3/tronwallet-adapter-tronlink
  • @tronweb3/tronwallet-adapter-binance

    • Added signAndSendTransaction() for Binance Wallet (TRON), allowing dApps to sign and broadcast a transaction in a single call.
    • See signAndSendTransaction() for usage notes and wallet-specific behavior.

v1.2.23

Choose a tag to compare

@web3iocore web3iocore released this 25 Mar 10:00
8533188

Package Latest Version

TRON

EVM

Features & Improvements

  • @tronweb3/tronwallet-adapter-binance-evm

    • Resolved an error triggered when using the Binance Wallet extension in unsupported regions.
  • @tronweb3/tronwallet-adapter-onekey

    • Added OneKeyAdapter, supporting OneKey Wallet on iOS, Android, and Browser Extensions.
  • @tronweb3/tronwallet-adapter-ledger

    • Added explicit API signTransactionHash().
    • Added txCheck() pre-validation to signTransaction() to prevent signing invalid transactions.
    • Added option:
      • options.convertSuffix (default: true).
      • Automatically converts signature suffix from 00/01 → 1b/1c.
      • Improves compatibility with various signature verification implementations.
  • @tronweb3/tronwallet-adapter-tronlink

    • Removed legacy window.addEventListener('message', ...) related processing.
    • Introduced openAppWithDeeplink?: boolean to replace openTronLinkAppOnMobile for consistency with other adapters.
  • @tronweb3/tronwallet-adapter-react-ui

    • Fixed an issue where extra DOM nodes were appended during copy operations.
      → Nodes are now properly cleaned up after copying.

Summary

This release focuses on:

  • API consistency across adapters.
  • Safer transaction handling (Ledger improvements).
  • Better compatibility (Binance region handling, signature format).
  • Expanded wallet support (OneKey).
  • Internal cleanup and UI fixes.

v1.2.22

Choose a tag to compare

@iweb3Nomad iweb3Nomad released this 11 Mar 10:21
ae3c672

v1.2.21

v1.2.20

Choose a tag to compare

@iweb3Nomad iweb3Nomad released this 26 Jan 09:44
d2f4a53

v1.2.19

v1.2.18

Choose a tag to compare

@web3iocore web3iocore released this 07 Jan 08:29
9bc8d0a