From d4bea74495d1c0dbbd9bf8a5c0c300c7378bf85b Mon Sep 17 00:00:00 2001 From: uok825 Date: Sun, 19 Nov 2023 07:56:47 +0300 Subject: [PATCH] merge --- packages/nextjs/components/Navbar.tsx | 105 +--- packages/nextjs/context/Web3Modal.tsx | 27 + .../nextjs/contracts/deployedContracts.ts | 3 + packages/nextjs/next.config.js | 1 + packages/nextjs/package.json | 5 +- packages/nextjs/pages/_app.tsx | 58 +- packages/nextjs/pages/me/connect/index.tsx | 95 +-- yarn.lock | 543 +++++++++++++++--- 8 files changed, 515 insertions(+), 322 deletions(-) create mode 100644 packages/nextjs/context/Web3Modal.tsx diff --git a/packages/nextjs/components/Navbar.tsx b/packages/nextjs/components/Navbar.tsx index 43342d3..a9036cd 100644 --- a/packages/nextjs/components/Navbar.tsx +++ b/packages/nextjs/components/Navbar.tsx @@ -62,110 +62,7 @@ export default function Navbar({
- - {({ - account, - chain, - openAccountModal, - openChainModal, - openConnectModal, - authenticationStatus, - mounted, - }) => { - // Note: If your app doesn't use authentication, you - // can remove all 'authenticationStatus' checks - const ready = mounted && authenticationStatus !== "loading" - const connected = - ready && - account && - chain && - (!authenticationStatus || - authenticationStatus === "authenticated") - - return ( -
- {(() => { - if (!connected) { - return ( - - ) - } - - if (chain.unsupported) { - return ( - - ) - } - - return ( -
- - - -
- ) - })()} -
- ) - }} -
+
diff --git a/packages/nextjs/context/Web3Modal.tsx b/packages/nextjs/context/Web3Modal.tsx new file mode 100644 index 0000000..fc3564f --- /dev/null +++ b/packages/nextjs/context/Web3Modal.tsx @@ -0,0 +1,27 @@ +"use client"; + +import { createWeb3Modal, defaultWagmiConfig } from '@web3modal/wagmi/react' + +import { WagmiConfig } from 'wagmi' +import { arbitrum, mainnet, hardhat } from 'viem/chains' + +// 1. Get projectId +const projectId = '87b19285bd7e81f2a2dc76728f6eb331' + +// 2. Create wagmiConfig +const metadata = { + name: 'Web3Modal', + description: 'Web3Modal Example', + url: 'https://web3modal.com', + icons: ['https://avatars.githubusercontent.com/u/37784886'] +} + +const chains = [mainnet, arbitrum, hardhat] +const wagmiConfig = defaultWagmiConfig({ chains, projectId, metadata }) + +// 3. Create modal +createWeb3Modal({ wagmiConfig, projectId, chains }) + +export function Web3Modal({ children }) { + return {children}; +} \ No newline at end of file diff --git a/packages/nextjs/contracts/deployedContracts.ts b/packages/nextjs/contracts/deployedContracts.ts index ca7aaa0..1791550 100644 --- a/packages/nextjs/contracts/deployedContracts.ts +++ b/packages/nextjs/contracts/deployedContracts.ts @@ -1207,6 +1207,7 @@ export const deployedContracts = { }, PublicResolver: { address: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512", +<<<<<<< Updated upstream abi: [ { inputs: [ @@ -2751,6 +2752,8 @@ export const deployedContracts = { }, PublicResolver: { address: "0x747BccC32a03230b62C07A8375f418Ca2a358d21", +======= +>>>>>>> Stashed changes abi: [ { inputs: [ diff --git a/packages/nextjs/next.config.js b/packages/nextjs/next.config.js index b3c9f6e..b386fcc 100644 --- a/packages/nextjs/next.config.js +++ b/packages/nextjs/next.config.js @@ -3,6 +3,7 @@ const nextConfig = { reactStrictMode: true, webpack: config => { config.resolve.fallback = { fs: false, net: false, tls: false }; + config.externals.push('pino-pretty', 'lokijs', 'encoding') return config; }, }; diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 1f2dad1..31cb7b9 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -16,6 +16,7 @@ "@radix-ui/react-slider": "^1.1.2", "@radix-ui/react-slot": "^1.0.2", "@rainbow-me/rainbowkit": "^1.2.0", + "@web3modal/wagmi": "3.3.2", "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", "cmdk": "^0.2.0", @@ -27,8 +28,8 @@ "styled-components": "^6.1.1", "tailwind-merge": "^2.0.0", "tailwindcss-animate": "^1.0.7", - "viem": "~1.16.3", - "wagmi": "~1.4.3" + "viem": "1.13.1", + "wagmi": "1.4.2" }, "devDependencies": { "@types/node": "^18.16.12", diff --git a/packages/nextjs/pages/_app.tsx b/packages/nextjs/pages/_app.tsx index 77adc6e..c8ac3ba 100644 --- a/packages/nextjs/pages/_app.tsx +++ b/packages/nextjs/pages/_app.tsx @@ -1,62 +1,18 @@ import "../globals.css" -import "@rainbow-me/rainbowkit/styles.css" -import { getDefaultWallets, RainbowKitProvider } from "@rainbow-me/rainbowkit" import type { AppProps } from "next/app" -import { configureChains, createConfig, WagmiConfig } from "wagmi" -import { - arbitrum, - goerli, - mainnet, - optimism, - polygon, - base, - zora, - hardhat, -} from "wagmi/chains" -import { publicProvider } from "wagmi/providers/public" -import { Lexend } from "next/font/google" import Navbar from "@/components/Navbar" - +import { Lexend } from "next/font/google" const lexend = Lexend({ subsets: ["latin"] }) -const { chains, publicClient, webSocketPublicClient } = configureChains( - [ - hardhat /*localhost is not the same with hardhat */, - mainnet, - polygon, - optimism, - arbitrum, - base, - zora, - ...(process.env.NEXT_PUBLIC_ENABLE_TESTNETS === "true" ? [goerli] : []), - ], - [publicProvider()] -) - -const { connectors } = getDefaultWallets({ - appName: "RainbowKit App", - projectId: "ca4386934bfc22480a359d69740ba7df", - chains, -}) -const wagmiConfig = createConfig({ - autoConnect: true, - connectors, - publicClient, - webSocketPublicClient, -}) +import { Web3Modal } from "../context/Web3Modal"; function MyApp({ Component, pageProps }: AppProps) { return ( -
- - -
- - -
-
-
-
+ +
+ +
+
) } diff --git a/packages/nextjs/pages/me/connect/index.tsx b/packages/nextjs/pages/me/connect/index.tsx index 21504fd..f830864 100644 --- a/packages/nextjs/pages/me/connect/index.tsx +++ b/packages/nextjs/pages/me/connect/index.tsx @@ -1,4 +1,3 @@ -import { ConnectButton } from "@rainbow-me/rainbowkit"; import Image from "next/image"; import logo from "../../public/logo.png"; @@ -8,99 +7,7 @@ export default function Connect() { return <>
logo - - {({ - account, - chain, - openAccountModal, - openChainModal, - openConnectModal, - authenticationStatus, - mounted, - }) => { - // Note: If your app doesn't use authentication, you - // can remove all 'authenticationStatus' checks - const ready = mounted && authenticationStatus !== 'loading'; - const connected = - ready && - account && - chain && - (!authenticationStatus || - authenticationStatus === 'authenticated'); - - return ( -
- {(() => { - if (!connected) { - return ( - - ); - } - - if (chain.unsupported) { - return ( - - ); - } - - return ( -
- - - -
- ); - })()} -
- ); - }} -
- +
} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index a7bb798..77967ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -33,6 +33,29 @@ __metadata: languageName: node linkType: hard +"@babel/helper-string-parser@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-string-parser@npm:7.22.5" + checksum: 836851ca5ec813077bbb303acc992d75a360267aa3b5de7134d220411c852a6f17de7c0d0b8c8dcc0f567f67874c00f4528672b2a4f1bc978a3ada64c8c78467 + languageName: node + linkType: hard + +"@babel/helper-validator-identifier@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-validator-identifier@npm:7.22.20" + checksum: 136412784d9428266bcdd4d91c32bcf9ff0e8d25534a9d94b044f77fe76bc50f941a90319b05aafd1ec04f7d127cd57a179a3716009ff7f3412ef835ada95bdc + languageName: node + linkType: hard + +"@babel/parser@npm:^7.23.0": + version: 7.23.3 + resolution: "@babel/parser@npm:7.23.3" + bin: + parser: ./bin/babel-parser.js + checksum: 4aa7366e401b5467192c1dbf2bef99ac0958c45ef69ed6704abbae68f98fab6409a527b417d1528fddc49d7664450670528adc7f45abb04db5fafca7ed766d57 + languageName: node + linkType: hard + "@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.23.1, @babel/runtime@npm:^7.23.2": version: 7.23.2 resolution: "@babel/runtime@npm:7.23.2" @@ -42,6 +65,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.8.3": + version: 7.23.3 + resolution: "@babel/types@npm:7.23.3" + dependencies: + "@babel/helper-string-parser": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.20 + to-fast-properties: ^2.0.0 + checksum: b96f1ec495351aeb2a5f98dd494aafa17df02a351548ae96999460f35c933261c839002a34c1e83552ff0d9f5e94d0b5b8e105d38131c7c9b0f5a6588676f35d + languageName: node + linkType: hard + "@balena/dockerignore@npm:^1.0.2": version: 1.0.2 resolution: "@balena/dockerignore@npm:1.0.2" @@ -1409,7 +1443,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14": +"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.15": version: 1.4.15 resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" checksum: b881c7e503db3fc7f3c1f35a1dd2655a188cc51a3612d76efc8a6eb74728bef5606e6758ee77423e564092b4a518aba569bbb21c9bac5ab7a35b0c6ae7e344c8 @@ -1443,7 +1477,7 @@ __metadata: languageName: node linkType: hard -"@lit-labs/ssr-dom-shim@npm:^1.0.0, @lit-labs/ssr-dom-shim@npm:^1.1.0": +"@lit-labs/ssr-dom-shim@npm:^1.0.0, @lit-labs/ssr-dom-shim@npm:^1.1.0, @lit-labs/ssr-dom-shim@npm:^1.1.2": version: 1.1.2 resolution: "@lit-labs/ssr-dom-shim@npm:1.1.2" checksum: 73fd787893851d4ec4aaa5c775405ed2aae4ca0891b2dd3c973b32c2f4bf70ada5481dd0224e52b786d037aa8a00052186ad1623c44551affd66f6409cca8da6 @@ -1459,6 +1493,15 @@ __metadata: languageName: node linkType: hard +"@lit/reactive-element@npm:^2.0.0": + version: 2.0.2 + resolution: "@lit/reactive-element@npm:2.0.2" + dependencies: + "@lit-labs/ssr-dom-shim": ^1.1.2 + checksum: 0e0fbc8e92630d49707f9d08cf8962e84860f297b5d781c0894f47421189a30da56860081531859223f5394f36c5d5e95c00703d0f3d303e6c733e3a177c8655 + languageName: node + linkType: hard + "@livekit/components-core@npm:0.8.0": version: 0.8.0 resolution: "@livekit/components-core@npm:0.8.0" @@ -4345,6 +4388,15 @@ __metadata: languageName: node linkType: hard +"@types/ws@npm:^8.5.5": + version: 8.5.9 + resolution: "@types/ws@npm:8.5.9" + dependencies: + "@types/node": "*" + checksum: 83f436b731d2cdc49a45ced31a0a65cdd2e39c24d7b882776c26efa190dad6553e266d624c7a7089f36ad3ed471e02e729f3219282c80689b435f665df4a2b0b + languageName: node + linkType: hard + "@typescript-eslint/eslint-plugin@npm:latest": version: 6.11.0 resolution: "@typescript-eslint/eslint-plugin@npm:6.11.0" @@ -4531,18 +4583,130 @@ __metadata: languageName: node linkType: hard -"@wagmi/connectors@npm:3.1.5": - version: 3.1.5 - resolution: "@wagmi/connectors@npm:3.1.5" +"@vue/compiler-core@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/compiler-core@npm:3.3.8" + dependencies: + "@babel/parser": ^7.23.0 + "@vue/shared": 3.3.8 + estree-walker: ^2.0.2 + source-map-js: ^1.0.2 + checksum: 772e9ec2049b53f3ee69f657f93e6b7a14a24aa51d2baecaa311805c6a328b944358143bf01ca58f189ad3e5239e2b057e1877e98c42939a8dd7b281741ec71c + languageName: node + linkType: hard + +"@vue/compiler-dom@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/compiler-dom@npm:3.3.8" + dependencies: + "@vue/compiler-core": 3.3.8 + "@vue/shared": 3.3.8 + checksum: f897be7f08217e98d9b6cdf2f4663453f44cbddc4b84b74b3f979d78fc4b71021f4acfb1a5051b6af05378349ff423a37471ba595bde9c2441e610ba0b4f36d4 + languageName: node + linkType: hard + +"@vue/compiler-sfc@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/compiler-sfc@npm:3.3.8" + dependencies: + "@babel/parser": ^7.23.0 + "@vue/compiler-core": 3.3.8 + "@vue/compiler-dom": 3.3.8 + "@vue/compiler-ssr": 3.3.8 + "@vue/reactivity-transform": 3.3.8 + "@vue/shared": 3.3.8 + estree-walker: ^2.0.2 + magic-string: ^0.30.5 + postcss: ^8.4.31 + source-map-js: ^1.0.2 + checksum: 7f931f3fe3fd117974b20f497267e9c29fea83d5703fe65aad5f0ea63c9563581b186acf02cdd1d85526395f0067dde9d05c5e522d9cffba2168b16c4a9414d9 + languageName: node + linkType: hard + +"@vue/compiler-ssr@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/compiler-ssr@npm:3.3.8" + dependencies: + "@vue/compiler-dom": 3.3.8 + "@vue/shared": 3.3.8 + checksum: eddfbc884c0340ce0acccca503a10c04dc0bf8b612fb4220f7e6d41f9efe1c44fed37615ea5fc62d73e62c4900f55c44175f5d0a17d25b607367cbb127e61b67 + languageName: node + linkType: hard + +"@vue/reactivity-transform@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/reactivity-transform@npm:3.3.8" + dependencies: + "@babel/parser": ^7.23.0 + "@vue/compiler-core": 3.3.8 + "@vue/shared": 3.3.8 + estree-walker: ^2.0.2 + magic-string: ^0.30.5 + checksum: cc846146fe88aad18c9b7a5597862bee6763ad8c5afb9985a407c25430e9b512c450cf67972f944ab41f9cf3fd5237fd741c31a85a6c0961c49774cedbd0f2ff + languageName: node + linkType: hard + +"@vue/reactivity@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/reactivity@npm:3.3.8" + dependencies: + "@vue/shared": 3.3.8 + checksum: 6c6e83c2c9cd29e230d7d45f8c60f9f344129a8904127c0e403f29c1727fb67ed903379c56f9e9fc4166f5e1ba29202604ac77f011d5e3fe7c8f32d6efe7f12a + languageName: node + linkType: hard + +"@vue/runtime-core@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/runtime-core@npm:3.3.8" + dependencies: + "@vue/reactivity": 3.3.8 + "@vue/shared": 3.3.8 + checksum: 14b6a5293a25d80c681829b512be5b749fd66e9de4a5de65c9f7d6c82283d4ecb408e84bc485e214627cdb80d40ac8e9970a885592cec2d50acea29ec2ac6f18 + languageName: node + linkType: hard + +"@vue/runtime-dom@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/runtime-dom@npm:3.3.8" + dependencies: + "@vue/runtime-core": 3.3.8 + "@vue/shared": 3.3.8 + csstype: ^3.1.2 + checksum: fec87df42b536e52da4ff44a0fc715314db0729d22893ba0d5420368dd0b2b8e4f32b51c2dcf0f1420c4b620a235e86a4b7c70d6a4d68ba28839f91bd18047e7 + languageName: node + linkType: hard + +"@vue/server-renderer@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/server-renderer@npm:3.3.8" + dependencies: + "@vue/compiler-ssr": 3.3.8 + "@vue/shared": 3.3.8 + peerDependencies: + vue: 3.3.8 + checksum: b0577acc10e3b108b4f631af6b9d349747ac49bcce2e3bac7b237bdeaa295effe8e8ac3547fa5d0dc51e8d419d7553a3cb50c07b21ea9df8c422ee0acd9fbcf9 + languageName: node + linkType: hard + +"@vue/shared@npm:3.3.8": + version: 3.3.8 + resolution: "@vue/shared@npm:3.3.8" + checksum: d5bd795977c885017498e839f5462bc2b046fb4a4c4bf925b82ac0eaf883c1cf9203d69f17160f7be7b3c1d9acb5513d57010b401407b63f3c36c7af87778fae + languageName: node + linkType: hard + +"@wagmi/connectors@npm:3.1.2": + version: 3.1.2 + resolution: "@wagmi/connectors@npm:3.1.2" dependencies: "@coinbase/wallet-sdk": ^3.6.6 "@ledgerhq/connect-kit-loader": ^1.1.0 "@safe-global/safe-apps-provider": ^0.17.1 "@safe-global/safe-apps-sdk": ^8.0.0 - "@walletconnect/ethereum-provider": 2.10.2 + "@walletconnect/ethereum-provider": 2.10.1 "@walletconnect/legacy-provider": ^2.0.0 "@walletconnect/modal": 2.6.2 - "@walletconnect/utils": 2.10.2 + "@walletconnect/utils": 2.10.1 abitype: 0.8.7 eventemitter3: ^4.0.7 peerDependencies: @@ -4551,15 +4715,15 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 459370925b7dc278493b974579a29c0fe836130940c9c9294acda3ed0ad1b28d0382fa0d2e9898114073bf572c9af3fa0b9cf1e1fcc3d37620e142cd5cf41fe0 + checksum: 9e00708bafbd2735dafcadb40360fbbf8a90850f19d79172e7549bb4f9655dcdea20159638e1f0ed20c92beb6beb4fd0168cd946ef1c3fa271a1ed92f4265d5c languageName: node linkType: hard -"@wagmi/core@npm:1.4.7": - version: 1.4.7 - resolution: "@wagmi/core@npm:1.4.7" +"@wagmi/core@npm:1.4.2": + version: 1.4.2 + resolution: "@wagmi/core@npm:1.4.2" dependencies: - "@wagmi/connectors": 3.1.5 + "@wagmi/connectors": 3.1.2 abitype: 0.8.7 eventemitter3: ^4.0.7 zustand: ^4.3.1 @@ -4569,13 +4733,13 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 4ca79fc4cdf3d091fbef8b8a408cabfef676b8842aa1b277ab97cd68aaa47ab57a66b7a38162bd183560a023363724a30671aa543e59101b22e926f08f4a5fee + checksum: 0a349d643153a1b966bf0a4198c1b5a06defdfff9b0686c3ffcd3e514f0301b03a58ee9de09e8e7323a70c5550691170bc296a3023046f8caeaacd2213c9ffe8 languageName: node linkType: hard -"@walletconnect/core@npm:2.10.2": - version: 2.10.2 - resolution: "@walletconnect/core@npm:2.10.2" +"@walletconnect/core@npm:2.10.1": + version: 2.10.1 + resolution: "@walletconnect/core@npm:2.10.1" dependencies: "@walletconnect/heartbeat": 1.2.1 "@walletconnect/jsonrpc-provider": 1.0.13 @@ -4588,12 +4752,12 @@ __metadata: "@walletconnect/relay-auth": ^1.0.4 "@walletconnect/safe-json": ^1.0.2 "@walletconnect/time": ^1.0.2 - "@walletconnect/types": 2.10.2 - "@walletconnect/utils": 2.10.2 + "@walletconnect/types": 2.10.1 + "@walletconnect/utils": 2.10.1 events: ^3.3.0 lodash.isequal: 4.5.0 uint8arrays: ^3.1.0 - checksum: 78b6e56bdd44ee0d27157eacbc916d053d75013b1f9e00869efc63141c1d0b33a771eaf8ab6f2fcb1bef3c0f87173f31067674567962a6dd9d45a4376a306c91 + checksum: d58ae15c53efe1792da8c7aa1b7ba47efb49807cfe0c73f225d59c5cd847a0e50979ce6965b94915812412deba3e5aa2dca13a02bd41c087e85575e99afad223 languageName: node linkType: hard @@ -4655,25 +4819,25 @@ __metadata: languageName: node linkType: hard -"@walletconnect/ethereum-provider@npm:2.10.2": - version: 2.10.2 - resolution: "@walletconnect/ethereum-provider@npm:2.10.2" +"@walletconnect/ethereum-provider@npm:2.10.1": + version: 2.10.1 + resolution: "@walletconnect/ethereum-provider@npm:2.10.1" dependencies: "@walletconnect/jsonrpc-http-connection": ^1.0.7 "@walletconnect/jsonrpc-provider": ^1.0.13 "@walletconnect/jsonrpc-types": ^1.0.3 "@walletconnect/jsonrpc-utils": ^1.0.8 - "@walletconnect/sign-client": 2.10.2 - "@walletconnect/types": 2.10.2 - "@walletconnect/universal-provider": 2.10.2 - "@walletconnect/utils": 2.10.2 + "@walletconnect/sign-client": 2.10.1 + "@walletconnect/types": 2.10.1 + "@walletconnect/universal-provider": 2.10.1 + "@walletconnect/utils": 2.10.1 events: ^3.3.0 peerDependencies: "@walletconnect/modal": ">=2" peerDependenciesMeta: "@walletconnect/modal": optional: true - checksum: 86aecdb2c6eaf5d5cccd6d577ae815ae0d5f743703562db8eebcc573485eaca7a85ae08a30a7bac1f17b35d5de8d1df6a2c8ccac6ca4c63ef7ef6e97f74ea064 + checksum: ec3d88ba101a5d8f193262b5b1e770cccad6457ec56fa1f3d17fa531de4e07e8cf03a1341669122c61956f0d5c3a6eca57d3f12f524e046acddb401cdb76fe7c languageName: node linkType: hard @@ -4957,20 +5121,20 @@ __metadata: languageName: node linkType: hard -"@walletconnect/sign-client@npm:2.10.2": - version: 2.10.2 - resolution: "@walletconnect/sign-client@npm:2.10.2" +"@walletconnect/sign-client@npm:2.10.1": + version: 2.10.1 + resolution: "@walletconnect/sign-client@npm:2.10.1" dependencies: - "@walletconnect/core": 2.10.2 + "@walletconnect/core": 2.10.1 "@walletconnect/events": ^1.0.1 "@walletconnect/heartbeat": 1.2.1 "@walletconnect/jsonrpc-utils": 1.0.8 "@walletconnect/logger": ^2.0.1 "@walletconnect/time": ^1.0.2 - "@walletconnect/types": 2.10.2 - "@walletconnect/utils": 2.10.2 + "@walletconnect/types": 2.10.1 + "@walletconnect/utils": 2.10.1 events: ^3.3.0 - checksum: d74556906d46dd6c161548d26068ceb256a18e1d5dcb4967072d6dad891fa443a0f2aa92108b45301a71066246ad2de8dba1b32e40857a93c6f072b18cbb5cb2 + checksum: dbdced8dece73b20ae73df9c0cf0d9e3eee753f6c81e264c87583ca60d1d13d4f7d61944e4b22d1f70c5f32424fd842a7de778838aa7d0ae27195976a86e102f languageName: node linkType: hard @@ -5000,9 +5164,9 @@ __metadata: languageName: node linkType: hard -"@walletconnect/types@npm:2.10.2": - version: 2.10.2 - resolution: "@walletconnect/types@npm:2.10.2" +"@walletconnect/types@npm:2.10.1": + version: 2.10.1 + resolution: "@walletconnect/types@npm:2.10.1" dependencies: "@walletconnect/events": ^1.0.1 "@walletconnect/heartbeat": 1.2.1 @@ -5010,7 +5174,7 @@ __metadata: "@walletconnect/keyvaluestorage": ^1.0.2 "@walletconnect/logger": ^2.0.1 events: ^3.3.0 - checksum: dafcb840b2b93343db56ca6684edfe8a20d9b2f703f81b2d1fdbea558fe41de9fbddec12c24e9d51a50c75ee6298a1cfd347d7fa0202146033788670371cfd6a + checksum: b663a236404bb423d3cc5cde656794ce42132f09193da5a51dac815d844f78eebb29c7275ebe10f6134492db21386ffd81b66ce42992332847b72c9128f74990 languageName: node linkType: hard @@ -5028,20 +5192,20 @@ __metadata: languageName: node linkType: hard -"@walletconnect/universal-provider@npm:2.10.2": - version: 2.10.2 - resolution: "@walletconnect/universal-provider@npm:2.10.2" +"@walletconnect/universal-provider@npm:2.10.1": + version: 2.10.1 + resolution: "@walletconnect/universal-provider@npm:2.10.1" dependencies: "@walletconnect/jsonrpc-http-connection": ^1.0.7 "@walletconnect/jsonrpc-provider": 1.0.13 "@walletconnect/jsonrpc-types": ^1.0.2 "@walletconnect/jsonrpc-utils": ^1.0.7 "@walletconnect/logger": ^2.0.1 - "@walletconnect/sign-client": 2.10.2 - "@walletconnect/types": 2.10.2 - "@walletconnect/utils": 2.10.2 + "@walletconnect/sign-client": 2.10.1 + "@walletconnect/types": 2.10.1 + "@walletconnect/utils": 2.10.1 events: ^3.3.0 - checksum: 4629c8031f8edbc1ecdd2f816a94963fd67ea4c8ba966fe12764585614d809fa5994b11d7ab30e7d8d2b51b8dac3a377c7433cb2cfca32070d4884d11d8dbbc7 + checksum: a33ad597a7601157cd96bceb7637c3463a5df981e5548c5343ab84f92c542bd7cae577fb2884d549164c9ad8262b097dc5fc0bc7fd9a515ee7c3f30b271cb034 languageName: node linkType: hard @@ -5062,9 +5226,9 @@ __metadata: languageName: node linkType: hard -"@walletconnect/utils@npm:2.10.2": - version: 2.10.2 - resolution: "@walletconnect/utils@npm:2.10.2" +"@walletconnect/utils@npm:2.10.1": + version: 2.10.1 + resolution: "@walletconnect/utils@npm:2.10.1" dependencies: "@stablelib/chacha20poly1305": 1.0.1 "@stablelib/hkdf": 1.0.1 @@ -5074,13 +5238,13 @@ __metadata: "@walletconnect/relay-api": ^1.0.9 "@walletconnect/safe-json": ^1.0.2 "@walletconnect/time": ^1.0.2 - "@walletconnect/types": 2.10.2 + "@walletconnect/types": 2.10.1 "@walletconnect/window-getters": ^1.0.1 "@walletconnect/window-metadata": ^1.0.1 detect-browser: 5.3.0 query-string: 7.1.3 uint8arrays: ^3.1.0 - checksum: 168e65d48ce6121f04f040662668fce63c8e42050c7c7d1da2948cf2e486657f8bf972f3386dc84251fcabf3626a26bb696e3363d55bc92826ec1602d7b493c7 + checksum: 150d1a3c75ce0736ffc8ed8a844e3dc63476e556f7f308154ee6bc9d99e08907bc11a504b7ce3889951293b48d9eef4e32b84de1c7f27b7a84e6731a7bb65189 languageName: node linkType: hard @@ -5231,6 +5395,160 @@ __metadata: languageName: node linkType: hard +"@web3modal/common@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/common@npm:3.3.2" + dependencies: + dayjs: 1.11.10 + checksum: b3b3a9d223afd8674de823df6de6a57eee1b131c2c9be0682fddc408103de63bccd90fe8243fa0ffce7cc281dfe96534b6a9b3cde3c19f031522a138700270a6 + languageName: node + linkType: hard + +"@web3modal/core@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/core@npm:3.3.2" + dependencies: + "@web3modal/common": 3.3.2 + valtio: 1.11.2 + checksum: 419e12bbd944a4e29cd1c1fcb9f51cab97333d1cc5812127d28385b614960cac6d1880b810fce187fbe4f293722e6e38da847b86f6148d1f9398b9e2eccf7104 + languageName: node + linkType: hard + +"@web3modal/polyfills@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/polyfills@npm:3.3.2" + dependencies: + buffer: 6.0.3 + checksum: b09f47ee0e5f3de776e35c4864605dc45c4d6d0e8c8e47d7e699df67f134155aaa0a060eff58eef8cc1f9527fa5c59988ac03ea9d8013b108dab334e0f02f7e1 + languageName: node + linkType: hard + +"@web3modal/scaffold-react@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/scaffold-react@npm:3.3.2" + dependencies: + "@web3modal/scaffold": 3.3.2 + peerDependencies: + react: ">=17" + react-dom: ">=17" + checksum: a07c508a4fa6b540b32e82921e3703ac0c76edc4791b5de2a2393faf438fd88994b6b9c7e710213a6b325441e719ddeba50e56cfc44791b43c5ffd1127623b8e + languageName: node + linkType: hard + +"@web3modal/scaffold-vue@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/scaffold-vue@npm:3.3.2" + dependencies: + "@web3modal/scaffold": 3.3.2 + peerDependencies: + vue: ">=3" + checksum: 7dac98b80d7a869a703f5ebaa484c322903f2a693bd508e83902a0b5c39ca17867788e2e7680b86f2f5eb9f093d9be6d0825a722859c8233b6adb4c5a16e3fb2 + languageName: node + linkType: hard + +"@web3modal/scaffold@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/scaffold@npm:3.3.2" + dependencies: + "@web3modal/core": 3.3.2 + "@web3modal/ui": 3.3.2 + lit: 3.0.0 + checksum: bea84b50708a37f82444eea4dae57893a802613857fe356196118e6c5ebab2def4498959aeceb031f7146d6a3c7e73ec9b18f52a4912ddf95cc09ee38495831b + languageName: node + linkType: hard + +"@web3modal/siwe@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/siwe@npm:3.3.2" + dependencies: + "@web3modal/core": 3.3.2 + react: ">=17" + react-dom: ">=17" + vue: ">=3" + peerDependencies: + react: ">=17" + react-dom: ">=17" + vue: ">=3" + dependenciesMeta: + react: + optional: true + react-dom: + optional: true + vue: + optional: true + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + vue: + optional: true + checksum: fb91d2b160f890eda8a5865c3a455637898ee51787534420c9984e42182b691ef9be6b8d8198f45dedd7e9129be59d3a08e8c168c1fafc3ccf62a115e329bc48 + languageName: node + linkType: hard + +"@web3modal/ui@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/ui@npm:3.3.2" + dependencies: + lit: 3.0.0 + qrcode: 1.5.3 + checksum: 928f4ceaa4f4fd1d58fa1d2871e11e9e480290837cc1364631b571c310a691bf61b7a29c94e61302ac84cfd3599b4996a8ea9055e3412f005f13ef8dca871c8c + languageName: node + linkType: hard + +"@web3modal/utils@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/utils@npm:3.3.2" + dependencies: + "@web3modal/polyfills": 3.3.2 + "@web3modal/scaffold": 3.3.2 + checksum: 04c72615c2e6dbbea95c05036b043f60bb3ddb3c5340807114c86710d1aecfebd7f5bf8d46b0c4c93cf290d66f5bb7df66ca63dd24c579758233fed2a1138065 + languageName: node + linkType: hard + +"@web3modal/wagmi@npm:3.3.2": + version: 3.3.2 + resolution: "@web3modal/wagmi@npm:3.3.2" + dependencies: + "@web3modal/polyfills": 3.3.2 + "@web3modal/scaffold": 3.3.2 + "@web3modal/scaffold-react": 3.3.2 + "@web3modal/scaffold-vue": 3.3.2 + "@web3modal/siwe": 3.3.2 + "@web3modal/utils": 3.3.2 + react: ">=17" + react-dom: ">=17" + vue: ">=3" + peerDependencies: + "@wagmi/core": ">=1" + "@web3modal/siwe": "*" + react: ">=17" + react-dom: ">=17" + viem: ">=1" + vue: ">=3" + dependenciesMeta: + "@web3modal/siwe": + optional: true + react: + optional: true + react-dom: + optional: true + vue: + optional: true + peerDependenciesMeta: + "@web3modal/siwe": + optional: true + react: + optional: true + react-dom: + optional: true + vue: + optional: true + checksum: 046999a2a29d32efa800a804c7d82d356cefbbba124c4617df92a0559e6887f0bfed5c94cf246cc9c87a2b6ca09f1f3eec966f52f44993ff3d7d3a72dc74289e + languageName: node + linkType: hard + "JSONStream@npm:1.3.2": version: 1.3.2 resolution: "JSONStream@npm:1.3.2" @@ -6986,6 +7304,13 @@ __metadata: languageName: node linkType: hard +"dayjs@npm:1.11.10": + version: 1.11.10 + resolution: "dayjs@npm:1.11.10" + checksum: a6b5a3813b8884f5cd557e2e6b7fa569f4c5d0c97aca9558e38534af4f2d60daafd3ff8c2000fed3435cfcec9e805bcebd99f90130c6d1c5ef524084ced588c4 + languageName: node + linkType: hard + "death@npm:^1.1.0": version: 1.1.0 resolution: "death@npm:1.1.0" @@ -8171,7 +8496,7 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^2": +"estree-walker@npm:^2, estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc @@ -10288,6 +10613,15 @@ __metadata: languageName: node linkType: hard +"isomorphic-ws@npm:5.0.0": + version: 5.0.0 + resolution: "isomorphic-ws@npm:5.0.0" + peerDependencies: + ws: "*" + checksum: e20eb2aee09ba96247465fda40c6d22c1153394c0144fa34fe6609f341af4c8c564f60ea3ba762335a7a9c306809349f9b863c8beedf2beea09b299834ad5398 + languageName: node + linkType: hard + "isomorphic-ws@npm:^4.0.1": version: 4.0.1 resolution: "isomorphic-ws@npm:4.0.1" @@ -10767,6 +11101,17 @@ __metadata: languageName: node linkType: hard +"lit-element@npm:^4.0.0": + version: 4.0.2 + resolution: "lit-element@npm:4.0.2" + dependencies: + "@lit-labs/ssr-dom-shim": ^1.1.2 + "@lit/reactive-element": ^2.0.0 + lit-html: ^3.1.0 + checksum: 4b0d5b80a02df357c622c2396d5d7d44f93e351c67ce69f59ffd5960a0f223a0fe31aabafaf3859b6196f9e1c305923909b63671ed3d6c512086b34bc67fde79 + languageName: node + linkType: hard + "lit-html@npm:^2.8.0": version: 2.8.0 resolution: "lit-html@npm:2.8.0" @@ -10776,6 +11121,15 @@ __metadata: languageName: node linkType: hard +"lit-html@npm:^3.0.0, lit-html@npm:^3.1.0": + version: 3.1.0 + resolution: "lit-html@npm:3.1.0" + dependencies: + "@types/trusted-types": ^2.0.2 + checksum: db6c860bd3f66eb0b3d189b56f0c9bb583da76c2fbd16e4cdc15f5f05fdabe4b9ab2f3d1e90e9a20ce0d18698a6cc35a830ab78dd11b57e00e4c4f16a5ee469c + languageName: node + linkType: hard + "lit@npm:2.8.0": version: 2.8.0 resolution: "lit@npm:2.8.0" @@ -10787,6 +11141,17 @@ __metadata: languageName: node linkType: hard +"lit@npm:3.0.0": + version: 3.0.0 + resolution: "lit@npm:3.0.0" + dependencies: + "@lit/reactive-element": ^2.0.0 + lit-element: ^4.0.0 + lit-html: ^3.0.0 + checksum: 562e53d2902112f55949ff92244ab7a198abdd35455657e364f866954958b22f536f79c02f11a12f00f5b69799e28d4e27917fb120d7216491cb2a526b5ee718 + languageName: node + linkType: hard + "livekit-client@npm:^1.13.3": version: 1.15.0 resolution: "livekit-client@npm:1.15.0" @@ -11073,6 +11438,15 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.30.5": + version: 0.30.5 + resolution: "magic-string@npm:0.30.5" + dependencies: + "@jridgewell/sourcemap-codec": ^1.4.15 + checksum: da10fecff0c0a7d3faf756913ce62bd6d5e7b0402be48c3b27bfd651b90e29677e279069a63b764bcdc1b8ecdcdb898f29a5c5ec510f2323e8d62ee057a6eb18 + languageName: node + linkType: hard + "make-error@npm:^1.1.1": version: 1.3.6 resolution: "make-error@npm:1.3.6" @@ -11694,6 +12068,7 @@ __metadata: "@rainbow-me/rainbowkit": ^1.2.0 "@types/node": ^18.16.12 "@types/react": ^18.2.21 + "@web3modal/wagmi": 3.3.2 autoprefixer: ^10.4.16 class-variance-authority: ^0.7.0 clsx: ^2.0.0 @@ -11711,8 +12086,8 @@ __metadata: tailwindcss: ^3.3.5 tailwindcss-animate: ^1.0.7 typescript: ^5.0.4 - viem: ~1.16.3 - wagmi: ~1.4.3 + viem: 1.13.1 + wagmi: 1.4.2 languageName: unknown linkType: soft @@ -12709,7 +13084,7 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:^18.2.0": +"react-dom@npm:>=17, react-dom@npm:^18.2.0": version: 18.2.0 resolution: "react-dom@npm:18.2.0" dependencies: @@ -12859,7 +13234,7 @@ __metadata: languageName: node linkType: hard -"react@npm:^18.2.0": +"react@npm:>=17, react@npm:^18.2.0": version: 18.2.0 resolution: "react@npm:18.2.0" dependencies: @@ -14546,6 +14921,13 @@ __metadata: languageName: node linkType: hard +"to-fast-properties@npm:^2.0.0": + version: 2.0.0 + resolution: "to-fast-properties@npm:2.0.0" + checksum: be2de62fe58ead94e3e592680052683b1ec986c72d589e7b21e5697f8744cdbf48c266fa72f6c15932894c10187b5f54573a3bcf7da0bfd964d5caf23d436168 + languageName: node + linkType: hard + "to-regex-range@npm:^5.0.1": version: 5.0.1 resolution: "to-regex-range@npm:5.0.1" @@ -15315,32 +15697,33 @@ __metadata: languageName: node linkType: hard -"viem@npm:^1.0.0": - version: 1.19.3 - resolution: "viem@npm:1.19.3" +"viem@npm:1.13.1": + version: 1.13.1 + resolution: "viem@npm:1.13.1" dependencies: - "@adraffy/ens-normalize": 1.10.0 + "@adraffy/ens-normalize": 1.9.4 "@noble/curves": 1.2.0 "@noble/hashes": 1.3.2 "@scure/bip32": 1.3.2 "@scure/bip39": 1.2.1 + "@types/ws": ^8.5.5 abitype: 0.9.8 - isows: 1.0.3 + isomorphic-ws: 5.0.0 ws: 8.13.0 peerDependencies: typescript: ">=5.0.4" peerDependenciesMeta: typescript: optional: true - checksum: 571faa09b296ae11323b6a141c87ae94876def6c7be53dd0976c3708b78c030803260b86609b286268b2c4758f929e5308bf4a58e8a60cf1162cb1d5039f18c1 + checksum: 7e3633217f5541cf0cc5037239473c0d80ba1b54c16399fe58063f272c3d859b5e4a0d4e87f8ee6a42fd3b52a2fe0c321313d0d041a7617f860d15cb89643bd2 languageName: node linkType: hard -"viem@npm:~1.16.3": - version: 1.16.6 - resolution: "viem@npm:1.16.6" +"viem@npm:^1.0.0": + version: 1.19.3 + resolution: "viem@npm:1.19.3" dependencies: - "@adraffy/ens-normalize": 1.9.4 + "@adraffy/ens-normalize": 1.10.0 "@noble/curves": 1.2.0 "@noble/hashes": 1.3.2 "@scure/bip32": 1.3.2 @@ -15353,18 +15736,36 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 2f116cad184cfc7a9584073451549edfb23c3847b1784f092b80a279b848fe011a054bc4141c923b5bcce1d8493db98284db65416ce72e8ba522225d02786a9a + checksum: 571faa09b296ae11323b6a141c87ae94876def6c7be53dd0976c3708b78c030803260b86609b286268b2c4758f929e5308bf4a58e8a60cf1162cb1d5039f18c1 languageName: node linkType: hard -"wagmi@npm:~1.4.3": - version: 1.4.7 - resolution: "wagmi@npm:1.4.7" +"vue@npm:>=3": + version: 3.3.8 + resolution: "vue@npm:3.3.8" + dependencies: + "@vue/compiler-dom": 3.3.8 + "@vue/compiler-sfc": 3.3.8 + "@vue/runtime-dom": 3.3.8 + "@vue/server-renderer": 3.3.8 + "@vue/shared": 3.3.8 + peerDependencies: + typescript: "*" + peerDependenciesMeta: + typescript: + optional: true + checksum: 560c18aa37f3f2351de8245f7844611409e7b7cbaabaae0993bdacd6090bb5ca81d89366e324babfdc7063f2312de5b62b56fe8b4dadc586baef8e0968eb6e14 + languageName: node + linkType: hard + +"wagmi@npm:1.4.2": + version: 1.4.2 + resolution: "wagmi@npm:1.4.2" dependencies: "@tanstack/query-sync-storage-persister": ^4.27.1 "@tanstack/react-query": ^4.28.0 "@tanstack/react-query-persist-client": ^4.28.0 - "@wagmi/core": 1.4.7 + "@wagmi/core": 1.4.2 abitype: 0.8.7 use-sync-external-store: ^1.2.0 peerDependencies: @@ -15374,7 +15775,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: b3223fc46e5aef3935626236bea34678905a0aadb6632a07cd53d7d06851c2eef5d28c3fed7d23fbee19e6bd5c403a236c03e5059767e2fa444119a595503562 + checksum: c663eb342d2dac5117bdac0cd7c9d93cb4f95254997348ac17cfc39424faffb71a8dfeae8900e1e9ab1a0b7b4c843d85288f9b2c0880131bb5d7e52d78de635d languageName: node linkType: hard