@reown/appkit-cli 1.6.4 → 1.6.5-cali-quests.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 CHANGED
@@ -1,5 +1,70 @@
1
1
  # @reown/appkit-cli
2
2
 
3
+ ## 1.6.5-cali-quests.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter
8
+
9
+ - [#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 mobile view would show auth login options without adapters
10
+
11
+ - [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event
12
+
13
+ - [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts
14
+
15
+ - [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution
16
+
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
+
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
+ - [#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.
61
+
62
+ - [#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.
63
+
64
+ - [#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
65
+
66
+ - [#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
67
+
3
68
  ## 1.6.4
4
69
 
5
70
  ### Patch Changes
@@ -29,7 +94,7 @@
29
94
 
30
95
  ```ts
31
96
  import { createSIWEConfig } from '@reown/appkit-siwe'
32
- import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs } from '@reown/appkit-siwe'
97
+ import type { SIWECreateMessageArgs, SIWEVerifyMessageArgs } from '@reown/appkit-siwe'
33
98
 
34
99
  export const siweConfig = createSIWEConfig({
35
100
  required: false, // Optional - defaults to true
package/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import inquirer from 'inquirer'
3
2
  import chalk from 'chalk'
3
+ import inquirer from 'inquirer'
4
4
 
5
- import { checkDirectoryExists, generateRepoUrl, cloneRepository, banner } from './utils.js'
5
+ import { banner, checkDirectoryExists, cloneRepository, generateRepoUrl } from './utils.js'
6
6
 
7
7
  // Define styles
8
8
  const redTip = chalk.hex('#C70039') // Red for tips
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-cli",
3
- "version": "1.6.4",
3
+ "version": "1.6.5-cali-quests.0",
4
4
  "description": "Reown AppKit CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/utils.js CHANGED
@@ -1,6 +1,6 @@
1
+ import chalk from 'chalk'
1
2
  import { promises } from 'fs'
2
3
  import tiged from 'tiged'
3
- import chalk from 'chalk'
4
4
 
5
5
  export async function checkDirectoryExists(directory) {
6
6
  try {