@reown/appkit-cli 1.8.22-headless-js.0 → 1.8.22-headless-js-wcuri.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 +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# @reown/appkit-cli
|
|
2
2
|
|
|
3
|
-
## 1.8.22-headless-js.0
|
|
3
|
+
## 1.8.22-headless-js-wcuri.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- 00bc32c: Expose the WalletConnect URI on the public AppKit state, so a headless host can render a QR without the `useAppKitWallets` React hook.
|
|
8
|
+
|
|
9
|
+
`getState()` / `subscribeState()` now include `wcUri`, `wcError`, and `wcFetchingUri` — the symmetric _read_ for the existing `getWalletConnectUri()` trigger. These are mirrored from the connection layer onto the public state, so headless consumers read them ungated through the AppKit instance (the connection-level `subscribeConnections` is gated behind the `multiWallet` remote feature and so can't serve the URI for a single-wallet QR).
|
|
10
|
+
|
|
7
11
|
- a4b2d2f: Expose the headless wallet list imperatively on the AppKit client, so a non-React host can list / search / connect wallets without the `useAppKitWallets` React hook.
|
|
8
12
|
|
|
9
13
|
New `AppKit` instance methods: `fetchWallets(options?)`, `getWalletList()`, `subscribeWalletList(cb)`, `getWalletConnectUri(options?)`, and `connectWallet(wallet, namespace?, options?)`. The shared imperative logic lives in a new `HeadlessWalletUtil` (`@reown/appkit-controllers`), which both the client methods and the React hook can use — one tested code path for headless wallet listing, search, pagination, the WalletConnect URI, and programmatic connect (injected / API / mobile-deeplink).
|