chore(deps): update auth-client to 0.1.7
This commit is contained in:
Generated
+7
-7
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user