From 8a8c79519418019379894498b51d35c61d126b89 Mon Sep 17 00:00:00 2001
From: Tomas Rawski
Date: Mon, 14 Oct 2024 15:57:51 -0300
Subject: [PATCH 1/3] enableWalletConnect and Debug options
---
docs/appkit/shared/options.mdx | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/docs/appkit/shared/options.mdx b/docs/appkit/shared/options.mdx
index b3d3f9aa..13a09bfc 100644
--- a/docs/appkit/shared/options.mdx
+++ b/docs/appkit/shared/options.mdx
@@ -172,6 +172,21 @@ createAppKit({
+## enableWalletConnect
+
+Enable or disable WalletConnect QR feature. Default is `true`.
+
+```ts
+enableWalletConnect: false
+```
+
+## debug
+
+Enable or disable debug mode in your AppKit. This is useful if you want to see UI alerts when debugging. Default is `false`.
+
+```ts
+debug: true
+```
## termsConditionsUrl
From ee278ada701844461d23e059e47a8f438f5c18a5 Mon Sep 17 00:00:00 2001
From: Tomas Rawski
Date: Mon, 14 Oct 2024 15:59:23 -0300
Subject: [PATCH 2/3] social can be false
---
docs/appkit/shared/socials.mdx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/appkit/shared/socials.mdx b/docs/appkit/shared/socials.mdx
index 90f9341b..26c7a84e 100644
--- a/docs/appkit/shared/socials.mdx
+++ b/docs/appkit/shared/socials.mdx
@@ -73,7 +73,7 @@ const modal = createAppKit({
## Options
- **_email [boolean]_** : This boolean defines whether you want to enable email login. Default `true`
-- **_socials [array]_** : This array contains the list of social platforms that you want to enable for user authentication. The platforms in the example include Google, X, GitHub, Discord, Apple, Facebook and Farcaster. Default `undefined`
+- **_socials [array]_** : This array contains the list of social platforms that you want to enable for user authentication. The platforms in the example include Google, X, GitHub, Discord, Apple, Facebook and Farcaster. The default value of `undefined` displays everything. Set it to `false` to disable this feature.
- **_emailShowWallets [boolean]_** : This boolean defines whether you want to show the wallet options on the first connect screen. If this is false and `socials` are enabled, it will show a button that directs you to a new screen displaying the wallet options. Default `true`
## User flow
@@ -122,7 +122,7 @@ By configuring the `socials` option in the `features` parameter, you can control
-- **` socials: []`**: When you want to disable social logins.
+- **`socials: []` or `socials: false`**: When you want to disable social logins.
From 1a02f65d57416b85119c97dfc577ffa301b114a6 Mon Sep 17 00:00:00 2001
From: Rohit Ramesh <70317502+rohit-710@users.noreply.github.com>
Date: Tue, 15 Oct 2024 20:06:57 +0530
Subject: [PATCH 3/3] Update docs/appkit/shared/socials.mdx
---
docs/appkit/shared/socials.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/appkit/shared/socials.mdx b/docs/appkit/shared/socials.mdx
index 26c7a84e..82c06fb7 100644
--- a/docs/appkit/shared/socials.mdx
+++ b/docs/appkit/shared/socials.mdx
@@ -73,7 +73,7 @@ const modal = createAppKit({
## Options
- **_email [boolean]_** : This boolean defines whether you want to enable email login. Default `true`
-- **_socials [array]_** : This array contains the list of social platforms that you want to enable for user authentication. The platforms in the example include Google, X, GitHub, Discord, Apple, Facebook and Farcaster. The default value of `undefined` displays everything. Set it to `false` to disable this feature.
+- **_socials [array]_** : This array contains the list of social platforms that you want to enable for user authentication. The platforms in the example include Google, X, GitHub, Discord, Apple, Facebook and Farcaster. The default value of `undefined` displays everything. Set it to `false` to disable this feature. You can also pass an empty array to disable it.
- **_emailShowWallets [boolean]_** : This boolean defines whether you want to show the wallet options on the first connect screen. If this is false and `socials` are enabled, it will show a button that directs you to a new screen displaying the wallet options. Default `true`
## User flow