chore(deps): update to auth-client@0.1.3 for auth dapp and wallet (#53)

* chore(deps): update auth-client to 0.1.3

* fix: adds metadata for dapp

* chore(deps): update wallet to auth-client@0.1.3
This commit is contained in:
Ben Kremer 2022-09-06 11:54:45 +02:00 committed by GitHub
parent e86a6ef2d6
commit c032f54570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4378 additions and 10411 deletions

View File

@ -11,7 +11,7 @@
"@chakra-ui/react": "^2.2.6", "@chakra-ui/react": "^2.2.6",
"@emotion/react": "^11.10.0", "@emotion/react": "^11.10.0",
"@emotion/styled": "^11.10.0", "@emotion/styled": "^11.10.0",
"@walletconnect/auth-client": "^0.1.2", "@walletconnect/auth-client": "0.1.3",
"better-sqlite3": "^7.6.2", "better-sqlite3": "^7.6.2",
"events": "^3.3.0", "events": "^3.3.0",
"framer-motion": "^7.0.0", "framer-motion": "^7.0.0",
@ -3020,9 +3020,9 @@
} }
}, },
"node_modules/@walletconnect/auth-client": { "node_modules/@walletconnect/auth-client": {
"version": "0.1.2", "version": "0.1.3",
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.2.tgz", "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.3.tgz",
"integrity": "sha512-/XnhyB5GvA9bAGzEYC9pCkI7qeoJmeEasleuJ06hCpCfJnJs2ej25ct8Qg4OgNbVsJxmuuiXLy/KGPQ9aTw64A==", "integrity": "sha512-6JwT1NYZ1iozNG6UW8jMSGdVvZ+0YcHnq4RvdZE89YlUd6gQztE8oB5N4t2ceHgTOfagMZs+mwuM6iZK+Ik2GQ==",
"dependencies": { "dependencies": {
"@walletconnect/core": "2.0.0-rc.2", "@walletconnect/core": "2.0.0-rc.2",
"@walletconnect/events": "1.0.0", "@walletconnect/events": "1.0.0",
@ -8972,9 +8972,9 @@
} }
}, },
"@walletconnect/auth-client": { "@walletconnect/auth-client": {
"version": "0.1.2", "version": "0.1.3",
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.2.tgz", "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.3.tgz",
"integrity": "sha512-/XnhyB5GvA9bAGzEYC9pCkI7qeoJmeEasleuJ06hCpCfJnJs2ej25ct8Qg4OgNbVsJxmuuiXLy/KGPQ9aTw64A==", "integrity": "sha512-6JwT1NYZ1iozNG6UW8jMSGdVvZ+0YcHnq4RvdZE89YlUd6gQztE8oB5N4t2ceHgTOfagMZs+mwuM6iZK+Ik2GQ==",
"requires": { "requires": {
"@walletconnect/core": "2.0.0-rc.2", "@walletconnect/core": "2.0.0-rc.2",
"@walletconnect/events": "1.0.0", "@walletconnect/events": "1.0.0",

View File

@ -12,7 +12,7 @@
"@chakra-ui/react": "^2.2.6", "@chakra-ui/react": "^2.2.6",
"@emotion/react": "^11.10.0", "@emotion/react": "^11.10.0",
"@emotion/styled": "^11.10.0", "@emotion/styled": "^11.10.0",
"@walletconnect/auth-client": "^0.1.2", "@walletconnect/auth-client": "0.1.3",
"better-sqlite3": "^7.6.2", "better-sqlite3": "^7.6.2",
"events": "^3.3.0", "events": "^3.3.0",
"framer-motion": "^7.0.0", "framer-motion": "^7.0.0",

View File

@ -41,6 +41,12 @@ const Home: NextPage = () => {
relayUrl: relayUrl:
process.env.NEXT_PUBLIC_RELAY_URL || "wss://relay.walletconnect.com", process.env.NEXT_PUBLIC_RELAY_URL || "wss://relay.walletconnect.com",
projectId: process.env.NEXT_PUBLIC_PROJECT_ID, projectId: process.env.NEXT_PUBLIC_PROJECT_ID,
metadata: {
name: "react-dapp-auth",
description: "React Example Dapp for Auth",
url: window.location.host,
icons: [],
},
}) })
.then((v) => { .then((v) => {
setClient(v); setClient(v);

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@
"@nextui-org/react": "1.0.8-beta.5", "@nextui-org/react": "1.0.8-beta.5",
"@polkadot/keyring": "^10.1.2", "@polkadot/keyring": "^10.1.2",
"@solana/web3.js": "1.43.0", "@solana/web3.js": "1.43.0",
"@walletconnect/auth-client": "^0.1.2", "@walletconnect/auth-client": "0.1.3",
"@walletconnect/utils": "2.0.0-rc.2", "@walletconnect/utils": "2.0.0-rc.2",
"bs58": "5.0.0", "bs58": "5.0.0",
"cosmos-wallet": "1.2.0", "cosmos-wallet": "1.2.0",