@reown/appkit-cli 1.6.9-venice.0 → 1.6.9
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 +31 -2
- package/README.md +3 -3
- package/index.js +4 -2
- package/package.json +1 -1
- package/utils.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# @reown/appkit-cli
|
|
2
2
|
|
|
3
|
-
## 1.6.9
|
|
3
|
+
## 1.6.9
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- [#3878](https://github.com/reown-com/appkit/pull/3878) [`f9e66b9`](https://github.com/reown-com/appkit/commit/f9e66b94982cae004b9f2058eff1e845543a48c6) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where social popup window was blocked by safari
|
|
8
|
+
|
|
7
9
|
- [#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
10
|
|
|
9
11
|
### Example Usage
|
|
@@ -17,8 +19,34 @@
|
|
|
17
19
|
const bitcoinAccountState = useAppKitAccount({ chainNamespace: 'bip122' }) // Returns Bitcoin chain's account state
|
|
18
20
|
```
|
|
19
21
|
|
|
22
|
+
- [#3764](https://github.com/reown-com/appkit/pull/3764) [`73fbd0f`](https://github.com/reown-com/appkit/commit/73fbd0fc11aaba80f5a5054659fe6eb3b3211400) Thanks [@magiziz](https://github.com/magiziz)! - Deprecated api headers to use query parameters
|
|
23
|
+
|
|
20
24
|
- [#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
25
|
|
|
26
|
+
- [#3832](https://github.com/reown-com/appkit/pull/3832) [`64a03e1`](https://github.com/reown-com/appkit/commit/64a03e147be917ffc630bdefb628ad303cce7b20) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Add error message to SEND_ERROR event
|
|
27
|
+
|
|
28
|
+
- [#3864](https://github.com/reown-com/appkit/pull/3864) [`aeae09c`](https://github.com/reown-com/appkit/commit/aeae09cb4a01451cb59c639dbc50e9de13086e87) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Applied a fix where we correctly clear the wallet state
|
|
29
|
+
|
|
30
|
+
- [#3895](https://github.com/reown-com/appkit/pull/3895) [`8d2a81f`](https://github.com/reown-com/appkit/commit/8d2a81f48875c2810c5e341ce4822635696c7b2b) Thanks [@magiziz](https://github.com/magiziz)! - Add await in switchNetwork
|
|
31
|
+
|
|
32
|
+
- [#3869](https://github.com/reown-com/appkit/pull/3869) [`b264e3b`](https://github.com/reown-com/appkit/commit/b264e3b940d28f903d0f83292b00f4fb66423118) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes defaultNetwork prop that is not being used on initialization
|
|
33
|
+
|
|
34
|
+
- [#3785](https://github.com/reown-com/appkit/pull/3785) [`faf3f25`](https://github.com/reown-com/appkit/commit/faf3f253541ba82da47da5b7f285da6400a0ab58) Thanks [@magiziz](https://github.com/magiziz)! - Added support for react version 19
|
|
35
|
+
|
|
36
|
+
- [#3847](https://github.com/reown-com/appkit/pull/3847) [`675d863`](https://github.com/reown-com/appkit/commit/675d86364d38e88e069d1b739683d16e4ff2ee71) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where switching to an unrecognized chain in MM mobile resulted in INVALID_CHAIN error which was not parsed for wallet_addEthereumChain request
|
|
37
|
+
|
|
38
|
+
- [#3870](https://github.com/reown-com/appkit/pull/3870) [`eb510b0`](https://github.com/reown-com/appkit/commit/eb510b0901f0a115b48a555d2839a14c92eaccf4) Thanks [@zoruka](https://github.com/zoruka)! - Add extra metadata about connected wallet sent to cloud auth siwx
|
|
39
|
+
|
|
40
|
+
- [#3917](https://github.com/reown-com/appkit/pull/3917) [`bebdea0`](https://github.com/reown-com/appkit/commit/bebdea0fe73872ab8bfd9549bb1275b598c85821) Thanks [@svenvoskamp](https://github.com/svenvoskamp)! - Fix a case where wagmi is not getting the correct session state
|
|
41
|
+
|
|
42
|
+
- [#3910](https://github.com/reown-com/appkit/pull/3910) [`62bb4da`](https://github.com/reown-com/appkit/commit/62bb4da13eefc1059bfc5b060f0f51b2b8892cca) Thanks [@tomiir](https://github.com/tomiir)! - Adds st and sv params to identity call on Blockchain Api
|
|
43
|
+
|
|
44
|
+
- [#3881](https://github.com/reown-com/appkit/pull/3881) [`1f319cd`](https://github.com/reown-com/appkit/commit/1f319cd5e5fb014d66725d2f9b975ec2ed08f21e) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes fetch identity call where if the network is not supported by wallet and if switched to another network
|
|
45
|
+
|
|
46
|
+
- [#3876](https://github.com/reown-com/appkit/pull/3876) [`c2a833b`](https://github.com/reown-com/appkit/commit/c2a833b83e647bda357b6338913df42a3336fdf3) Thanks [@magiziz](https://github.com/magiziz)! - Added bitcoin support for wallet buttons
|
|
47
|
+
|
|
48
|
+
- [#3868](https://github.com/reown-com/appkit/pull/3868) [`8e11300`](https://github.com/reown-com/appkit/commit/8e1130061ed5ad175093a8a1f4057646d30f049b) Thanks [@tomiir](https://github.com/tomiir)! - Sets default chain to current appkit chain on WC connections
|
|
49
|
+
|
|
22
50
|
## 1.6.8
|
|
23
51
|
|
|
24
52
|
### Patch Changes
|
|
@@ -170,7 +198,8 @@
|
|
|
170
198
|
</button>
|
|
171
199
|
<button onClick={() => appKitWalletButton.connect('metamask')} disabled={!isReady}>
|
|
172
200
|
Connect to MetaMask
|
|
173
|
-
</button>
|
|
201
|
+
</button>{' '}
|
|
202
|
+
<button onClick={() => appKitWalletButton.connect('google')} disabled={!isReady}>
|
|
174
203
|
Connect to Google
|
|
175
204
|
</button>
|
|
176
205
|
</>
|
package/README.md
CHANGED
|
@@ -48,14 +48,14 @@ npx appkit-cli
|
|
|
48
48
|
Provide examples of some paramaeters:
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
appkit-
|
|
51
|
+
appkit-cli [project-name]
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
For example:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
|
-
appkit-
|
|
58
|
-
appkit-
|
|
57
|
+
appkit-cli my-app
|
|
58
|
+
appkit-cli
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
## Linking/Unlinking for Local Development
|
package/index.js
CHANGED
|
@@ -24,7 +24,8 @@ async function questionFramework() {
|
|
|
24
24
|
choices: [
|
|
25
25
|
{ name: 'Next.js', value: 'nextjs' },
|
|
26
26
|
{ name: 'React', value: 'react' },
|
|
27
|
-
{ name: 'Vue', value: 'vue' }
|
|
27
|
+
{ name: 'Vue', value: 'vue' },
|
|
28
|
+
{ name: 'Javascript', value: 'javascript' }
|
|
28
29
|
]
|
|
29
30
|
}
|
|
30
31
|
]
|
|
@@ -36,11 +37,12 @@ async function questionLibrary() {
|
|
|
36
37
|
{
|
|
37
38
|
type: 'list',
|
|
38
39
|
name: 'library',
|
|
39
|
-
message: 'wagmi, ethers, solana or EVM+Solana ?',
|
|
40
|
+
message: 'wagmi, ethers, solana, bitcoin or EVM+Solana ?',
|
|
40
41
|
choices: [
|
|
41
42
|
{ name: 'wagmi', value: 'wagmi' },
|
|
42
43
|
{ name: 'ethers', value: 'ethers' },
|
|
43
44
|
{ name: 'Solana', value: 'solana' },
|
|
45
|
+
{ name: 'Bitcoin', value: 'bitcoin' },
|
|
44
46
|
{ name: 'Multichain', value: 'multichain' }
|
|
45
47
|
]
|
|
46
48
|
}
|
package/package.json
CHANGED
package/utils.js
CHANGED
|
@@ -20,6 +20,8 @@ export function generateRepoUrl(answerFramework, answerLibrary) {
|
|
|
20
20
|
return `reown-com/appkit-web-examples/react/react-${answerLibrary.library}`
|
|
21
21
|
case 'vue':
|
|
22
22
|
return `reown-com/appkit-web-examples/vue/vue-${answerLibrary.library}`
|
|
23
|
+
case 'javascript':
|
|
24
|
+
return `reown-com/appkit-web-examples/javascript/javascript-${answerLibrary.library}`
|
|
23
25
|
default:
|
|
24
26
|
return 'reown-com/appkit-web-examples/react/react-wagmi'
|
|
25
27
|
}
|