@reown/appkit-cli 1.6.9-vfat.0 → 1.7.0-alpha.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 +33 -2
- package/README.md +3 -3
- package/index.js +4 -2
- package/package.json +15 -3
- package/utils.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
# @reown/appkit-cli
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.7.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Adds @reown/appkit/basic export
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
11
|
+
- [#3757](https://github.com/reown-com/appkit/pull/3757) [`95980b9`](https://github.com/reown-com/appkit/commit/95980b955955e9e50336e91789d9838a53534558) Thanks [@tomiir](https://github.com/tomiir)! - Splits code into basic and regular appkit. Re-exports ui and scaffold components so they can be tree-shaken. Dynamically import appropiate chunks according to feature flags'
|
|
12
|
+
|
|
13
|
+
## 1.6.9
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#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
|
|
18
|
+
|
|
7
19
|
- [#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
20
|
|
|
9
21
|
### Example Usage
|
|
@@ -23,8 +35,26 @@
|
|
|
23
35
|
|
|
24
36
|
- [#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
|
|
25
37
|
|
|
38
|
+
- [#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
|
|
39
|
+
|
|
40
|
+
- [#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
|
|
41
|
+
|
|
42
|
+
- [#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
|
|
43
|
+
|
|
26
44
|
- [#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
|
|
27
45
|
|
|
46
|
+
- [#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
|
|
47
|
+
|
|
48
|
+
- [#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
|
|
49
|
+
|
|
50
|
+
- [#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
|
|
51
|
+
|
|
52
|
+
- [#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
|
|
53
|
+
|
|
54
|
+
- [#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
|
|
55
|
+
|
|
56
|
+
- [#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
|
|
57
|
+
|
|
28
58
|
- [#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
|
|
29
59
|
|
|
30
60
|
## 1.6.8
|
|
@@ -178,7 +208,8 @@
|
|
|
178
208
|
</button>
|
|
179
209
|
<button onClick={() => appKitWalletButton.connect('metamask')} disabled={!isReady}>
|
|
180
210
|
Connect to MetaMask
|
|
181
|
-
</button>
|
|
211
|
+
</button>{' '}
|
|
212
|
+
<button onClick={() => appKitWalletButton.connect('google')} disabled={!isReady}>
|
|
182
213
|
Connect to Google
|
|
183
214
|
</button>
|
|
184
215
|
</>
|
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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0-alpha.0",
|
|
4
|
+
"sideEffects": false,
|
|
4
5
|
"description": "Reown AppKit CLI",
|
|
5
6
|
"main": "index.js",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"bin": {
|
|
8
9
|
"appkit-cli": "./index.js"
|
|
9
10
|
},
|
|
10
|
-
"keywords": [],
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
@@ -23,5 +23,17 @@
|
|
|
23
23
|
"cross-env": "7.0.3",
|
|
24
24
|
"esm": "3.2.25",
|
|
25
25
|
"ts-node": "10.9.2"
|
|
26
|
-
}
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"appkit",
|
|
29
|
+
"wallet",
|
|
30
|
+
"onboarding",
|
|
31
|
+
"reown",
|
|
32
|
+
"dapps",
|
|
33
|
+
"web3",
|
|
34
|
+
"wagmi",
|
|
35
|
+
"ethereum",
|
|
36
|
+
"solana",
|
|
37
|
+
"bitcoin"
|
|
38
|
+
]
|
|
27
39
|
}
|
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
|
}
|