chore(deps): update auth-client to 0.1.7
This commit is contained in:
parent
7e52f20c5f
commit
18847f7f15
14
dapps/react-dapp-auth/package-lock.json
generated
14
dapps/react-dapp-auth/package-lock.json
generated
@ -11,7 +11,7 @@
|
||||
"@chakra-ui/react": "^2.2.6",
|
||||
"@emotion/react": "^11.10.0",
|
||||
"@emotion/styled": "^11.10.0",
|
||||
"@walletconnect/auth-client": "^0.1.6",
|
||||
"@walletconnect/auth-client": "^0.1.7",
|
||||
"better-sqlite3": "^7.6.2",
|
||||
"events": "^3.3.0",
|
||||
"framer-motion": "^7.0.0",
|
||||
@ -3020,9 +3020,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@walletconnect/auth-client": {
|
||||
"version": "0.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.6.tgz",
|
||||
"integrity": "sha512-5t4DE5N6ScJnQiPCyBcGkvw5Ev3uKtpBKm+wuP+CPCnhphhkHzxJcksqaTWRU8Flx2Afgc8saMlnQ5WQBMc7mg==",
|
||||
"version": "0.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.7.tgz",
|
||||
"integrity": "sha512-8VlccoEYRypI07VjfR1lXnOz4wM86JZ0pG5MoK55sekaxXRNJ3Zzw5intN1VoneWVq0IKehoEiNm2GIX36dLTw==",
|
||||
"dependencies": {
|
||||
"@walletconnect/core": "2.0.0-rc.2",
|
||||
"@walletconnect/events": "1.0.0",
|
||||
@ -8972,9 +8972,9 @@
|
||||
}
|
||||
},
|
||||
"@walletconnect/auth-client": {
|
||||
"version": "0.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.6.tgz",
|
||||
"integrity": "sha512-5t4DE5N6ScJnQiPCyBcGkvw5Ev3uKtpBKm+wuP+CPCnhphhkHzxJcksqaTWRU8Flx2Afgc8saMlnQ5WQBMc7mg==",
|
||||
"version": "0.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.7.tgz",
|
||||
"integrity": "sha512-8VlccoEYRypI07VjfR1lXnOz4wM86JZ0pG5MoK55sekaxXRNJ3Zzw5intN1VoneWVq0IKehoEiNm2GIX36dLTw==",
|
||||
"requires": {
|
||||
"@walletconnect/core": "2.0.0-rc.2",
|
||||
"@walletconnect/events": "1.0.0",
|
||||
|
@ -12,7 +12,7 @@
|
||||
"@chakra-ui/react": "^2.2.6",
|
||||
"@emotion/react": "^11.10.0",
|
||||
"@emotion/styled": "^11.10.0",
|
||||
"@walletconnect/auth-client": "^0.1.6",
|
||||
"@walletconnect/auth-client": "^0.1.7",
|
||||
"better-sqlite3": "^7.6.2",
|
||||
"events": "^3.3.0",
|
||||
"framer-motion": "^7.0.0",
|
||||
|
@ -10,11 +10,14 @@ import {
|
||||
useToast,
|
||||
} from "@chakra-ui/react";
|
||||
import AuthClient from "@walletconnect/auth-client";
|
||||
import { version } from "@walletconnect/auth-client/package.json";
|
||||
import type { NextPage } from "next";
|
||||
import Link from "next/link";
|
||||
import Qrcode from "qrcode";
|
||||
import { Fragment, useCallback, useEffect, useRef, useState } from "react";
|
||||
|
||||
console.log(`AuthClient@${version}`);
|
||||
|
||||
const Home: NextPage = () => {
|
||||
const [client, setClient] = useState<AuthClient | null>();
|
||||
const [uri, setUri] = useState<string>("");
|
||||
@ -48,8 +51,8 @@ const Home: NextPage = () => {
|
||||
icons: [],
|
||||
},
|
||||
})
|
||||
.then((v) => {
|
||||
setClient(v);
|
||||
.then((authClient) => {
|
||||
setClient(authClient);
|
||||
})
|
||||
.catch(console.log);
|
||||
}, [setClient]);
|
||||
|
14
wallets/react-wallet-auth/package-lock.json
generated
14
wallets/react-wallet-auth/package-lock.json
generated
@ -13,7 +13,7 @@
|
||||
"@nextui-org/react": "1.0.8-beta.5",
|
||||
"@polkadot/keyring": "^10.1.2",
|
||||
"@solana/web3.js": "1.43.0",
|
||||
"@walletconnect/auth-client": "^0.1.6",
|
||||
"@walletconnect/auth-client": "^0.1.7",
|
||||
"@walletconnect/utils": "2.0.0-rc.2",
|
||||
"bs58": "5.0.0",
|
||||
"cosmos-wallet": "1.2.0",
|
||||
@ -3441,9 +3441,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@walletconnect/auth-client": {
|
||||
"version": "0.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.6.tgz",
|
||||
"integrity": "sha512-5t4DE5N6ScJnQiPCyBcGkvw5Ev3uKtpBKm+wuP+CPCnhphhkHzxJcksqaTWRU8Flx2Afgc8saMlnQ5WQBMc7mg==",
|
||||
"version": "0.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.7.tgz",
|
||||
"integrity": "sha512-8VlccoEYRypI07VjfR1lXnOz4wM86JZ0pG5MoK55sekaxXRNJ3Zzw5intN1VoneWVq0IKehoEiNm2GIX36dLTw==",
|
||||
"dependencies": {
|
||||
"@walletconnect/core": "2.0.0-rc.2",
|
||||
"@walletconnect/events": "1.0.0",
|
||||
@ -11682,9 +11682,9 @@
|
||||
}
|
||||
},
|
||||
"@walletconnect/auth-client": {
|
||||
"version": "0.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.6.tgz",
|
||||
"integrity": "sha512-5t4DE5N6ScJnQiPCyBcGkvw5Ev3uKtpBKm+wuP+CPCnhphhkHzxJcksqaTWRU8Flx2Afgc8saMlnQ5WQBMc7mg==",
|
||||
"version": "0.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.1.7.tgz",
|
||||
"integrity": "sha512-8VlccoEYRypI07VjfR1lXnOz4wM86JZ0pG5MoK55sekaxXRNJ3Zzw5intN1VoneWVq0IKehoEiNm2GIX36dLTw==",
|
||||
"requires": {
|
||||
"@walletconnect/core": "2.0.0-rc.2",
|
||||
"@walletconnect/events": "1.0.0",
|
||||
|
@ -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.1.6",
|
||||
"@walletconnect/auth-client": "^0.1.7",
|
||||
"@walletconnect/utils": "2.0.0-rc.2",
|
||||
"bs58": "5.0.0",
|
||||
"cosmos-wallet": "1.2.0",
|
||||
|
@ -1,4 +1,7 @@
|
||||
import AuthClient from '@walletconnect/auth-client'
|
||||
import pkg from '@walletconnect/auth-client/package.json'
|
||||
|
||||
console.log(`AuthClient@${pkg.version}`)
|
||||
|
||||
export let authClient: AuthClient
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user