@reown/appkit-cli 1.5.3 → 1.5.4-rc.2.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 +108 -0
  2. package/package.json +1 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,108 @@
1
+ # @reown/appkit-cli
2
+
3
+ ## 1.5.4-rc.2.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3404](https://github.com/reown-com/appkit/pull/3404) [`7747f6a`](https://github.com/reown-com/appkit/commit/7747f6ac59a95031dc211722d2d611fb63a183d9) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Fix issue where setEIP6963Enabled is not getting called
8
+
9
+ - [#3371](https://github.com/reown-com/appkit/pull/3371) [`8147db9`](https://github.com/reown-com/appkit/commit/8147db90e59c8e9931019479d9584b445a27ce2c) Thanks [@enesozturk](https://github.com/enesozturk)! - Adds separate event for swap approval process
10
+
11
+ - [#3419](https://github.com/reown-com/appkit/pull/3419) [`192e4e0`](https://github.com/reown-com/appkit/commit/192e4e0b256021f97742520532907c2a7a6f30a5) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes state and storage syncronization and persisting on multiple adapter instances
12
+
13
+ - [#3408](https://github.com/reown-com/appkit/pull/3408) [`4f9a11b`](https://github.com/reown-com/appkit/commit/4f9a11b84aa31b2190e133701752c4d790e2e17b) Thanks [@zoruka](https://github.com/zoruka)! - Add Bitcoin OKX Wallet connector
14
+
15
+ - [#3417](https://github.com/reown-com/appkit/pull/3417) [`fc59868`](https://github.com/reown-com/appkit/commit/fc59868da9d5a0628b26ad6bc1e8266125e5289e) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where Solana Connection was not being set on WC Relay wallets, causing transactions to fail.
16
+
17
+ - [#3400](https://github.com/reown-com/appkit/pull/3400) [`26a9ff9`](https://github.com/reown-com/appkit/commit/26a9ff9cb55d7c9f96c2c600da91606247fb4389) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors some ui rendering logics and enables setting extra configurations via modal functions
18
+
19
+ - [#3420](https://github.com/reown-com/appkit/pull/3420) [`d07a72b`](https://github.com/reown-com/appkit/commit/d07a72bb6397bb4580b9999bdbe927817d5b015e) Thanks [@magiziz](https://github.com/magiziz)! - Added `enableWalletGuide` option to allow disabling the wallet guide footer when social or email logins are enabled.
20
+
21
+ **Example usage**
22
+
23
+ ```ts
24
+ import { createAppKit } from '@reown/appkit'
25
+
26
+ const modal = createAppKit({
27
+ adapters: [
28
+ /* Adapters */
29
+ ],
30
+ networks: [
31
+ /* Networks */
32
+ ],
33
+ projectId: 'YOUR_RPOJECT_ID',
34
+ enableWalletGuide: false // Optional - defaults to true
35
+ })
36
+ ```
37
+
38
+ - [#3421](https://github.com/reown-com/appkit/pull/3421) [`50c619a`](https://github.com/reown-com/appkit/commit/50c619aacfbcf34952d78465a597bcbf59d9bdf8) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Return custom RPC when configured in wagmi config
39
+
40
+ - [#3415](https://github.com/reown-com/appkit/pull/3415) [`9e1e4c9`](https://github.com/reown-com/appkit/commit/9e1e4c9ac565c2164750f178b6d896e57d3b68e5) Thanks [@magiziz](https://github.com/magiziz)! - Introduced wallet button component and custom hook for headless integration.
41
+
42
+ Components example:
43
+
44
+ ```tsx
45
+ import '@reown/appkit-wallet-button'
46
+
47
+ export function YourApp() {
48
+ return (
49
+ <>
50
+ {/* QR Code (WalletConnect) */}
51
+ <appkit-wallet-button wallet="walletConnect" />
52
+
53
+ {/* Wallets */}
54
+ <appkit-wallet-button wallet="metamask" />
55
+ <appkit-wallet-button wallet="trust" />
56
+ <appkit-wallet-button wallet="coinbase" />
57
+
58
+ {/* Socials */}
59
+ <appkit-wallet-button wallet="google" />
60
+ <appkit-wallet-button wallet="x" />
61
+ <appkit-wallet-button wallet="discord" />
62
+ <appkit-wallet-button wallet="farcaster" />
63
+ </>
64
+ )
65
+ }
66
+ ```
67
+
68
+ Hook example:
69
+
70
+ ```tsx
71
+ import { useAppKitWallet } from '@reown/appkit-wallet-button/react'
72
+
73
+ export function YourApp() {
74
+ const { data, error, isPending, isSuccess, isError, connect } = useAppKitWallet({
75
+ onError: err => {
76
+ // ...
77
+ },
78
+ onSuccess: data => {
79
+ // ...
80
+ }
81
+ })
82
+
83
+ return (
84
+ <>
85
+ <button onClick={() => connect('walletConnect')}>Open QR modal</button>
86
+ <button onClick={() => connect('metamask')}>Connect to MetaMask</button>
87
+ <button onClick={() => connect('google')}>Connect to Google</button>
88
+ </>
89
+ )
90
+ }
91
+ ```
92
+
93
+ Additionally a new theme variable property called `--w3m-qr-color` was added where you can configure a custom color for the QR code.
94
+
95
+ ```tsx
96
+ import { createAppKit } from '@reown/appkit/react'
97
+
98
+ const modal = createAppKit({
99
+ /* Your Config */
100
+ themeVariables: {
101
+ '--w3m-qr-color': '...', // Optional
102
+ '--w3m-color-mix': '...',
103
+ '--w3m-color-mix-strength': 50
104
+ }
105
+ })
106
+ ```
107
+
108
+ - [#3412](https://github.com/reown-com/appkit/pull/3412) [`1ca257b`](https://github.com/reown-com/appkit/commit/1ca257be91e131ab140db58c99f979b21306919d) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes embedded mode route redirection issue and adds transition for border radius values
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-cli",
3
- "version": "1.5.3",
3
+ "version": "1.5.4-rc.2.0",
4
4
  "description": "Reown AppKit CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",