@reown/appkit-cli 1.6.5-rc.0.0 → 1.6.5-rc.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +52 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @reown/appkit-cli
2
2
 
3
- ## 1.6.5-rc.0.0
3
+ ## 1.6.5-rc.1.0
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -16,14 +16,65 @@
16
16
 
17
17
  - [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen
18
18
 
19
+ - [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks.
20
+
21
+ **Example usage**
22
+
23
+ ```tsx
24
+ import { useEffect, useState } from 'react'
25
+
26
+ import { createAppKitWalletButton } from '@reown/appkit-wallet-button'
27
+
28
+ const appKitWalletButton = createAppKitWalletButton()
29
+
30
+ export function YourApp() {
31
+ const [isReady, setIsReady] = useState(false)
32
+
33
+ useEffect(() => {
34
+ // Check if Wallet Buttons are ready
35
+ if (appKitWalletButton.isReady()) {
36
+ setIsReady(true)
37
+ } else {
38
+ // Subscribe to ready state changes
39
+ appKitWalletButton.subscribeIsReady(state => {
40
+ setIsReady(state.isReady)
41
+ })
42
+ }
43
+ }, [appKitWalletButton])
44
+
45
+ return (
46
+ <>
47
+ <button onClick={() => appKitWalletButton.connect('walletConnect')} disabled={!isReady}>
48
+ Open QR modal
49
+ </button>
50
+ <button onClick={() => appKitWalletButton.connect('metamask')} disabled={!isReady}>
51
+ Connect to MetaMask
52
+ </button> <button onClick={() => appKitWalletButton.connect('google')} disabled={!isReady}>
53
+ Connect to Google
54
+ </button>
55
+ </>
56
+ )
57
+ }
58
+ ```
59
+
60
+ - [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected
61
+
19
62
  - [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization.
20
63
 
21
64
  - [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched.
22
65
 
23
66
  - [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list
24
67
 
68
+ - [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter.
69
+
70
+ - [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.'
71
+
25
72
  - [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters
26
73
 
74
+ - [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic
75
+
76
+ - [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks'
77
+
27
78
  ## 1.6.4
28
79
 
29
80
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-cli",
3
- "version": "1.6.5-rc.0.0",
3
+ "version": "1.6.5-rc.1.0",
4
4
  "description": "Reown AppKit CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",