@reown/appkit-cli 1.8.24-trezor-logo-support.0 → 1.8.24

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +24 -21
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,38 +1,41 @@
1
1
  # @reown/appkit-cli
2
2
 
3
- ## 1.8.24-trezor-logo-support.0
3
+ ## 1.8.24
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - [`cdc6189`](https://github.com/reown-com/appkit/commit/cdc6189fdf00f93a4ef9a20b9727c6726388883f) Thanks [@0xmkh](https://github.com/0xmkh)! - Fixed Bitcoin WalletConnect connector to properly return all HD wallet data from `getAccountAddresses()`. Previously, the method was dropping `publicKey`, `path`, and `purpose` fields from the response, returning only the address. This fix ensures Ledger and Trezor users get complete account information including all derived addresses, public keys, and derivation paths needed for building PSBTs correctly.
7
+ - [#5747](https://github.com/reown-com/appkit/pull/5747) [`d6cb98d`](https://github.com/reown-com/appkit/commit/d6cb98d47eccd976ef47b016264708399bb0a175) Thanks [@santgr11](https://github.com/santgr11)! - Fix broken image in tokens with broken image url
8
8
 
9
- - [`6f4d03b`](https://github.com/reown-com/appkit/commit/6f4d03bb2a727e6b25c527cddb64f246f46540fe) Thanks [@0xmkh](https://github.com/0xmkh)! - Add Trezor JavaScript SDK
9
+ - [#5768](https://github.com/reown-com/appkit/pull/5768) [`cd395ad`](https://github.com/reown-com/appkit/commit/cd395addb82bf148a8b3739f8ab17a53f65b6e2d) Thanks [@0xmkh](https://github.com/0xmkh)! - Upgraded viem to latest version
10
10
 
11
- - [#5731](https://github.com/reown-com/appkit/pull/5731) [`79d4d5e`](https://github.com/reown-com/appkit/commit/79d4d5e5a642ad1fca61f95bd70ea0e138938879) Thanks [@ronaldsg20](https://github.com/ronaldsg20)! - Fixed Bitcoin WalletConnect connector to properly return all HD wallet data from `getAccountAddresses()`. Previously, the method was dropping `publicKey`, `path`, and `purpose` fields from the response, returning only the address. This fix ensures Ledger and Trezor users get complete account information including all derived addresses, public keys, and derivation paths needed for building PSBTs correctly.
11
+ - [#5755](https://github.com/reown-com/appkit/pull/5755) [`3d181c8`](https://github.com/reown-com/appkit/commit/3d181c841d5c3708f5b874e0722092707546e8c6) Thanks [@santgr11](https://github.com/santgr11)! - Make default wallet icon bigget in Sign In message request
12
12
 
13
- Fixed the Trezor Bitcoin connector so it derives keys for the active network and describes transactions to the device correctly.
13
+ - [#5760](https://github.com/reown-com/appkit/pull/5760) [`c2172e1`](https://github.com/reown-com/appkit/commit/c2172e1f24019c592d527f3ad59d04cd1bef87a3) Thanks [@santgr11](https://github.com/santgr11)! - Fixed the SIWX sign-message prompt not appearing after connecting until the page was refreshed, reproducible with the Solana adapter on email sign-in and more generally with Farcaster login or browser-injected-wallet connections.
14
14
 
15
- - **Active network is now respected.** `TrezorConnector` was constructed without the active CAIP network id, so `currentNetwork` stayed `'Bitcoin'` until `switchNetwork()` was called. A testnet-only dapp received mainnet addresses (`m/84'/0'/…`, `coin: 'btc'`) while reporting a matching chain id, and a funded wallet would have been prompted to sign a **mainnet** transaction. `getWallet()` now accepts `requestedCaipNetworkId` — as `OKXConnector` already did — and an unrecognised bip122 network raises an error instead of silently falling back to mainnet.
16
- - **OP_RETURN outputs are described properly.** They were emitted as `{ address: '', script_type: 'PAYTOWITNESS' }`, which made any transaction carrying one unsignable. They are now `PAYTOOPRETURN` with `op_return_data`. Undecodable scripts raise an error rather than being sent as an empty address.
17
- - **Third-party outputs use `PAYTOADDRESS`.** Every output was forced to `PAYTOWITNESS`, which pairs with `address_n` and misdescribes P2SH/P2PKH recipients. Change outputs still use `PAYTOWITNESS` with a derivation path.
18
- - **`signPSBT` returns `partialSig` instead of a pre-finalized PSBT.** Only `finalScriptWitness` was written and no partial signature, so callers could not finalize the result (`Can not finalize input #0`). This matches every other `BitcoinConnector`.
19
- - **Input amounts and script types are derived from the PSBT.** The amount came from `witnessUtxo` and silently defaulted to `'0'`, which made the device display a wrong fee; it now also reads `nonWitnessUtxo` and raises an error when neither is present. `script_type` is inferred rather than hardcoded to `SPENDWITNESS`, and derivation paths fall back to the PSBT's `bip32Derivation` before the account default.
20
- - **`@trezor/connect-web` is imported interop-safely.** The default import resolved to `module.exports` under Node's ESM/CJS interop and esbuild's node-mode — which Vite uses when prebundling the adapter as a dependency — so `TrezorConnect.init` was `undefined` and connecting failed with a `TypeError`. Because the adapter's `connect()` wraps every failure as `UserRejectedRequestError`, this surfaced to users as "User rejected the request".
15
+ - [#5728](https://github.com/reown-com/appkit/pull/5728) [`4d6cf6a`](https://github.com/reown-com/appkit/commit/4d6cf6aeabddce159f04144ef60c7abd31c052c2) Thanks [@enesozturk](https://github.com/enesozturk)! - Fix headless hosts getting stuck after a disconnect, where connecting any wallet afterwards silently did nothing and every attempt reported a connection error until the page was reloaded.
21
16
 
22
- Also adds `signPSBT` test coverage for the connector, which previously had none.
17
+ Two gaps, both only reachable without scaffold-ui (which re-fetches the URI per view and clears the error on "try again"):
23
18
 
24
- - [#5731](https://github.com/reown-com/appkit/pull/5731) [`79d4d5e`](https://github.com/reown-com/appkit/commit/79d4d5e5a642ad1fca61f95bd70ea0e138938879) Thanks [@ronaldsg20](https://github.com/ronaldsg20)! - The Trezor Bitcoin connector now asks the device for account extended public keys once and derives every address locally, instead of requesting addresses from the device on each call.
19
+ - `wcError` was only ever cleared by a successful mobile deeplink or the headful "try again" button, so a single failure left every later attempt reading as failed. A new `connectWalletConnect` attempt now starts from a clean error state.
20
+ - `ConnectionControllerUtil.onConnectMobile` is a no-op without a pairing URI, and a disconnect clears it (`resetWcConnection`). `connectWallet` / the `useAppKitWallets` `connect` now reject in that case (`ConnectionControllerUtil.assertWcUriForDeeplink`) instead of resolving as if a wallet had been opened, so the host can pre-fetch a URI and retry rather than waiting on a redirect that never fires.
25
21
 
26
- - **One device interaction per account.** `getAccountAddresses()` issued a fresh `getAddress` call every time it ran, and it is invoked by `connect()`, by the adapter's `getAccounts()`, and again on `switchNetwork()`. Restoring a session opened two popups. A single bundled `getPublicKey` call now covers all four accounts, and the result is cached until disconnect or a coin-type change. Concurrent callers share one in-flight request rather than racing two popups.
27
- - **Legacy, nested SegWit, native SegWit and taproot accounts are all derived** — `m/44'/c'/0'`, `m/49'/c'/0'`, `m/84'/c'/0'` and `m/86'/c'/0'` — each with 20 receive and 20 change addresses. `getDerivedAddresses()` returns the full set and `getAccountDescriptors()` returns the account descriptors. `getAccountAddresses()` is unchanged and still returns the payment and ordinal pair, so no other connector or consumer is affected.
28
- - **`publicKey` is populated.** It was hardcoded to `undefined`, which left the `signInputs[].publicKey` branch of input-path resolution unable to match anything.
29
- - **Change on the change chain is recognised.** Only two addresses were known, so real BIP84 change at `.../1/*` was described to the device as a payment to a third party. Change is now matched against every derived address, and the output script type follows the address rather than always being `PAYTOWITNESS`, which misdescribed legacy, nested SegWit and taproot change.
30
- - **Unknown addresses fail loudly.** `getPathForAddress` ignored its argument and returned the payment path, so signing an address the connector could not place silently used the key at `.../0/0`. It now throws.
31
- - **Taproot outputs no longer break signing.** Output scripts are decoded with `@trezor/utxo-lib`; `bitcoinjs-lib` throws `No ECC Library provided` for P2TR unless `initEccLib()` has been called, which made any PSBT carrying a taproot output unsignable.
22
+ Headless hosts can also now read the pairing expiry: `getWalletConnectUri()` returns `wcPairingExpiry` alongside `wcUri` / `wcError` / `wcFetchingUri`, and `subscribeWalletConnectUri` fires on it. `ConnectionController.setUri` has always stamped it four minutes out, and scaffold-ui reads it (`isPairingExpired`) to decide whether to re-connect — it simply was never passed through to the headless read.
32
23
 
33
- Adds `@trezor/utxo-lib` as a direct dependency. It was already installed as a dependency of `@trezor/connect` at the same version, so this adds no new install weight.
24
+ It matters for a host that consumes the URI later than it fetched it. Scaffold-ui generates a URI and acts on it in one gesture, so a lapsed pairing is nearly unreachable there. A host whose picker fetches on wallet select and deeplinks on a second, user-paced click can easily be past four minutes by the time the user taps, and no other field in the snapshot distinguishes a fresh URI from a dead one.
34
25
 
35
- - [`ef1d156`](https://github.com/reown-com/appkit/commit/ef1d15678c187ea1a971ffc18de0a54e775fd972) Thanks [@0xmkh](https://github.com/0xmkh)! - Change logo for trezor
26
+ - [#5756](https://github.com/reown-com/appkit/pull/5756) [`af531f4`](https://github.com/reown-com/appkit/commit/af531f434a77a3c50f8afccbff5224135d63571c) Thanks [@santgr11](https://github.com/santgr11)! - Show the full wallet name in the "Don't have X?" download CTA instead of always hard-truncating it to 12 characters
27
+
28
+ - [#5758](https://github.com/reown-com/appkit/pull/5758) [`0cec5de`](https://github.com/reown-com/appkit/commit/0cec5dee7d629f4bf602399e2e214b0d3e776ba3) Thanks [@santgr11](https://github.com/santgr11)! - Fix Sign modal Cancel/Sign buttons rendering outside the modal boundary when both show their loading label at once (e.g. after a network hiccup lets a user press both before either resolves). `wui-button` can now shrink as a flex item and truncates its label with an ellipsis instead of overflowing past its own bounds.
29
+
30
+ - [#5746](https://github.com/reown-com/appkit/pull/5746) [`d8263cb`](https://github.com/reown-com/appkit/commit/d8263cb6ebb9e1618509f9d9311ea48850b80df1) Thanks [@santgr11](https://github.com/santgr11)! - Fix stored TRON wallet connections being silently wiped on reload when a wallet adapter (e.g. TronLink) is still resolving its `readyState` when boot sync runs. `TronAdapter.syncConnectors` now waits for a pending wallet adapter to settle before boot connection sync runs, but only when that adapter has an actual stored TRON connection to restore, so `useAppKitAccount` rehydrates correctly instead of staying disconnected, without adding a delay to every page load.
31
+
32
+ - [#5745](https://github.com/reown-com/appkit/pull/5745) [`840dc8f`](https://github.com/reown-com/appkit/commit/840dc8fadc1ac8a18a5f6ce18e935860164382a7) Thanks [@tomiir](https://github.com/tomiir)! - Added Stellar support via WalletConnect through the new `@reown/appkit-adapter-stellar` package. Supports the `stellar:pubnet` and `stellar:testnet` networks and the `stellar_signXDR`, `stellar_signAndSubmitXDR`, `stellar_signMessage` and `stellar_signAuthEntry` methods, along with a SIWX verifier for SEP-53 signatures. Stellar wallets connect over WalletConnect only -- there is no extension wallet support.
33
+
34
+ - [#5736](https://github.com/reown-com/appkit/pull/5736) [`8fe48b0`](https://github.com/reown-com/appkit/commit/8fe48b04adb2543c5c64b930bf9c6d21a6ca215d) Thanks [@0xmkh](https://github.com/0xmkh)! - fix(siwx): resolve multichain wallet signing race condition
35
+
36
+ Fixed an issue where SIWX signing would fail with multichain wallets (Trust Wallet, SafePal) when the active namespace changed between message creation and signing.
37
+
38
+ - [#5723](https://github.com/reown-com/appkit/pull/5723) [`b9a2612`](https://github.com/reown-com/appkit/commit/b9a2612c9cd23c7a145a8d25fae86aac32cc5233) Thanks [@santgr11](https://github.com/santgr11)! - Fixed Rootstock network logo not being displayed in the network selectors.
36
39
 
37
40
  ## 1.8.23
38
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-cli",
3
- "version": "1.8.24-trezor-logo-support.0",
3
+ "version": "1.8.24",
4
4
  "sideEffects": false,
5
5
  "description": "Reown AppKit CLI",
6
6
  "main": "index.js",