chore(deps): updates auth examples to auth-client@0.4.0

This commit is contained in:
Ben Kremer
2022-10-14 15:30:11 -05:00
parent 77adb22535
commit 270a6204ae
5 changed files with 113 additions and 13 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
"@nextui-org/react": "1.0.8-beta.5",
"@polkadot/keyring": "^10.1.2",
"@solana/web3.js": "1.43.0",
"@walletconnect/auth-client": "^0.3.2",
"@walletconnect/auth-client": "0.4.0",
"@walletconnect/utils": "2.0.0-rc.2",
"bs58": "5.0.0",
"cosmos-wallet": "1.2.0",
@@ -7,7 +7,7 @@ export let authClient: AuthClient
export async function createAuthClient(address: string) {
authClient = await AuthClient.init({
projectId: process.env.NEXT_PUBLIC_PROJECT_ID,
projectId: process.env.NEXT_PUBLIC_PROJECT_ID!,
relayUrl: process.env.NEXT_PUBLIC_RELAY_URL || 'wss://relay.walletconnect.com',
iss: `did:pkh:eip155:1:${address}`,
metadata: {