diff --git a/.vscode/settings.json b/.vscode/settings.json index 1ce73cd..255c123 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "cSpell.words": [ "Fastify", + "Siwe", "viem" ] } \ No newline at end of file diff --git a/backend/package.json b/backend/package.json index 00ab2c7..7ec5c88 100644 --- a/backend/package.json +++ b/backend/package.json @@ -29,6 +29,7 @@ "fastify": "^4.26.1", "fastify-plugin": "^4.5.1", "fastify-sse-v2": "^4.0.0", + "ftp-srv": "^4.6.3", "js-big-decimal": "^2.0.7", "jsonwebtoken": "^9.0.2", "loginWithCrypto": "workspace:*", diff --git a/backend/src/index.ts b/backend/src/index.ts index 3344e59..0cde006 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -1,3 +1,4 @@ import { startupFastifyServer } from "./fastify.js"; import "./di.js"; + startupFastifyServer(); diff --git a/backend/src/services/file/service.ts b/backend/src/services/file/service.ts index 429b32e..3c8cfe0 100644 --- a/backend/src/services/file/service.ts +++ b/backend/src/services/file/service.ts @@ -45,7 +45,7 @@ export const fileService = ( //this is task executor abstraction so it should handle it for me const results = await worker.context ?.beginBatch() - .uploadFile(`${DIR_NAME}${fileName}`, `/golem/workdir/${fileName}`) + .uploadFile(`ftp://127.0.0.1/${fileName}`, `/golem/workdir/${fileName}`) .run(`/golem/scripts/clamscan-json.sh /golem/workdir/${fileName}`) .run("ls /golem/output/") .run(`cat /golem/output/temp/metadata.json`) diff --git a/backend/src/services/user/service.ts b/backend/src/services/user/service.ts index ac1b9e8..5b7b649 100644 --- a/backend/src/services/user/service.ts +++ b/backend/src/services/user/service.ts @@ -4,7 +4,7 @@ import { v4 as uuidv4 } from "uuid"; import mongoose from "mongoose"; import { container } from "../../di.js"; const randomNonce = () => { - return Math.floor(Math.random() * 10000000); + return Math.floor(Math.random() * 10000000000); }; export const userService: IUserService = { diff --git a/frontend/index.html b/frontend/index.html index 9f5c84a..246ff77 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -13,9 +13,12 @@ +
+ + \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json index 57d1540..8b55916 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,11 +10,13 @@ "preview": "vite preview" }, "dependencies": { + "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@heroicons/react": "^2.1.3", "@tanstack/react-query": "^5.25.0", "@types/ramda": "^0.29.11", "@uidotdev/usehooks": "^2.4.1", - "@web3modal/wagmi": "4.0.13", + "@web3modal/siwe": "^4.1.11", + "@web3modal/wagmi": "^4.1.11", "axios": "^1.6.7", "dayjs": "^1.11.10", "framer-motion": "^11.0.23", @@ -24,6 +26,7 @@ "react": "^18.2.0", "react-daisyui": "^5.0.0", "react-dom": "^18.2.0", + "siwe": "^2.3.2", "swr": "^2.2.5", "ts-pattern": "^5.1.1", "usehooks-ts": "^3.1.0", diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 96e46b3..fe950e1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -8,6 +8,7 @@ import { UserProvider } from "components/providers/userProvider"; import { FileUploaderProvider } from "components/providers/fileUploader"; import { formatEther } from "viem"; +console.log("DUPA"); function App() { return ( //@ts-ignore diff --git a/frontend/src/components/providers/blockchainProvider.tsx b/frontend/src/components/providers/blockchainProvider.tsx index 84ce2fa..bca8e41 100644 --- a/frontend/src/components/providers/blockchainProvider.tsx +++ b/frontend/src/components/providers/blockchainProvider.tsx @@ -1,5 +1,7 @@ import { createWeb3Modal } from "@web3modal/wagmi/react"; import { defaultWagmiConfig } from "@web3modal/wagmi/react/config"; +import { createSIWEConfig } from "@web3modal/siwe"; +import { SiweMessage } from "siwe"; import { WagmiProvider } from "wagmi"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; @@ -7,6 +9,9 @@ import { PropsWithChildren } from "react"; import { config } from "config"; const queryClient = new QueryClient(); +function sleep(ms: number) { + return new Promise((resolve) => setTimeout(resolve, ms)); +} const metadata = { name: "Web3Modal", description: "Web3Modal Example", @@ -20,9 +25,66 @@ const wagmiConfig = defaultWagmiConfig({ metadata, }); +function createMessage({ nonce, address, chainId }: any) { + console.log("createMessage", nonce, address, chainId); + console.log("goubg to call constructor"); + const message = new SiweMessage({ + version: "1", + domain: window.location.host, + uri: window.location.origin, + address, + chainId, + nonce: nonce.toString(), + statement: "Sign in with ethereum", + }); + + console.log("after constructor"); + + console.log("message", message); + return message.prepareMessage(); +} + +const siweConfig = createSIWEConfig({ + createMessage, + getNonce: async (address) => { + const response = await fetch( + `${import.meta.env.VITE_BACKEND_URL}/register`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + body: JSON.stringify({ walletAddress: address }), + } + ); + + if (!response.ok) { + throw new Error(`Error registering user: ${response.statusText}`); + } + const responseData = await response.json(); + + console.log("nonce response", responseData.nonce.toString()); + return responseData.nonce.toString(); + }, + getSession: async () => { + return { + address: "0x8e2A131F99b4Dce031D3BceEb67b632c4d6C12fF", + chainId: 1700, + }; + }, + verifyMessage: async ({ message, signature }) => { + return true; + }, + signOut: async () => { + return true; + }, + signOutOnNetworkChange: true, +}); + createWeb3Modal({ wagmiConfig, projectId: config.projectId, + siweConfig, themeVariables: { "--w3m-font-family": "Kanit-Light", "--w3m-accent": "#181ea9a6", diff --git a/frontend/src/config.ts b/frontend/src/config.ts index f0b0bba..5b66802 100644 --- a/frontend/src/config.ts +++ b/frontend/src/config.ts @@ -1,5 +1,5 @@ import { parseEther } from "viem"; -import { holesky } from "viem/chains"; +import { holesky, polygon } from "viem/chains"; type Chain = { id: number }; @@ -19,7 +19,7 @@ type Config = { }; export const config: Config<[typeof holesky]> = { - supportedChains: [holesky] as const, + supportedChains: [holesky, polygon] as const, projectId: "20bd2ed396d80502980b6d2a3fb425f4", depositContractAddress: { [holesky.id]: "0xA3D86ebF4FAC94114526f4D09C3fA093898347a6", diff --git a/frontend/src/hooks/userUserData.ts b/frontend/src/hooks/userUserData.ts index a28a7e5..bc5dd5b 100644 --- a/frontend/src/hooks/userUserData.ts +++ b/frontend/src/hooks/userUserData.ts @@ -22,7 +22,7 @@ export const useUserData = (): { const { data, error, isLoading } = useSWR( `${import.meta.env.VITE_BACKEND_URL}/me`, fetcher, - { refreshInterval: 1000 } + { refreshInterval: 10000 } ); return { userData: data, diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 2611c4f..b88b39a 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -1,9 +1,21 @@ +window.process = { + env: { + NODE_ENV: "dessvelopment", + }, +}; + +console.log("process.env.NODE_ENV", process); + import React from "react"; import ReactDOM from "react-dom/client"; import App from "./App"; import "./index.css"; import "./utils/axios"; +// // @ts-ignore + +console.log("VITE_BACKEND_URL", import.meta.env.VITE_BACKEND_URL); + ReactDOM.createRoot(document.getElementById("root")!).render( diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 357c2ad..5e099b4 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -1,6 +1,7 @@ import { defineConfig } from "vite"; import { resolve } from "path"; import react from "@vitejs/plugin-react"; +import { NodeGlobalsPolyfillPlugin } from "@esbuild-plugins/node-globals-polyfill"; export default defineConfig((configEnv) => { const isDevelopment = configEnv.mode === "development"; @@ -21,6 +22,21 @@ export default defineConfig((configEnv) => { utils: resolve(__dirname, "src", "utils"), }, }, + optimizeDeps: { + esbuildOptions: { + // Node.js global to browser globalThis + define: { + global: "globalThis", + }, + // Enable esbuild polyfill plugins + plugins: [ + NodeGlobalsPolyfillPlugin({ + process: true, + buffer: true, + }), + ], + }, + }, css: { modules: { generateScopedName: isDevelopment diff --git a/loginWithCrypto/src/fastify/routes/register.ts b/loginWithCrypto/src/fastify/routes/register.ts index 116935d..a465325 100644 --- a/loginWithCrypto/src/fastify/routes/register.ts +++ b/loginWithCrypto/src/fastify/routes/register.ts @@ -20,7 +20,6 @@ export const register: RouteOptions = { const { walletAddress } = req.body; // @ts-ignore temporary const { userService } = req.routeOptions.config; - console.log("registering user", walletAddress); const user = await userService.registerUser(walletAddress); rep.send(user); }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 056dd8d..ea9704c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -69,6 +69,9 @@ importers: fastify-sse-v2: specifier: ^4.0.0 version: 4.0.0(fastify@4.26.2) + ftp-srv: + specifier: ^4.6.3 + version: 4.6.3 js-big-decimal: specifier: ^2.0.7 version: 2.0.7 @@ -115,6 +118,9 @@ importers: frontend: dependencies: + '@esbuild-plugins/node-globals-polyfill': + specifier: ^0.2.3 + version: 0.2.3(esbuild@0.20.2) '@heroicons/react': specifier: ^2.1.3 version: 2.1.3(react@18.2.0) @@ -127,9 +133,12 @@ importers: '@uidotdev/usehooks': specifier: ^2.4.1 version: 2.4.1(react-dom@18.2.0)(react@18.2.0) + '@web3modal/siwe': + specifier: ^4.1.11 + version: 4.1.11(@types/react@18.2.74)(react@18.2.0) '@web3modal/wagmi': - specifier: 4.0.13 - version: 4.0.13(@types/react@18.2.74)(@wagmi/connectors@4.1.24)(@wagmi/core@2.6.15)(lit@3.1.2)(typescript@5.4.3)(valtio@1.13.2)(viem@2.7.22) + specifier: ^4.1.11 + version: 4.1.11(@types/react@18.2.74)(@wagmi/connectors@4.1.24)(@wagmi/core@2.6.15)(react-dom@18.2.0)(react@18.2.0)(viem@2.7.22) axios: specifier: ^1.6.7 version: 1.6.8(debug@4.3.4) @@ -157,6 +166,9 @@ importers: react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) + siwe: + specifier: ^2.3.2 + version: 2.3.2(ethers@6.12.1) swr: specifier: ^2.2.5 version: 2.2.5(react@18.2.0) @@ -651,6 +663,10 @@ packages: resolution: {integrity: sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q==} dev: false + /@adraffy/ens-normalize@1.10.1: + resolution: {integrity: sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==} + dev: false + /@alloc/quick-lru@5.2.0: resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} @@ -2598,6 +2614,14 @@ packages: resolution: {integrity: sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==} dev: false + /@esbuild-plugins/node-globals-polyfill@0.2.3(esbuild@0.20.2): + resolution: {integrity: sha512-r3MIryXDeXDOZh7ih1l/yE9ZLORCd5e8vWg02azWRGj5SPTuoh69A2AIyn0Z31V/kHBfZ4HgWJ+OK3GTTwLmnw==} + peerDependencies: + esbuild: '*' + dependencies: + esbuild: 0.20.2 + dev: false + /@esbuild/aix-ppc64@0.19.12: resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} engines: {node: '>=12'} @@ -2613,7 +2637,6 @@ packages: cpu: [ppc64] os: [aix] requiresBuild: true - dev: true optional: true /@esbuild/android-arm64@0.19.12: @@ -2631,7 +2654,6 @@ packages: cpu: [arm64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-arm@0.19.12: @@ -2649,7 +2671,6 @@ packages: cpu: [arm] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-x64@0.19.12: @@ -2667,7 +2688,6 @@ packages: cpu: [x64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/darwin-arm64@0.19.12: @@ -2685,7 +2705,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: true optional: true /@esbuild/darwin-x64@0.19.12: @@ -2703,7 +2722,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: true optional: true /@esbuild/freebsd-arm64@0.19.12: @@ -2721,7 +2739,6 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true - dev: true optional: true /@esbuild/freebsd-x64@0.19.12: @@ -2739,7 +2756,6 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true - dev: true optional: true /@esbuild/linux-arm64@0.19.12: @@ -2757,7 +2773,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-arm@0.19.12: @@ -2775,7 +2790,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-ia32@0.19.12: @@ -2793,7 +2807,6 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-loong64@0.19.12: @@ -2811,7 +2824,6 @@ packages: cpu: [loong64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-mips64el@0.19.12: @@ -2829,7 +2841,6 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-ppc64@0.19.12: @@ -2847,7 +2858,6 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-riscv64@0.19.12: @@ -2865,7 +2875,6 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-s390x@0.19.12: @@ -2883,7 +2892,6 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-x64@0.19.12: @@ -2901,7 +2909,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/netbsd-x64@0.19.12: @@ -2919,7 +2926,6 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true - dev: true optional: true /@esbuild/openbsd-x64@0.19.12: @@ -2937,7 +2943,6 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true - dev: true optional: true /@esbuild/sunos-x64@0.19.12: @@ -2955,7 +2960,6 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true - dev: true optional: true /@esbuild/win32-arm64@0.19.12: @@ -2973,7 +2977,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-ia32@0.19.12: @@ -2991,7 +2994,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-x64@0.19.12: @@ -3009,7 +3011,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): @@ -5019,6 +5020,15 @@ packages: resolution: {integrity: sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==} dev: false + /@spruceid/siwe-parser@2.1.2: + resolution: {integrity: sha512-d/r3S1LwJyMaRAKQ0awmo9whfXeE88Qt00vRj91q5uv5ATtWIQEGJ67Yr5eSZw5zp1/fZCXZYuEckt8lSkereQ==} + dependencies: + '@noble/hashes': 1.4.0 + apg-js: 4.3.0 + uri-js: 4.4.1 + valid-url: 1.0.9 + dev: false + /@stablelib/aead@1.0.1: resolution: {integrity: sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg==} dev: false @@ -5363,6 +5373,10 @@ packages: /@types/node@12.20.55: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + /@types/node@18.15.13: + resolution: {integrity: sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==} + dev: false + /@types/node@20.12.4: resolution: {integrity: sha512-E+Fa9z3wSQpzgYQdYmme5X3OTuejnnTx88A6p6vkkJosR3KBz+HpE3kqNm98VE6cfLFcISx7zW7MsJkH6KwbTw==} dependencies: @@ -5676,88 +5690,6 @@ packages: - supports-color dev: true - /@vue/compiler-core@3.4.21: - resolution: {integrity: sha512-MjXawxZf2SbZszLPYxaFCjxfibYrzr3eYbKxwpLR9EQN+oaziSu3qKVbwBERj1IFIB8OLUewxB5m/BFzi613og==} - requiresBuild: true - dependencies: - '@babel/parser': 7.24.4 - '@vue/shared': 3.4.21 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.0 - dev: false - - /@vue/compiler-dom@3.4.21: - resolution: {integrity: sha512-IZC6FKowtT1sl0CR5DpXSiEB5ayw75oT2bma1BEhV7RRR1+cfwLrxc2Z8Zq/RGFzJ8w5r9QtCOvTjQgdn0IKmA==} - requiresBuild: true - dependencies: - '@vue/compiler-core': 3.4.21 - '@vue/shared': 3.4.21 - dev: false - - /@vue/compiler-sfc@3.4.21: - resolution: {integrity: sha512-me7epoTxYlY+2CUM7hy9PCDdpMPfIwrOvAXud2Upk10g4YLv9UBW7kL798TvMeDhPthkZ0CONNrK2GoeI1ODiQ==} - requiresBuild: true - dependencies: - '@babel/parser': 7.24.4 - '@vue/compiler-core': 3.4.21 - '@vue/compiler-dom': 3.4.21 - '@vue/compiler-ssr': 3.4.21 - '@vue/shared': 3.4.21 - estree-walker: 2.0.2 - magic-string: 0.30.9 - postcss: 8.4.38 - source-map-js: 1.2.0 - dev: false - - /@vue/compiler-ssr@3.4.21: - resolution: {integrity: sha512-M5+9nI2lPpAsgXOGQobnIueVqc9sisBFexh5yMIMRAPYLa7+5wEJs8iqOZc1WAa9WQbx9GR2twgznU8LTIiZ4Q==} - requiresBuild: true - dependencies: - '@vue/compiler-dom': 3.4.21 - '@vue/shared': 3.4.21 - dev: false - - /@vue/reactivity@3.4.21: - resolution: {integrity: sha512-UhenImdc0L0/4ahGCyEzc/pZNwVgcglGy9HVzJ1Bq2Mm9qXOpP8RyNTjookw/gOCUlXSEtuZ2fUg5nrHcoqJcw==} - requiresBuild: true - dependencies: - '@vue/shared': 3.4.21 - dev: false - - /@vue/runtime-core@3.4.21: - resolution: {integrity: sha512-pQthsuYzE1XcGZznTKn73G0s14eCJcjaLvp3/DKeYWoFacD9glJoqlNBxt3W2c5S40t6CCcpPf+jG01N3ULyrA==} - requiresBuild: true - dependencies: - '@vue/reactivity': 3.4.21 - '@vue/shared': 3.4.21 - dev: false - - /@vue/runtime-dom@3.4.21: - resolution: {integrity: sha512-gvf+C9cFpevsQxbkRBS1NpU8CqxKw0ebqMvLwcGQrNpx6gqRDodqKqA+A2VZZpQ9RpK2f9yfg8VbW/EpdFUOJw==} - requiresBuild: true - dependencies: - '@vue/runtime-core': 3.4.21 - '@vue/shared': 3.4.21 - csstype: 3.1.3 - dev: false - - /@vue/server-renderer@3.4.21(vue@3.4.21): - resolution: {integrity: sha512-aV1gXyKSN6Rz+6kZ6kr5+Ll14YzmIbeuWe7ryJl5muJ4uwSwY/aStXTixx76TwkZFJLm1aAlA/HSWEJ4EyiMkg==} - requiresBuild: true - peerDependencies: - vue: 3.4.21 - dependencies: - '@vue/compiler-ssr': 3.4.21 - '@vue/shared': 3.4.21 - vue: 3.4.21(typescript@5.4.3) - dev: false - - /@vue/shared@3.4.21: - resolution: {integrity: sha512-PuJe7vDIi6VYSinuEbUIQgMIRZGgM8e4R+G+/dQTk0X1NEdvgvvgv7m+rfmDH1gZzyA1OjjoWskvHlfRNfQf3g==} - requiresBuild: true - dev: false - /@wagmi/connectors@4.1.24(@types/react@18.2.74)(@wagmi/core@2.6.15)(react-dom@18.2.0)(react-native@0.73.6)(react@18.2.0)(typescript@5.4.3)(viem@2.7.22): resolution: {integrity: sha512-gFziI7E3m+ESJmEnsvlm/eMlboKwdfGqOOQIU068MoZ+ZcNxoLZe4gu8CqnrmG7ksdPtwG38prsMl96opZexIA==} peerDependencies: @@ -6204,135 +6136,116 @@ packages: tslib: 1.14.1 dev: false - /@web3modal/common@4.0.13: - resolution: {integrity: sha512-71fVfEy9k7B6xVgswY220Xy4Tl4iCINc1E4mr2P5NfEPkSwhmXm/oO2QBIpefml/cJ7Zt4oFbta8NzyN+V5bQw==} + /@web3modal/common@4.1.11: + resolution: {integrity: sha512-zcoaixcI3dLC/D0QlhpT8MNCd717O1/3r1AemC5/9Wbk2F+YKXkzJZHmWlXoTvlTw9DH07rJzs9YTPxFyn855w==} dependencies: + bignumber.js: 9.1.2 dayjs: 1.11.10 dev: false - /@web3modal/core@4.0.13(@types/react@18.2.74)(react@18.2.0): - resolution: {integrity: sha512-8zCu+oZ3xwCQtUevjP09BPCkvJo2tRnBcOzMDhkFzqty2nTE4GBuaI2Bgp/gcrLJNN/RLPQ8BcEdrV2k95MOIg==} + /@web3modal/core@4.1.11(@types/react@18.2.74)(react@18.2.0): + resolution: {integrity: sha512-e475IIWywEtgH1CCB2Pl1C/wgPu0NzAvtTMOPSGNoHsw1ID2n6j/o4CURQb2HJjOoYQjTKKVkzXa44vFh2p9xw==} dependencies: - '@web3modal/common': 4.0.13 - '@web3modal/wallet': 4.0.13 + '@web3modal/common': 4.1.11 + '@web3modal/wallet': 4.1.11 valtio: 1.11.2(@types/react@18.2.74)(react@18.2.0) transitivePeerDependencies: - '@types/react' - react dev: false - /@web3modal/polyfills@4.0.13: - resolution: {integrity: sha512-Pvb2uF18+h3r+kKa6ELn5Vg7lQRNoBmZ9GuH//AY1lX6AII75hPH78hKh78EscZctVFInbVxx8RBTFwfbXUzQA==} + /@web3modal/polyfills@4.1.11: + resolution: {integrity: sha512-+aMmjGrLCKLo4gVAdWgFdOX2ZjExciSLw/YlZ01wLO8Yj3bZbCZ7sjBc9xndHOVMK0QyUzBtpCOpYMJzi+59jg==} dependencies: buffer: 6.0.3 dev: false - /@web3modal/scaffold-react@4.0.13(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0)(valtio@1.13.2): - resolution: {integrity: sha512-275GNgj7sYYdhP1V3u5xaoxirIgumvAORkSguj2qahrc911NTfWP1foXaCE1cMj4TolV8r2esok8Jmh5r4SETg==} + /@web3modal/scaffold-react@4.1.11(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-vouJHj77ZNKvR/Uyb3Hfc2UFSA4ZrrHmA0vbioCbgIh+V1rYT5XcAZDEu4AAo1qJ5NBRU1pkClVwAmQuWGY43w==} peerDependencies: react: '>=17' react-dom: '>=17' + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true dependencies: - '@web3modal/scaffold': 4.0.13(@types/react@18.2.74)(react@18.2.0)(valtio@1.13.2) + '@web3modal/scaffold': 4.1.11(@types/react@18.2.74)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) transitivePeerDependencies: - '@types/react' - - valtio dev: false - /@web3modal/scaffold-utils@4.0.13(@types/react@18.2.74)(react@18.2.0): - resolution: {integrity: sha512-V/iJ0ec92oZSBopxWaPpy8k2HZ4kUihhGDXfV11A9GQVIg7+JY2m+Q8vUBrgHExmb38GZWgqAGUeG/YlTdLmQw==} + /@web3modal/scaffold-utils@4.1.11(@types/react@18.2.74)(react@18.2.0): + resolution: {integrity: sha512-nsS9yK5tp1N/VfecLLPc8H/dGJCzn0jElWjRS92VfGPhOSiEh5PIrPyCl9o6wUZsp4fH1YUsoSY2EFpPsuCWgw==} dependencies: - '@web3modal/core': 4.0.13(@types/react@18.2.74)(react@18.2.0) - '@web3modal/polyfills': 4.0.13 + '@web3modal/core': 4.1.11(@types/react@18.2.74)(react@18.2.0) + '@web3modal/polyfills': 4.1.11 valtio: 1.11.2(@types/react@18.2.74)(react@18.2.0) transitivePeerDependencies: - '@types/react' - react dev: false - /@web3modal/scaffold-vue@4.0.13(@types/react@18.2.74)(react@18.2.0)(valtio@1.13.2)(vue@3.4.21): - resolution: {integrity: sha512-G50zVC4vqd//bNDc8+K08EmAUs9pXSgmWj8CarPu4X5x69p0dMPXzDuTMQJ/Lw2WZ2WBvycwY8dyvvzI6Ff1Xw==} + /@web3modal/scaffold-vue@4.1.11(@types/react@18.2.74)(react@18.2.0): + resolution: {integrity: sha512-PmIfD2TlKkZZa6V0sqwDtZ7t62BEk5JjCHd380QaZwGTbPEwS99leTWLKBTaxAPShK2p7+aj2Txss63wIXLRFg==} peerDependencies: vue: '>=3' - dependencies: - '@web3modal/scaffold': 4.0.13(@types/react@18.2.74)(react@18.2.0)(valtio@1.13.2) - vue: 3.4.21(typescript@5.4.3) - transitivePeerDependencies: - - '@types/react' - - react - - valtio - dev: false - - /@web3modal/scaffold@4.0.13(@types/react@18.2.74)(react@18.2.0)(valtio@1.13.2): - resolution: {integrity: sha512-ur543j3KunFUIoSAT4GGwAX0GxVPHNkuCEUGJL52KSfXG6rqHlPoVMeGyZKN4Mo2FyQCh76vFgm9Vv2GribuDQ==} peerDependenciesMeta: - '@web3modal/siwe': + vue: optional: true dependencies: - '@web3modal/common': 4.0.13 - '@web3modal/core': 4.0.13(@types/react@18.2.74)(react@18.2.0) - '@web3modal/ui': 4.0.13 - lit: 3.1.0 - optionalDependencies: - '@web3modal/siwe': 4.0.13(@types/react@18.2.74)(lit@3.1.0)(react@18.2.0)(valtio@1.13.2) + '@web3modal/scaffold': 4.1.11(@types/react@18.2.74)(react@18.2.0) transitivePeerDependencies: - '@types/react' - react - - valtio dev: false - /@web3modal/siwe@4.0.13(@types/react@18.2.74)(lit@3.1.0)(react@18.2.0)(valtio@1.13.2): - resolution: {integrity: sha512-wMEOJxgWQK97mdI5IWAR4uA8NHLOjOM3PabiQYEw7hKACwK4C2bJTS1Lp6ddO3a3P2WU4GxrtoqBnpbc6Z+XgQ==} - requiresBuild: true - peerDependencies: - lit: '>=3' - valtio: '>=1 <2' + /@web3modal/scaffold@4.1.11(@types/react@18.2.74)(react@18.2.0): + resolution: {integrity: sha512-n8bP3cJNQxV8OD3s8bSj8QDbZvjn8a1Ui81jo2a3rIxOUAlD/cKRM8ivmNxiUdBMae8GP5CLiWtkIptmSLw40Q==} dependencies: - '@web3modal/core': 4.0.13(@types/react@18.2.74)(react@18.2.0) - '@web3modal/scaffold-utils': 4.0.13(@types/react@18.2.74)(react@18.2.0) + '@web3modal/common': 4.1.11 + '@web3modal/core': 4.1.11(@types/react@18.2.74)(react@18.2.0) + '@web3modal/siwe': 4.1.11(@types/react@18.2.74)(react@18.2.0) + '@web3modal/ui': 4.1.11 + '@web3modal/wallet': 4.1.11 lit: 3.1.0 - valtio: 1.13.2(@types/react@18.2.74)(react@18.2.0) transitivePeerDependencies: - '@types/react' - react dev: false - optional: true - /@web3modal/siwe@4.0.13(@types/react@18.2.74)(lit@3.1.2)(react@18.2.0)(valtio@1.13.2): - resolution: {integrity: sha512-wMEOJxgWQK97mdI5IWAR4uA8NHLOjOM3PabiQYEw7hKACwK4C2bJTS1Lp6ddO3a3P2WU4GxrtoqBnpbc6Z+XgQ==} - requiresBuild: true - peerDependencies: - lit: '>=3' - valtio: '>=1 <2' + /@web3modal/siwe@4.1.11(@types/react@18.2.74)(react@18.2.0): + resolution: {integrity: sha512-gndcNA351mkAR0wUsO4dLS9CbpcFo+AQ2CUXF0Jx83DwaBStCVsX3yllfnYKh/gpVetF3B48mRUt9TTTJJ79dA==} dependencies: - '@web3modal/core': 4.0.13(@types/react@18.2.74)(react@18.2.0) - '@web3modal/scaffold-utils': 4.0.13(@types/react@18.2.74)(react@18.2.0) - lit: 3.1.2 - valtio: 1.13.2(@types/react@18.2.74)(react@18.2.0) + '@web3modal/core': 4.1.11(@types/react@18.2.74)(react@18.2.0) + '@web3modal/scaffold-utils': 4.1.11(@types/react@18.2.74)(react@18.2.0) + lit: 3.1.0 + valtio: 1.11.2(@types/react@18.2.74)(react@18.2.0) transitivePeerDependencies: - '@types/react' - react dev: false - optional: true - /@web3modal/ui@4.0.13: - resolution: {integrity: sha512-G2SBYI1e7jIOjtbk5E/CoN0TyHj4mFG0L0FAsqJWGDONbwq+rYEA7pjyIY5Tobh7vgadQZvrANb5KUJfI6tCZQ==} + /@web3modal/ui@4.1.11: + resolution: {integrity: sha512-lentHZvUpNjVasvNI8/jrVPIAV1M5zJKZ4Q4AeYwUJdEtlRon1uq10MRylmvlZAjWb98U130uJy245Fz87Th/w==} dependencies: lit: 3.1.0 qrcode: 1.5.3 dev: false - /@web3modal/wagmi@4.0.13(@types/react@18.2.74)(@wagmi/connectors@4.1.24)(@wagmi/core@2.6.15)(lit@3.1.2)(typescript@5.4.3)(valtio@1.13.2)(viem@2.7.22): - resolution: {integrity: sha512-i7ui3K5BM7hDH/Y7QDVz1hgshZf9p9IGI9cpDrkjUQ4ow8C+1rHfFAi3uJd4OdGmwXVG1ewkHlzWgDCKZnhLuQ==} + /@web3modal/wagmi@4.1.11(@types/react@18.2.74)(@wagmi/connectors@4.1.24)(@wagmi/core@2.6.15)(react-dom@18.2.0)(react@18.2.0)(viem@2.7.22): + resolution: {integrity: sha512-VoXV9idD0yV7jx0F2Xk722VXqQNCDKqDc+LR8WsuOU64TiTLJx9UDQpNcoigbC3bYCi/4Cpw41iSGgs7utbgyQ==} peerDependencies: '@wagmi/connectors': '>=4.0.0' '@wagmi/core': '>=2.0.0' + react: '>=17' + react-dom: '>=17' viem: '>=2.0.0' + vue: '>=3' peerDependenciesMeta: - '@web3modal/siwe': - optional: true react: optional: true react-dom: @@ -6342,28 +6255,23 @@ packages: dependencies: '@wagmi/connectors': 4.1.24(@types/react@18.2.74)(@wagmi/core@2.6.15)(react-dom@18.2.0)(react-native@0.73.6)(react@18.2.0)(typescript@5.4.3)(viem@2.7.22) '@wagmi/core': 2.6.15(@types/react@18.2.74)(react@18.2.0)(typescript@5.4.3)(viem@2.7.22) - '@web3modal/polyfills': 4.0.13 - '@web3modal/scaffold': 4.0.13(@types/react@18.2.74)(react@18.2.0)(valtio@1.13.2) - '@web3modal/scaffold-react': 4.0.13(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0)(valtio@1.13.2) - '@web3modal/scaffold-utils': 4.0.13(@types/react@18.2.74)(react@18.2.0) - '@web3modal/scaffold-vue': 4.0.13(@types/react@18.2.74)(react@18.2.0)(valtio@1.13.2)(vue@3.4.21) - viem: 2.7.22(typescript@5.4.3) - optionalDependencies: - '@web3modal/siwe': 4.0.13(@types/react@18.2.74)(lit@3.1.2)(react@18.2.0)(valtio@1.13.2) + '@web3modal/polyfills': 4.1.11 + '@web3modal/scaffold': 4.1.11(@types/react@18.2.74)(react@18.2.0) + '@web3modal/scaffold-react': 4.1.11(@types/react@18.2.74)(react-dom@18.2.0)(react@18.2.0) + '@web3modal/scaffold-utils': 4.1.11(@types/react@18.2.74)(react@18.2.0) + '@web3modal/scaffold-vue': 4.1.11(@types/react@18.2.74)(react@18.2.0) + '@web3modal/siwe': 4.1.11(@types/react@18.2.74)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - vue: 3.4.21(typescript@5.4.3) + viem: 2.7.22(typescript@5.4.3) transitivePeerDependencies: - '@types/react' - - lit - - typescript - - valtio dev: false - /@web3modal/wallet@4.0.13: - resolution: {integrity: sha512-Luqnu/zYWruBk4w5cQM6I8fxKvVJ8b5TiMm7r0PNTyKuS5MNIeVE6BBtT5PR/S1q5XM5BKh/nQ8DBky8GhuSPA==} - requiresBuild: true + /@web3modal/wallet@4.1.11: + resolution: {integrity: sha512-6eJSpNcrBxufJFEQu9+ZOMUZxPqa8438RvfYKCU9nLXwoBtweo6ecpQw2yhXDlrfG+uJZhFabtPxROabn2M8Kg==} dependencies: + '@web3modal/polyfills': 4.1.11 zod: 3.22.4 dev: false @@ -6558,6 +6466,10 @@ packages: engines: {node: '>=0.4.0'} hasBin: true + /aes-js@4.0.0-beta.5: + resolution: {integrity: sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==} + dev: false + /agent-base@6.0.2: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} @@ -6715,6 +6627,10 @@ packages: normalize-path: 3.0.0 picomatch: 2.3.1 + /apg-js@4.3.0: + resolution: {integrity: sha512-8U8MULS+JocCnm11bfrVS4zxtAcE3uOiCAI21SnjDrV9LNhMSGwTGGeko3QfyK1JLWwT7KebFqJMB2puzfdFMQ==} + dev: false + /appdirsjs@1.2.7: resolution: {integrity: sha512-Quji6+8kLBC3NnBeo14nPDq0+2jUs5s3/xEye+udFHumHhRk4M7aAMXp/PBJqkKYGuuyR9M/6Dq7d2AViiGmhw==} dev: false @@ -7059,6 +6975,10 @@ packages: resolution: {integrity: sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==} dev: true + /bignumber.js@9.1.2: + resolution: {integrity: sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==} + dev: false + /binary-extensions@2.3.0: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} @@ -7077,7 +6997,6 @@ packages: /bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} - dev: true /bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} @@ -7224,6 +7143,17 @@ packages: semver: 7.6.0 dev: true + /bunyan@1.8.15: + resolution: {integrity: sha512-0tECWShh6wUysgucJcBAoYegf3JJoZWibxdqhTm7OHPeT42qdjkZ29QCMcKwbgU1kiH+auSIasNRXMLWXafXig==} + engines: {'0': node >=0.10.0} + hasBin: true + optionalDependencies: + dtrace-provider: 0.8.8 + moment: 2.30.1 + mv: 2.1.1 + safe-json-stringify: 1.2.0 + dev: false + /bytes@3.0.0: resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==} engines: {node: '>= 0.8'} @@ -8264,15 +8194,6 @@ packages: prop-types: 15.8.1 dev: false - /derive-valtio@0.1.0(valtio@1.13.2): - resolution: {integrity: sha512-OCg2UsLbXK7GmmpzMXhYkdO64vhJ1ROUUGaTFyHjVwEdMEcTTRj7W1TxLbSBxdY8QLBPCcp66MTyaSy0RpO17A==} - peerDependencies: - valtio: '*' - dependencies: - valtio: 1.13.2(@types/react@18.2.74)(react@18.2.0) - dev: false - optional: true - /destr@2.0.3: resolution: {integrity: sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==} dev: false @@ -8337,6 +8258,15 @@ packages: is-obj: 2.0.0 dev: true + /dtrace-provider@0.8.8: + resolution: {integrity: sha512-b7Z7cNtHPhH9EJhNNbbeqTcXB8LGFFZhq1PGgEvpeHlzd36bhbdTWoE/Ba/YguqpBSlAPKnARWhVlhunCMwfxg==} + engines: {node: '>=0.10'} + requiresBuild: true + dependencies: + nan: 2.19.0 + dev: false + optional: true + /duplexer2@0.1.4: resolution: {integrity: sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==} dependencies: @@ -8472,12 +8402,6 @@ packages: strip-ansi: 6.0.1 dev: true - /entities@4.5.0: - resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} - engines: {node: '>=0.12'} - requiresBuild: true - dev: false - /env-ci@11.0.0: resolution: {integrity: sha512-apikxMgkipkgTvMdRT9MNqWx5VLOci79F4VBd7Op/7OPjjoanjdAvn6fglMCCEf/1bAh8eOiuEVCUs4V3qP3nQ==} engines: {node: ^18.17 || >=20.6.1} @@ -8594,7 +8518,6 @@ packages: '@esbuild/win32-arm64': 0.20.2 '@esbuild/win32-ia32': 0.20.2 '@esbuild/win32-x64': 0.20.2 - dev: true /escalade@3.1.2: resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} @@ -8754,6 +8677,7 @@ packages: /estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + dev: true /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} @@ -8809,6 +8733,22 @@ packages: '@scure/bip39': 1.2.2 dev: false + /ethers@6.12.1: + resolution: {integrity: sha512-j6wcVoZf06nqEcBbDWkKg8Fp895SS96dSnTCjiXT+8vt2o02raTn4Lo9ERUuIVU5bAjoPYeA+7ytQFexFmLuVw==} + engines: {node: '>=14.0.0'} + dependencies: + '@adraffy/ens-normalize': 1.10.1 + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.2 + '@types/node': 18.15.13 + aes-js: 4.0.0-beta.5 + tslib: 2.4.0 + ws: 8.5.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: false + /event-target-shim@5.0.1: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} engines: {node: '>=6'} @@ -9454,6 +9394,20 @@ packages: requiresBuild: true optional: true + /ftp-srv@4.6.3: + resolution: {integrity: sha512-k9q06Ab04CwY7n9HL5H5Zn+/ccohUUH8K2UjQ6dnAlE3NIFdqFI8Paanq+WFbfawZXeK29vP0zgZWfr28N33dw==} + engines: {node: '>=12'} + hasBin: true + dependencies: + bluebird: 3.7.2 + bunyan: 1.8.15 + ip: 1.1.9 + lodash: 4.17.21 + moment: 2.30.1 + uuid: 3.4.0 + yargs: 15.4.1 + dev: false + /function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} @@ -9609,6 +9563,18 @@ packages: minipass: 7.0.4 path-scurry: 1.10.2 + /glob@6.0.4: + resolution: {integrity: sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==} + requiresBuild: true + dependencies: + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: false + optional: true + /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} dependencies: @@ -10156,6 +10122,10 @@ packages: resolution: {integrity: sha512-QziFxgxq3mjIf5CuwlzXFYscHxgLqdEdJKRo2UJ5GurL5zrSRMzT/O+nK0ABimoFH8MWF8YwIiwECYsHc1LpUQ==} dev: false + /ip@1.1.9: + resolution: {integrity: sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==} + dev: false + /ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} @@ -11398,15 +11368,6 @@ packages: lit-html: 3.1.2 dev: false - /lit@3.1.2: - resolution: {integrity: sha512-VZx5iAyMtX7CV4K8iTLdCkMaYZ7ipjJZ0JcSdJ0zIdGxxyurjIn7yuuSxNBD7QmjvcNJwr0JS4cAdAtsy7gZ6w==} - dependencies: - '@lit/reactive-element': 2.0.4 - lit-element: 4.0.4 - lit-html: 3.1.2 - dev: false - optional: true - /load-json-file@4.0.0: resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} engines: {node: '>=4'} @@ -11555,7 +11516,6 @@ packages: /lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - dev: true /log-symbols@4.1.0: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} @@ -11624,6 +11584,7 @@ packages: engines: {node: '>=12'} dependencies: '@jridgewell/sourcemap-codec': 1.4.15 + dev: true /make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} @@ -12235,6 +12196,10 @@ packages: obliterator: 2.0.4 dev: false + /moment@2.30.1: + resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} + dev: false + /mongodb-connection-string-url@3.0.0: resolution: {integrity: sha512-t1Vf+m1I5hC2M5RJx/7AtxgABy1cZmIPQRMXw+gEIPn/cZNF3Oiy+l0UIypUwVB5trcWHq3crg2g3uAR9aAwsQ==} dependencies: @@ -12339,6 +12304,17 @@ packages: resolution: {integrity: sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==} dev: false + /mv@2.1.1: + resolution: {integrity: sha512-at/ZndSy3xEGJ8i0ygALh8ru9qy7gWW1cmkaqBN29JmMlIvM//MEO9y1sk/avxuwnPcfhkejkLsuPxH81BrkSg==} + engines: {node: '>=0.8.0'} + requiresBuild: true + dependencies: + mkdirp: 0.5.6 + ncp: 2.0.0 + rimraf: 2.4.5 + dev: false + optional: true + /mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} dependencies: @@ -12346,6 +12322,12 @@ packages: object-assign: 4.1.1 thenify-all: 1.6.0 + /nan@2.19.0: + resolution: {integrity: sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==} + requiresBuild: true + dev: false + optional: true + /nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -12354,6 +12336,13 @@ packages: /natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + /ncp@2.0.0: + resolution: {integrity: sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA==} + hasBin: true + requiresBuild: true + dev: false + optional: true + /negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} @@ -13473,11 +13462,6 @@ packages: resolution: {integrity: sha512-oyfc0Tx87Cpwva5ZXezSp5V9vht1c7dZBhvuV/y3ctkgMVUmiAGDVeeB0dKhGSyT0v1ZTEQYpe/RXlBVBNuCLA==} dev: false - /proxy-compare@2.6.0: - resolution: {integrity: sha512-8xuCeM3l8yqdmbPoYeLbrAXCBWu19XEYc5/F28f5qOaoAIMyfmBUkl5axiK+x9olUvRlcekvnm98AP9RDngOIw==} - dev: false - optional: true - /proxy-from-env@1.0.0: resolution: {integrity: sha512-F2JHgJQ1iqwnHDcQjVBsq3n/uoaFL+iPW/eAeL7kVxy/2RrWaN4WroKjjvbsoRtv0ftelNyC01bjRhn/bhcf4A==} dev: true @@ -14059,6 +14043,15 @@ packages: /rfdc@1.3.1: resolution: {integrity: sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg==} + /rimraf@2.4.5: + resolution: {integrity: sha512-J5xnxTyqaiw06JjMftq7L9ouA448dw/E7dKghkP9WpKNuwmARNNg+Gk8/u5ryb9N/Yo2+z3MCwuqFK/+qPOPfQ==} + hasBin: true + requiresBuild: true + dependencies: + glob: 6.0.4 + dev: false + optional: true + /rimraf@2.6.3: resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} hasBin: true @@ -14166,6 +14159,12 @@ packages: /safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + /safe-json-stringify@1.2.0: + resolution: {integrity: sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg==} + requiresBuild: true + dev: false + optional: true + /safe-regex2@2.0.0: resolution: {integrity: sha512-PaUSFsUaNNuKwkBijoAPHAK6/eM6VirvyPWlZ7BAQy4D+hCvh4B6lIG+nPdhbFfIbP+gTGBcrdsOaUs0F+ZBOQ==} dependencies: @@ -14431,6 +14430,18 @@ packages: /sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + /siwe@2.3.2(ethers@6.12.1): + resolution: {integrity: sha512-aSf+6+Latyttbj5nMu6GF3doMfv2UYj83hhwZgUF20ky6fTS83uVhkQABdIVnEuS8y1bBdk7p6ltb9SmlhTTlA==} + peerDependencies: + ethers: ^5.6.8 || ^6.0.8 + dependencies: + '@spruceid/siwe-parser': 2.1.2 + '@stablelib/random': 1.0.2 + ethers: 6.12.1 + uri-js: 4.4.1 + valid-url: 1.0.9 + dev: false + /skin-tone@2.0.0: resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} engines: {node: '>=8'} @@ -15263,6 +15274,10 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: false + /tslib@2.4.0: + resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} + dev: false + /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} @@ -15698,6 +15713,12 @@ packages: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} + /uuid@3.4.0: + resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} + deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. + hasBin: true + dev: false + /uuid@8.3.2: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} hasBin: true @@ -15715,6 +15736,10 @@ packages: '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 + /valid-url@1.0.9: + resolution: {integrity: sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA==} + dev: false + /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} dependencies: @@ -15747,26 +15772,6 @@ packages: use-sync-external-store: 1.2.0(react@18.2.0) dev: false - /valtio@1.13.2(@types/react@18.2.74)(react@18.2.0): - resolution: {integrity: sha512-Qik0o+DSy741TmkqmRfjq+0xpZBXi/Y6+fXZLn0xNF1z/waFMbE3rkivv5Zcf9RrMUp6zswf2J7sbh2KBlba5A==} - engines: {node: '>=12.20.0'} - peerDependencies: - '@types/react': '>=16.8' - react: '>=16.8' - peerDependenciesMeta: - '@types/react': - optional: true - react: - optional: true - dependencies: - '@types/react': 18.2.74 - derive-valtio: 0.1.0(valtio@1.13.2) - proxy-compare: 2.6.0 - react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) - dev: false - optional: true - /vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -15879,23 +15884,6 @@ packages: resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} dev: true - /vue@3.4.21(typescript@5.4.3): - resolution: {integrity: sha512-5hjyV/jLEIKD/jYl4cavMcnzKwjMKohureP8ejn3hhEjwhWIhWeuzL2kJAjzl/WyVsgPY56Sy4Z40C3lVshxXA==} - requiresBuild: true - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@vue/compiler-dom': 3.4.21 - '@vue/compiler-sfc': 3.4.21 - '@vue/runtime-dom': 3.4.21 - '@vue/server-renderer': 3.4.21(vue@3.4.21) - '@vue/shared': 3.4.21 - typescript: 5.4.3 - dev: false - /wagmi@2.5.18(@tanstack/react-query@5.28.14)(@types/react@18.2.74)(react-dom@18.2.0)(react-native@0.73.6)(react@18.2.0)(typescript@5.4.3)(viem@2.7.22): resolution: {integrity: sha512-V2NTcgI1kZxLZcpW/FaS5KEoc89IkW8b39kBEZLzCFMIiSYqOINoq2N1S5Y9ZD8PYFmBmvFC0KxQ0uNBmWi+pg==} peerDependencies: @@ -16206,6 +16194,19 @@ packages: optional: true dev: false + /ws@8.5.0: + resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: false + /xml@1.0.1: resolution: {integrity: sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==} dev: true