@reown/appkit-cli
Advanced tools
Comparing version 1.6.4 to 1.6.5-cali-quests.0
# @reown/appkit-cli | ||
## 1.6.5-cali-quests.0 | ||
### Patch Changes | ||
- [#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 | ||
- [#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 | ||
- [#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 | ||
- [#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 | ||
- [#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 | ||
- [#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 | ||
- [#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. | ||
**Example usage** | ||
```tsx | ||
import { useEffect, useState } from 'react' | ||
import { createAppKitWalletButton } from '@reown/appkit-wallet-button' | ||
const appKitWalletButton = createAppKitWalletButton() | ||
export function YourApp() { | ||
const [isReady, setIsReady] = useState(false) | ||
useEffect(() => { | ||
// Check if Wallet Buttons are ready | ||
if (appKitWalletButton.isReady()) { | ||
setIsReady(true) | ||
} else { | ||
// Subscribe to ready state changes | ||
appKitWalletButton.subscribeIsReady(state => { | ||
setIsReady(state.isReady) | ||
}) | ||
} | ||
}, [appKitWalletButton]) | ||
return ( | ||
<> | ||
<button onClick={() => appKitWalletButton.connect('walletConnect')} disabled={!isReady}> | ||
Open QR modal | ||
</button> | ||
<button onClick={() => appKitWalletButton.connect('metamask')} disabled={!isReady}> | ||
Connect to MetaMask | ||
</button> <button onClick={() => appKitWalletButton.connect('google')} disabled={!isReady}> | ||
Connect to Google | ||
</button> | ||
</> | ||
) | ||
} | ||
``` | ||
- [#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. | ||
- [#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. | ||
- [#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 | ||
- [#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 | ||
## 1.6.4 | ||
@@ -32,3 +97,3 @@ | ||
import { createSIWEConfig } from '@reown/appkit-siwe' | ||
import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs } from '@reown/appkit-siwe' | ||
import type { SIWECreateMessageArgs, SIWEVerifyMessageArgs } from '@reown/appkit-siwe' | ||
@@ -35,0 +100,0 @@ export const siweConfig = createSIWEConfig({ |
#!/usr/bin/env node | ||
import chalk from 'chalk' | ||
import inquirer from 'inquirer' | ||
import chalk from 'chalk' | ||
import { checkDirectoryExists, generateRepoUrl, cloneRepository, banner } from './utils.js' | ||
import { banner, checkDirectoryExists, cloneRepository, generateRepoUrl } from './utils.js' | ||
@@ -7,0 +7,0 @@ // Define styles |
{ | ||
"name": "@reown/appkit-cli", | ||
"version": "1.6.4", | ||
"version": "1.6.5-cali-quests.0", | ||
"description": "Reown AppKit CLI", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,4 +1,4 @@ | ||
import chalk from 'chalk' | ||
import { promises } from 'fs' | ||
import tiged from 'tiged' | ||
import chalk from 'chalk' | ||
@@ -5,0 +5,0 @@ export async function checkDirectoryExists(directory) { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
48051
2