@reown/appkit-cli 1.6.8 → 1.6.9-venice.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 +19 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @reown/appkit-cli
|
|
2
2
|
|
|
3
|
+
## 1.6.9-venice.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3818](https://github.com/reown-com/appkit/pull/3818) [`bf90239`](https://github.com/reown-com/appkit/commit/bf90239f89090a63d7c7eefc762471978aeceaad) Thanks [@enesozturk](https://github.com/enesozturk)! - Allows getting chain specific account data with hooks and subscribe methods
|
|
8
|
+
|
|
9
|
+
### Example Usage
|
|
10
|
+
|
|
11
|
+
```tsx
|
|
12
|
+
import { useAppKitAccount } from '@reown/appkit/react'
|
|
13
|
+
|
|
14
|
+
const accountState = useAppKitAccount() // Returns active chain's account state
|
|
15
|
+
const evmAccountState = useAppKitAccount({ chainNamespace: 'eip155' }) // Returns EVM chain's account state
|
|
16
|
+
const solanaAccountState = useAppKitAccount({ chainNamespace: 'solana' }) // Returns Solana chain's account state
|
|
17
|
+
const bitcoinAccountState = useAppKitAccount({ chainNamespace: 'bip122' }) // Returns Bitcoin chain's account state
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
- [#3833](https://github.com/reown-com/appkit/pull/3833) [`ff75922`](https://github.com/reown-com/appkit/commit/ff75922b49169f24d58ed2e41238a8d1d6e9164e) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Set wallet to undefined after unmount of QR view
|
|
21
|
+
|
|
3
22
|
## 1.6.8
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|