@reown/appkit-cli 1.8.23-multichain-btc-fix.0 → 1.8.23

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 +7 -3
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,9 +1,15 @@
1
1
  # @reown/appkit-cli
2
2
 
3
- ## 1.8.23-multichain-btc-fix.0
3
+ ## 1.8.23
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - [#5712](https://github.com/reown-com/appkit/pull/5712) [`f2d2539`](https://github.com/reown-com/appkit/commit/f2d25397347b2347dae13b9088989a6333e813d8) Thanks [@enesozturk](https://github.com/enesozturk)! - Recover Coinbase Wallet from the EIP-1193 `4100` ("Must call 'eth_requestAccounts' before other methods") error that could dead-end signing after a session restore.
8
+
9
+ On an AppKit auto-restore, the Coinbase Wallet SDK provider keeps its accounts but drops its internal authorization — unlike wagmi's own `reconnect`, AppKit's restore reads `eth_accounts` without re-issuing `eth_requestAccounts`. Consumers that call `.request()` directly on the provider (rather than through wagmi's hooks) then failed the first signing RPC with `4100`.
10
+
11
+ The provider registration seam (`syncProvider`) now wraps Coinbase eip155 providers — keyed on the connector `id`, which is stable across the wagmi, ethers, and ethers5 adapters (the provider "type" is remapped to `'EXTERNAL'` on most paths, so it can't be used to detect Coinbase). A `4100` then triggers a one-shot recovery: a single `eth_requestAccounts` re-authorization, an active-chain re-assert before an `eth_sendTransaction` retry (so the transaction can't broadcast on the wrong network after the handshake resets the SDK's chain), then exactly one retry. Non-`4100` errors, rejected re-auth prompts, and non-Coinbase providers are unaffected. The wrapper is cached per provider instance so consumers keep a stable reference.
12
+
7
13
  - [#5665](https://github.com/reown-com/appkit/pull/5665) [`e5ee43c`](https://github.com/reown-com/appkit/commit/e5ee43c7c4db6f2918d20f588b39f71f10ed2de8) Thanks [@Khizr97](https://github.com/Khizr97)! - Fix `coinbasePreference` option being ignored — `'all'` and `'eoaOnly'` now correctly use the `coinbaseWallet` connector (with QR code support) instead of always using `baseAccount`. `'smartWalletOnly'` uses `baseAccount`. Regression introduced in PR #5269.
8
14
 
9
15
  - [#5663](https://github.com/reown-com/appkit/pull/5663) [`da65c78`](https://github.com/reown-com/appkit/commit/da65c78e73f4ff3873150b3da6a9b303580217ee) Thanks [@Khizr97](https://github.com/Khizr97)! - fix(ethers,ethers5): resolve walletProvider after account switch in modal
@@ -14,8 +20,6 @@
14
20
  `syncProvider()`. The provider is now resolved from `ethersProviders` before the
15
21
  event is emitted.
16
22
 
17
- - [#5713](https://github.com/reown-com/appkit/pull/5713) [`f8ffda0`](https://github.com/reown-com/appkit/commit/f8ffda02c25d71d1fb298e1cef1c492a59a5d695) Thanks [@0xmkh](https://github.com/0xmkh)! - Fixed an issue where connecting via WalletConnect with multiple chain namespaces (e.g., EVM + Bitcoin + Tron) would crash if the wallet returned an eip155 namespace with empty accounts. This edge case occurred with certain wallet configurations where the wallet included the eip155 namespace in the session but didn't provide any EVM accounts.
18
-
19
23
  - [#5706](https://github.com/reown-com/appkit/pull/5706) [`ccf0dcb`](https://github.com/reown-com/appkit/commit/ccf0dcb2d21be5e24458dce45cb1c4d170f04b11) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: persist the universal-link base as the WalletConnect deeplink choice when `experimental_preferUniversalLinks` is enabled, so session-request re-opens (handled by universal-provider) use the wallet's universal link instead of falling back to its native custom scheme
20
24
 
21
25
  ## 1.8.22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-cli",
3
- "version": "1.8.23-multichain-btc-fix.0",
3
+ "version": "1.8.23",
4
4
  "sideEffects": false,
5
5
  "description": "Reown AppKit CLI",
6
6
  "main": "index.js",