From 6af7ff5766b094f630c1761b0c1ccdd5140e8dc4 Mon Sep 17 00:00:00 2001 From: Rubilmax Date: Fri, 14 Jun 2024 21:46:56 +0200 Subject: [PATCH] feat(web): add web3modal --- web/next.config.js | 2 +- web/package.json | 2 + web/src/app/layout.tsx | 2 +- web/src/app/page.tsx | 136 ++++++++++++------------ web/src/app/providers.tsx | 21 ++-- web/src/wagmi.ts | 20 ++-- web/yarn.lock | 218 ++++++++++++++++++++++++++++++++++++-- 7 files changed, 305 insertions(+), 96 deletions(-) diff --git a/web/next.config.js b/web/next.config.js index 09b4bed..fb164b1 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - basePath: "/executooor", + basePath: process.env.NODE_ENV === "production" ? "/executooor" : "", output: "export", reactStrictMode: true, }; diff --git a/web/package.json b/web/package.json index ba69ad4..8015dbf 100644 --- a/web/package.json +++ b/web/package.json @@ -10,9 +10,11 @@ }, "dependencies": { "@tanstack/react-query": "^5.40.0", + "@web3modal/wagmi": "^5.0.2", "next": "^14.2.3", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-hook-form": "^7.51.5", "viem": "^2.13.1", "wagmi": "^2.9.7" }, diff --git a/web/src/app/layout.tsx b/web/src/app/layout.tsx index 3f25147..0c309c4 100644 --- a/web/src/app/layout.tsx +++ b/web/src/app/layout.tsx @@ -8,7 +8,7 @@ import { Providers } from "./providers"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { - title: "Deploy Executor", + title: "Executooor UI", }; export default function RootLayout(props: { children: ReactNode }) { diff --git a/web/src/app/page.tsx b/web/src/app/page.tsx index ebca1e2..66e3dd4 100644 --- a/web/src/app/page.tsx +++ b/web/src/app/page.tsx @@ -1,90 +1,84 @@ "use client"; -import React from "react"; -import { isAddress } from "viem"; -import { useAccount, useConnect, useDisconnect, useWalletClient } from "wagmi"; +import React, { useEffect } from "react"; +import { useForm } from "react-hook-form"; +import { Address, isAddress } from "viem"; +import { useAccount, useWalletClient } from "wagmi"; function App() { const account = useAccount(); - const { connectors, connect, status, error } = useConnect(); - const { disconnect } = useDisconnect(); const { data: walletClient } = useWalletClient({ chainId: account.chainId }); - const [owner, setOwner] = React.useState(""); + const deployForm = useForm<{ owner: Address }>({ + defaultValues: { + owner: account.address, + }, + }); + + useEffect(() => { + if (account.address && !deployForm.formState.dirtyFields.owner) + deployForm.setValue("owner", account.address, { shouldValidate: true, shouldDirty: false }); + }, [account.address, deployForm.formState.dirtyFields.owner]); return ( <> -
-

Account

- -
- status: {account.status} -
- addresses: {JSON.stringify(account.addresses)} -
- chainId: {account.chainId} -
- - {account.status === "connected" && ( - - )} -
- -
-

Connect

- {connectors.map((connector) => ( - - ))} -
{status}
-
{error?.message}
+
+ { + // @ts-ignore + + } + { + // @ts-ignore + + }

Deploy

- - setOwner(e.target.value)} - /> - {walletClient && isAddress(owner) && ( - - )} + /> +
); diff --git a/web/src/app/providers.tsx b/web/src/app/providers.tsx index 30c9a9d..4667228 100644 --- a/web/src/app/providers.tsx +++ b/web/src/app/providers.tsx @@ -2,15 +2,24 @@ import { config } from "@/wagmi"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; -import { useState, type ReactNode } from "react"; -import { WagmiProvider } from "wagmi"; +import { createWeb3Modal } from "@web3modal/wagmi"; +import { type ReactNode } from "react"; +import { State, WagmiProvider } from "wagmi"; -export function Providers(props: { children: ReactNode }) { - const [queryClient] = useState(() => new QueryClient()); +const queryClient = new QueryClient(); +createWeb3Modal({ + wagmiConfig: config, + projectId: process.env.NEXT_PUBLIC_WC_PROJECT_ID!, + enableAnalytics: true, + enableOnramp: false, + themeMode: "light", +}); + +export function Providers({ children, initialState }: { children: ReactNode; initialState?: State }) { return ( - - {props.children} + + {children} ); } diff --git a/web/src/wagmi.ts b/web/src/wagmi.ts index 1828ebc..d11ea74 100644 --- a/web/src/wagmi.ts +++ b/web/src/wagmi.ts @@ -1,16 +1,18 @@ -import { http, createConfig } from "wagmi"; -import { mainnet, sepolia, base } from "wagmi/chains"; +import { defaultWagmiConfig } from "@web3modal/wagmi"; +import { mainnet, sepolia } from "wagmi/chains"; import { coinbaseWallet, injected } from "wagmi/connectors"; -export const config = createConfig({ +export const config = defaultWagmiConfig({ + projectId: process.env.NEXT_PUBLIC_WC_PROJECT_ID!, + metadata: { + name: "executooor", + description: "Executooor UI", + url: "https://rubilmax.github.io", + icons: [], + }, chains: [mainnet, sepolia], - connectors: [injected(), coinbaseWallet({ appName: "Deploy Executor" })], + connectors: [injected(), coinbaseWallet({ appName: "Executooor UI" })], ssr: true, - transports: { - [mainnet.id]: http(), - [sepolia.id]: http(), - [base.id]: http(), - }, }); declare module "wagmi" { diff --git a/web/yarn.lock b/web/yarn.lock index c38ee22..85bb8d9 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -173,7 +173,7 @@ ethereum-cryptography "^2.0.0" micro-ftch "^0.3.1" -"@lit-labs/ssr-dom-shim@^1.0.0", "@lit-labs/ssr-dom-shim@^1.1.0": +"@lit-labs/ssr-dom-shim@^1.0.0", "@lit-labs/ssr-dom-shim@^1.1.0", "@lit-labs/ssr-dom-shim@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz#353ce4a76c83fadec272ea5674ede767650762fd" integrity sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g== @@ -185,6 +185,13 @@ dependencies: "@lit-labs/ssr-dom-shim" "^1.0.0" +"@lit/reactive-element@^2.0.0", "@lit/reactive-element@^2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-2.0.4.tgz#8f2ed950a848016383894a26180ff06c56ae001b" + integrity sha512-GFn91inaUa2oHLak8awSIigYz0cU0Payr1rcFsrkf5OJ5eSPxElyZfKh0f2p9FsTiZWXQdWGJeXZICEfXXYSXQ== + dependencies: + "@lit-labs/ssr-dom-shim" "^1.2.0" + "@metamask/eth-json-rpc-provider@^1.0.0": version "1.0.1" resolved "https://registry.yarnpkg.com/@metamask/eth-json-rpc-provider/-/eth-json-rpc-provider-1.0.1.tgz#3fd5316c767847f4ca107518b611b15396a5a32c" @@ -787,7 +794,7 @@ resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36" integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg== -"@stablelib/x25519@1.0.3": +"@stablelib/x25519@1.0.3", "@stablelib/x25519@^1.0.3": version "1.0.3" resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd" integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw== @@ -978,6 +985,15 @@ keyvaluestorage-interface "^1.0.0" tslib "1.14.1" +"@walletconnect/heartbeat@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.1.tgz#afaa3a53232ae182d7c9cff41c1084472d8f32e9" + integrity sha512-yVzws616xsDLJxuG/28FqtZ5rzrTA4gUjdEMTbWB5Y8V1XHRmqq4efAxCw5ie7WjbXFSUyBHaWlMR+2/CpQC5Q== + dependencies: + "@walletconnect/events" "^1.0.1" + "@walletconnect/time" "^1.0.2" + tslib "1.14.1" + "@walletconnect/heartbeat@1.2.2": version "1.2.2" resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.2.tgz#e8dc5179db7769950c6f9cf59b23516d9b95227d" @@ -1006,6 +1022,14 @@ "@walletconnect/safe-json" "^1.0.2" events "^3.3.0" +"@walletconnect/jsonrpc-types@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz#65e3b77046f1a7fa8347ae02bc1b841abe6f290c" + integrity sha512-iIQ8hboBl3o5ufmJ8cuduGad0CQm3ZlsHtujv9Eu16xq89q+BG7Nh5VLxxUgmtpnrePgFkTwXirCTkwJH1v+Yw== + dependencies: + keyvaluestorage-interface "^1.0.0" + tslib "1.14.1" + "@walletconnect/jsonrpc-types@1.0.4", "@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3": version "1.0.4" resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.4.tgz#ce1a667d79eadf2a2d9d002c152ceb68739c230c" @@ -1033,7 +1057,7 @@ events "^3.3.0" ws "^7.5.1" -"@walletconnect/keyvaluestorage@1.1.1": +"@walletconnect/keyvaluestorage@1.1.1", "@walletconnect/keyvaluestorage@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842" integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA== @@ -1042,7 +1066,7 @@ idb-keyval "^6.2.1" unstorage "^1.9.0" -"@walletconnect/logger@2.1.2": +"@walletconnect/logger@2.1.2", "@walletconnect/logger@^2.0.1": version "2.1.2" resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.2.tgz#813c9af61b96323a99f16c10089bfeb525e2a272" integrity sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw== @@ -1075,7 +1099,7 @@ "@walletconnect/modal-core" "2.6.2" "@walletconnect/modal-ui" "2.6.2" -"@walletconnect/relay-api@1.0.10": +"@walletconnect/relay-api@1.0.10", "@walletconnect/relay-api@^1.0.9": version "1.0.10" resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499" integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw== @@ -1123,6 +1147,18 @@ dependencies: tslib "1.14.1" +"@walletconnect/types@2.12.0": + version "2.12.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.12.0.tgz#83e1057c795d41afaeecad3a2776aaa4ba12f5d6" + integrity sha512-uhB3waGmujQVJcPgJvGOpB8RalgYSBT+HpmVbfl4Qe0xJyqpRUo4bPjQa0UYkrHaW20xIw94OuP4+FMLYdeemg== + dependencies: + "@walletconnect/events" "^1.0.1" + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-types" "1.0.3" + "@walletconnect/keyvaluestorage" "^1.1.1" + "@walletconnect/logger" "^2.0.1" + events "^3.3.0" + "@walletconnect/types@2.13.0": version "2.13.0" resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.13.0.tgz#cdac083651f5897084fe9ed62779f11810335ac6" @@ -1150,6 +1186,26 @@ "@walletconnect/utils" "2.13.0" events "3.3.0" +"@walletconnect/utils@2.12.0": + version "2.12.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.12.0.tgz#0a48f114d9c344d390730782d0d7a365814371bf" + integrity sha512-GIpfHUe1Bjp1Tjda0SkJEizKOT2biuv7VPFnKsOLT1T+8QxEP9NruC+K2UUEvijS1Qr/LKH9P5004RYNgrch+w== + dependencies: + "@stablelib/chacha20poly1305" "1.0.1" + "@stablelib/hkdf" "1.0.1" + "@stablelib/random" "^1.0.2" + "@stablelib/sha256" "1.0.1" + "@stablelib/x25519" "^1.0.3" + "@walletconnect/relay-api" "^1.0.9" + "@walletconnect/safe-json" "^1.0.2" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.12.0" + "@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" + "@walletconnect/utils@2.13.0": version "2.13.0" resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.13.0.tgz#1fc1fbff0d26db0830e65d1ba8cfe1a13a0616ad" @@ -1177,7 +1233,7 @@ dependencies: tslib "1.14.1" -"@walletconnect/window-metadata@1.0.1": +"@walletconnect/window-metadata@1.0.1", "@walletconnect/window-metadata@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5" integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA== @@ -1185,6 +1241,107 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" +"@web3modal/common@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/common/-/common-5.0.2.tgz#cbc4ed7458873189a59dbac0488a971a8fd8f996" + integrity sha512-C/6IfYoqlYXEQsud7sJ9dHR7iMZn4lbyhb4DNJYMipvHzzVzujrsTypdoerLQ5YfveZ/5xBO0SqMu5qOEwGtHg== + dependencies: + bignumber.js "9.1.2" + dayjs "1.11.10" + +"@web3modal/core@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/core/-/core-5.0.2.tgz#35c13c3177393b0a9dbd8d53477d0660c32514e8" + integrity sha512-GkhLH4PWPjmHY8GMkvWRs9sNlycehR1iCt+6uJpApcDEy4SczIt5AvrJODjFFSTpVw4C5GfOHusmSd8u3xs3ng== + dependencies: + "@web3modal/common" "5.0.2" + "@web3modal/wallet" "5.0.2" + valtio "1.11.2" + +"@web3modal/polyfills@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/polyfills/-/polyfills-5.0.2.tgz#1826ec53061f139e503844dc3b83610397d1bbed" + integrity sha512-qpKOnN1VcInlUH3j8ZbdxuaL1ChQGmQZdNkGhYk03Fswp6DctuHNYzVD/rWib6O+2ezaA9dBEHaodBFkNmdVUg== + dependencies: + buffer "6.0.3" + +"@web3modal/scaffold-react@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/scaffold-react/-/scaffold-react-5.0.2.tgz#682e85e78eebb249efd3327d5a811a12649cc3a6" + integrity sha512-PmGtyj1QGx0+Jlt4gb8dPVLr2fYG+UDEcmmDf44bIpA/urSvp4uXxH9eInIKJTM6E2d2TpJ8WWc5RPzBZEqOww== + dependencies: + "@web3modal/scaffold" "5.0.2" + +"@web3modal/scaffold-utils@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/scaffold-utils/-/scaffold-utils-5.0.2.tgz#e779b4cb554231372585a4fd1b2ea95f45af0317" + integrity sha512-Me4ShdqdgehnsLY0esFNkTzJs3/Q2fvT70yqBZ2WXT/TCmW4oOx/EjSVXAD5Ha6C9JQEtg8nFN+R+ZdH2Q3fYA== + dependencies: + "@web3modal/core" "5.0.2" + "@web3modal/polyfills" "5.0.2" + valtio "1.11.2" + +"@web3modal/scaffold-vue@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/scaffold-vue/-/scaffold-vue-5.0.2.tgz#bd8df323d57765db743a518a102392396364d0ef" + integrity sha512-94/9ksuNMZqNy3j04VhM2FZkm6S8SvFoAm9+P/hR6bDAQtEOcXrtjikx4M0N9TFhrBc2GAGmigj/7mwnNFPCog== + dependencies: + "@web3modal/scaffold" "5.0.2" + +"@web3modal/scaffold@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/scaffold/-/scaffold-5.0.2.tgz#26b99a1b710835d2589c36256dae875318a15623" + integrity sha512-cpjyY76C5hNFsfyDv6T9s5Lr2Hmp2VIIzWRpRHwAUF3IforweN6Ssl2//nBKpz7F1I37izOtd5lZSGILirhnqA== + dependencies: + "@web3modal/common" "5.0.2" + "@web3modal/core" "5.0.2" + "@web3modal/scaffold-utils" "5.0.2" + "@web3modal/siwe" "5.0.2" + "@web3modal/ui" "5.0.2" + "@web3modal/wallet" "5.0.2" + lit "3.1.0" + +"@web3modal/siwe@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/siwe/-/siwe-5.0.2.tgz#973ead8b1f4435edc6a6a9c8ab57c3a2398b4e6c" + integrity sha512-qZrShg3IRvOaZIH9uHrq7I8oincJ+aQ3y4dHra5NoNFZnXn0mR7pDMPLCBHdqs780ukLvgQo5w7cwDT6pwn58A== + dependencies: + "@walletconnect/utils" "2.12.0" + "@web3modal/core" "5.0.2" + "@web3modal/scaffold-utils" "5.0.2" + lit "3.1.0" + valtio "1.11.2" + +"@web3modal/ui@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/ui/-/ui-5.0.2.tgz#eb2c4af21008653ad5b4beca6b21102900c55746" + integrity sha512-lTbfEAfEW2xdY/jYXK2DtCTUPd5VbDxMOJHG9uItGx6Xcqimk+/SAHQ2RXhEOkKeHI3ihhIN1POZdhIBGHmbcg== + dependencies: + lit "3.1.0" + qrcode "1.5.3" + +"@web3modal/wagmi@^5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/wagmi/-/wagmi-5.0.2.tgz#a02c2467660c374290099134056d9d52622a17f7" + integrity sha512-ROsyIgb3TIumpi4bxFj6N9SKrdLGBMvw7NsJSnwe/raH8Shrc4oSkWucpka4YKHEVW5F10Rs93kiIwJCpqCaMA== + dependencies: + "@walletconnect/ethereum-provider" "2.13.0" + "@web3modal/polyfills" "5.0.2" + "@web3modal/scaffold" "5.0.2" + "@web3modal/scaffold-react" "5.0.2" + "@web3modal/scaffold-utils" "5.0.2" + "@web3modal/scaffold-vue" "5.0.2" + "@web3modal/siwe" "5.0.2" + +"@web3modal/wallet@5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@web3modal/wallet/-/wallet-5.0.2.tgz#1a2a3b190cb16f6185946dc8f959cfdf7442c97d" + integrity sha512-JKAid92A7cjRDj6WPofnSTaq/oCHp0uO5WB8vdoMwrSnCQXjiR2UQsoG/sDa2VaO4QHGEIxgHcrpjtEElpnUDA== + dependencies: + "@walletconnect/logger" "2.1.2" + "@web3modal/polyfills" "5.0.2" + zod "3.22.4" + abitype@0.9.8: version "0.9.8" resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.8.tgz#1f120b6b717459deafd213dfbf3a3dd1bf10ae8c" @@ -1261,6 +1418,11 @@ base64-js@^1.3.1: resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== +bignumber.js@9.1.2: + version "9.1.2" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" + integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== + binary-extensions@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" @@ -1302,7 +1464,7 @@ brorand@^1.1.0: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -buffer@^6.0.3: +buffer@6.0.3, buffer@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== @@ -1584,6 +1746,11 @@ dateformat@^4.6.3: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-4.6.3.tgz#556fa6497e5217fedb78821424f8a1c22fa3f4b5" integrity sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA== +dayjs@1.11.10: + version "1.11.10" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.10.tgz#68acea85317a6e164457d6d6947564029a6a16a0" + integrity sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ== + debug@^4.3.4, debug@~4.3.1, debug@~4.3.2: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" @@ -2414,6 +2581,15 @@ lit-element@^3.3.0: "@lit/reactive-element" "^1.3.0" lit-html "^2.8.0" +lit-element@^4.0.0: + version "4.0.6" + resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-4.0.6.tgz#b9f5b5d68f30636be1314ec76c9a73a6405f04dc" + integrity sha512-U4sdJ3CSQip7sLGZ/uJskO5hGiqtlpxndsLr6mt3IQIjheg93UKYeGQjWMRql1s/cXNOaRrCzC2FQwjIwSUqkg== + dependencies: + "@lit-labs/ssr-dom-shim" "^1.2.0" + "@lit/reactive-element" "^2.0.4" + lit-html "^3.1.2" + lit-html@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.8.0.tgz#96456a4bb4ee717b9a7d2f94562a16509d39bffa" @@ -2421,6 +2597,13 @@ lit-html@^2.8.0: dependencies: "@types/trusted-types" "^2.0.2" +lit-html@^3.1.0, lit-html@^3.1.2: + version "3.1.4" + resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-3.1.4.tgz#30ad4f11467a61e2f08856de170e343184e9034e" + integrity sha512-yKKO2uVv7zYFHlWMfZmqc+4hkmSbFp8jgjdZY9vvR9jr4J8fH6FUMXhr+ljfELgmjpvlF7Z1SJ5n5/Jeqtc9YA== + dependencies: + "@types/trusted-types" "^2.0.2" + lit@2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/lit/-/lit-2.8.0.tgz#4d838ae03059bf9cafa06e5c61d8acc0081e974e" @@ -2430,6 +2613,15 @@ lit@2.8.0: lit-element "^3.3.0" lit-html "^2.8.0" +lit@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/lit/-/lit-3.1.0.tgz#76429b85dc1f5169fed499a0f7e89e2e619010c9" + integrity sha512-rzo/hmUqX8zmOdamDAeydfjsGXbbdtAFqMhmocnh2j9aDYqbu0fjXygjCa0T99Od9VQ/2itwaGrjZz/ZELVl7w== + dependencies: + "@lit/reactive-element" "^2.0.0" + lit-element "^4.0.0" + lit-html "^3.1.0" + load-tsconfig@^0.2.3: version "0.2.5" resolved "https://registry.yarnpkg.com/load-tsconfig/-/load-tsconfig-0.2.5.tgz#453b8cd8961bfb912dea77eb6c168fe8cca3d3a1" @@ -3047,6 +3239,11 @@ react-dom@^18.2.0: loose-envify "^1.1.0" scheduler "^0.23.2" +react-hook-form@^7.51.5: + version "7.51.5" + resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.51.5.tgz#4afbfb819312db9fea23e8237a3a0d097e128b43" + integrity sha512-J2ILT5gWx1XUIJRETiA7M19iXHlG74+6O3KApzvqB/w8S5NQR7AbU8HVZrMALdmDgWpRPYiZJl0zx8Z4L2mP6Q== + react-native-webview@^11.26.0: version "11.26.1" resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-11.26.1.tgz#658c09ed5162dc170b361e48c2dd26c9712879da" @@ -3456,7 +3653,7 @@ uint8arrays@3.1.0: dependencies: multiformats "^9.4.2" -uint8arrays@^3.0.0: +uint8arrays@^3.0.0, uint8arrays@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0" integrity sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg== @@ -3780,6 +3977,11 @@ yocto-queue@^1.0.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== +zod@3.22.4: + version "3.22.4" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff" + integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg== + zod@^3.22.2: version "3.23.8" resolved "https://registry.yarnpkg.com/zod/-/zod-3.23.8.tgz#e37b957b5d52079769fb8097099b592f0ef4067d"