chore(deps): updates auth examples to auth-client@0.4.0
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user