From 412aa0a1cc41757aa6b5fa83ee53a973bcf6665d Mon Sep 17 00:00:00 2001 From: Srujan Gurram Date: Tue, 26 Nov 2024 12:41:04 +0530 Subject: [PATCH] Update web3 auth name to "IQ.wiki" instead of "IQ.Wiki AI Editor". --- .changeset/warm-onions-retire.md | 5 +++++ src/components/iq-login-provider.tsx | 4 ++-- src/lib/integrations/web3-auth-connector.ts | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/warm-onions-retire.md diff --git a/.changeset/warm-onions-retire.md b/.changeset/warm-onions-retire.md new file mode 100644 index 0000000..6046ac7 --- /dev/null +++ b/.changeset/warm-onions-retire.md @@ -0,0 +1,5 @@ +--- +"@everipedia/iq-login": patch +--- + +Updates web3 auth name to iq.wiki rather than iq wiki ai editor diff --git a/src/components/iq-login-provider.tsx b/src/components/iq-login-provider.tsx index 883b811..77e026a 100644 --- a/src/components/iq-login-provider.tsx +++ b/src/components/iq-login-provider.tsx @@ -28,12 +28,12 @@ const chain = const web3AuthInstance = createWeb3AuthInstance(chain); export const defaultConfig = getDefaultConfig({ - appName: "IQ.Wiki AI Editor", + appName: "IQ.wiki", projectId: process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID, chains: [chain], wallets: [ ...getDefaultWallets({ - appName: "IQ.Wiki AI Editor", + appName: "IQ.wiki", projectId: process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID, }).wallets, { diff --git a/src/lib/integrations/web3-auth-connector.ts b/src/lib/integrations/web3-auth-connector.ts index 6daab7a..5411dce 100644 --- a/src/lib/integrations/web3-auth-connector.ts +++ b/src/lib/integrations/web3-auth-connector.ts @@ -74,7 +74,7 @@ export function createWeb3AuthInstance(chain: Chain) { }); const uiConfig: Web3AuthModal.Web3AuthOptions["uiConfig"] = { - appName: "IQ.Wiki AI Editor", + appName: "IQ.wiki", loginMethodsOrder: ["google", "discord", "twitter"], defaultLanguage: "en", modalZIndex: "2147483647",