@reown/appkit-cli 1.5.3 → 1.6.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 +126 -0
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# @reown/appkit-cli
|
|
2
|
+
|
|
3
|
+
## 1.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#3425](https://github.com/reown-com/appkit/pull/3425) [`b5e2dfa`](https://github.com/reown-com/appkit/commit/b5e2dfab8a3cd96db3e30b5bcaf1478a3d55cb2d) Thanks [@zoruka](https://github.com/zoruka)! - Add CloudAuthSIWX configuration
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#3429](https://github.com/reown-com/appkit/pull/3429) [`388e6d6`](https://github.com/reown-com/appkit/commit/388e6d676ffd0bd76d4973b7f3e2c90c459daafb) Thanks [@magiziz](https://github.com/magiziz)! - Debug mode is now set to true by default. Additionally fixed an issue where alerts and console errors were not working in debug mode.
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
15
|
+
- [#3437](https://github.com/reown-com/appkit/pull/3437) [`4d2ddad`](https://github.com/reown-com/appkit/commit/4d2ddad12979a1f79b3c28c9c69d44aad6c9b013) Thanks [@zoruka](https://github.com/zoruka)! - Fixes the Solana wallets not being recognized as installed in the all wallets list
|
|
16
|
+
|
|
17
|
+
- [#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
|
|
18
|
+
|
|
19
|
+
- [#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
|
|
20
|
+
|
|
21
|
+
- [#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
|
|
22
|
+
|
|
23
|
+
- [#3432](https://github.com/reown-com/appkit/pull/3432) [`9fce094`](https://github.com/reown-com/appkit/commit/9fce0941613fa98896d3a0537f7f73b5763d3a07) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes phantom and coinbase deeplink url parameters to be encoded
|
|
24
|
+
|
|
25
|
+
- [#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.
|
|
26
|
+
|
|
27
|
+
- [#3401](https://github.com/reown-com/appkit/pull/3401) [`b795289`](https://github.com/reown-com/appkit/commit/b795289673a42d3e7109d98a14c7ef55bf33548d) Thanks [@zoruka](https://github.com/zoruka)! - Add BitcoinAdapter.getBalance implementation based on BitcoinApi
|
|
28
|
+
|
|
29
|
+
- [#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
|
|
30
|
+
|
|
31
|
+
- [#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.
|
|
32
|
+
|
|
33
|
+
**Example usage**
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { createAppKit } from '@reown/appkit'
|
|
37
|
+
|
|
38
|
+
const modal = createAppKit({
|
|
39
|
+
adapters: [
|
|
40
|
+
/* Adapters */
|
|
41
|
+
],
|
|
42
|
+
networks: [
|
|
43
|
+
/* Networks */
|
|
44
|
+
],
|
|
45
|
+
projectId: 'YOUR_RPOJECT_ID',
|
|
46
|
+
enableWalletGuide: false // Optional - defaults to true
|
|
47
|
+
})
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- [#3434](https://github.com/reown-com/appkit/pull/3434) [`2a7a963`](https://github.com/reown-com/appkit/commit/2a7a963accb966a42c206fefebd1c9f78b358215) Thanks [@enesozturk](https://github.com/enesozturk)! - Hides the go back button on header when embedded mode is enabled
|
|
51
|
+
|
|
52
|
+
- [#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
|
|
53
|
+
|
|
54
|
+
- [#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.
|
|
55
|
+
|
|
56
|
+
Components example:
|
|
57
|
+
|
|
58
|
+
```tsx
|
|
59
|
+
import '@reown/appkit-wallet-button'
|
|
60
|
+
|
|
61
|
+
export function YourApp() {
|
|
62
|
+
return (
|
|
63
|
+
<>
|
|
64
|
+
{/* QR Code (WalletConnect) */}
|
|
65
|
+
<appkit-wallet-button wallet="walletConnect" />
|
|
66
|
+
|
|
67
|
+
{/* Wallets */}
|
|
68
|
+
<appkit-wallet-button wallet="metamask" />
|
|
69
|
+
<appkit-wallet-button wallet="trust" />
|
|
70
|
+
<appkit-wallet-button wallet="coinbase" />
|
|
71
|
+
|
|
72
|
+
{/* Socials */}
|
|
73
|
+
<appkit-wallet-button wallet="google" />
|
|
74
|
+
<appkit-wallet-button wallet="x" />
|
|
75
|
+
<appkit-wallet-button wallet="discord" />
|
|
76
|
+
<appkit-wallet-button wallet="farcaster" />
|
|
77
|
+
</>
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Hook example:
|
|
83
|
+
|
|
84
|
+
```tsx
|
|
85
|
+
import { useAppKitWallet } from '@reown/appkit-wallet-button/react'
|
|
86
|
+
|
|
87
|
+
export function YourApp() {
|
|
88
|
+
const { data, error, isPending, isSuccess, isError, connect } = useAppKitWallet({
|
|
89
|
+
onError: err => {
|
|
90
|
+
// ...
|
|
91
|
+
},
|
|
92
|
+
onSuccess: data => {
|
|
93
|
+
// ...
|
|
94
|
+
}
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
return (
|
|
98
|
+
<>
|
|
99
|
+
<button onClick={() => connect('walletConnect')}>Open QR modal</button>
|
|
100
|
+
<button onClick={() => connect('metamask')}>Connect to MetaMask</button>
|
|
101
|
+
<button onClick={() => connect('google')}>Connect to Google</button>
|
|
102
|
+
</>
|
|
103
|
+
)
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Additionally a new theme variable property called `--w3m-qr-color` was added where you can configure a custom color for the QR code.
|
|
108
|
+
|
|
109
|
+
```tsx
|
|
110
|
+
import { createAppKit } from '@reown/appkit/react'
|
|
111
|
+
|
|
112
|
+
const modal = createAppKit({
|
|
113
|
+
/* Your Config */
|
|
114
|
+
themeVariables: {
|
|
115
|
+
'--w3m-qr-color': '...', // Optional
|
|
116
|
+
'--w3m-color-mix': '...',
|
|
117
|
+
'--w3m-color-mix-strength': 50
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
- [#3439](https://github.com/reown-com/appkit/pull/3439) [`3e9758e`](https://github.com/reown-com/appkit/commit/3e9758e18b1fb9d3b08546901bbd33fab4f40827) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Fix an issue where wagmi connectors are unable to restore a session
|
|
123
|
+
|
|
124
|
+
- [#3443](https://github.com/reown-com/appkit/pull/3443) [`53ecc19`](https://github.com/reown-com/appkit/commit/53ecc19bb15f257dfd4afa34c855dd3a0620d4f9) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where pending transaction listener was causing infinite request.
|
|
125
|
+
|
|
126
|
+
- [#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
|