diff --git a/app/(pages)/withdrawal/page.tsx b/app/(pages)/withdrawal/page.tsx index c71318e..6280346 100644 --- a/app/(pages)/withdrawal/page.tsx +++ b/app/(pages)/withdrawal/page.tsx @@ -5,7 +5,7 @@ import { Loader } from "@/comps" import { useMain } from "@/contract" import SavingsCards from "./Savings" - +// https://github.com/Philix27/SupaSave export default function WithdrawalPage() { const { userAddress } = useMain() diff --git a/package.json b/package.json index 3772de6..6dd3f8f 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@hookform/resolvers": "^3.9.0", "@rainbow-me/rainbowkit": "^2.1.1", "@tanstack/react-query": "^5.40.0", + "@vercel/analytics": "^1.3.1", "class-variance-authority": "^0.4.0", "clsx": "^1.2.1", "ethers": "^6.12.1", diff --git a/yarn.lock b/yarn.lock index eb75554..cc04cbf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -320,57 +320,6 @@ ethereum-cryptography "^2.0.0" micro-ftch "^0.3.1" -"@floating-ui/core@^1.0.0": - version "1.6.2" - resolved "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.2.tgz" - integrity sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg== - dependencies: - "@floating-ui/utils" "^0.2.0" - -"@floating-ui/dom@^1.0.0": - version "1.6.5" - resolved "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.5.tgz" - integrity sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw== - dependencies: - "@floating-ui/core" "^1.0.0" - "@floating-ui/utils" "^0.2.0" - -"@floating-ui/react-dom@^2.1.0": - version "2.1.0" - resolved "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.0.tgz" - integrity sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA== - dependencies: - "@floating-ui/dom" "^1.0.0" - -"@floating-ui/react@^0.26.13": - version "0.26.16" - resolved "https://registry.npmjs.org/@floating-ui/react/-/react-0.26.16.tgz" - integrity sha512-HEf43zxZNAI/E781QIVpYSF3K2VH4TTYZpqecjdsFkjsaU1EbaWcM++kw0HXFffj7gDUcBFevX8s0rQGQpxkow== - dependencies: - "@floating-ui/react-dom" "^2.1.0" - "@floating-ui/utils" "^0.2.0" - tabbable "^6.0.0" - -"@floating-ui/utils@^0.2.0": - version "0.2.2" - resolved "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz" - integrity sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw== - -"@headlessui/react@^2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@headlessui/react/-/react-2.0.4.tgz" - integrity sha512-16d/rOLeYsFsmPlRmXGu8DCBzrWD0zV1Ccx3n73wN87yFu8Y9+X04zflv8EJEt9TAYRyLKOmQXUnOnqQl6NgpA== - dependencies: - "@floating-ui/react" "^0.26.13" - "@react-aria/focus" "^3.16.2" - "@react-aria/interactions" "^3.21.1" - "@tanstack/react-virtual" "3.5.0" - -"@heroicons/react@^2.1.3": - version "2.1.3" - resolved "https://registry.npmjs.org/@heroicons/react/-/react-2.1.3.tgz" - integrity sha512-fEcPfo4oN345SoqdlCDdSa4ivjaKbk0jTd+oubcgNxnNgAfzysfwWfQUr+51wigiWHQQRiZNd1Ao0M5Y3M2EGg== - "@hookform/resolvers@^3.9.0": version "3.9.0" resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-3.9.0.tgz#cf540ac21c6c0cd24a40cf53d8e6d64391fb753d" @@ -897,57 +846,6 @@ react-remove-scroll "2.5.7" ua-parser-js "^1.0.37" -"@react-aria/focus@^3.16.2": - version "3.17.1" - resolved "https://registry.npmjs.org/@react-aria/focus/-/focus-3.17.1.tgz" - integrity sha512-FLTySoSNqX++u0nWZJPPN5etXY0WBxaIe/YuL/GTEeuqUIuC/2bJSaw5hlsM6T2yjy6Y/VAxBcKSdAFUlU6njQ== - dependencies: - "@react-aria/interactions" "^3.21.3" - "@react-aria/utils" "^3.24.1" - "@react-types/shared" "^3.23.1" - "@swc/helpers" "^0.5.0" - clsx "^2.0.0" - -"@react-aria/interactions@^3.21.1", "@react-aria/interactions@^3.21.3": - version "3.21.3" - resolved "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.21.3.tgz" - integrity sha512-BWIuf4qCs5FreDJ9AguawLVS0lV9UU+sK4CCnbCNNmYqOWY+1+gRXCsnOM32K+oMESBxilAjdHW5n1hsMqYMpA== - dependencies: - "@react-aria/ssr" "^3.9.4" - "@react-aria/utils" "^3.24.1" - "@react-types/shared" "^3.23.1" - "@swc/helpers" "^0.5.0" - -"@react-aria/ssr@^3.9.4": - version "3.9.4" - resolved "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.4.tgz" - integrity sha512-4jmAigVq409qcJvQyuorsmBR4+9r3+JEC60wC+Y0MZV0HCtTmm8D9guYXlJMdx0SSkgj0hHAyFm/HvPNFofCoQ== - dependencies: - "@swc/helpers" "^0.5.0" - -"@react-aria/utils@^3.24.1": - version "3.24.1" - resolved "https://registry.npmjs.org/@react-aria/utils/-/utils-3.24.1.tgz" - integrity sha512-O3s9qhPMd6n42x9sKeJ3lhu5V1Tlnzhu6Yk8QOvDuXf7UGuUjXf9mzfHJt1dYzID4l9Fwm8toczBzPM9t0jc8Q== - dependencies: - "@react-aria/ssr" "^3.9.4" - "@react-stately/utils" "^3.10.1" - "@react-types/shared" "^3.23.1" - "@swc/helpers" "^0.5.0" - clsx "^2.0.0" - -"@react-stately/utils@^3.10.1": - version "3.10.1" - resolved "https://registry.npmjs.org/@react-stately/utils/-/utils-3.10.1.tgz" - integrity sha512-VS/EHRyicef25zDZcM/ClpzYMC5i2YGN6uegOeQawmgfGjb02yaCX0F0zR69Pod9m2Hr3wunTbtpgVXvYbZItg== - dependencies: - "@swc/helpers" "^0.5.0" - -"@react-types/shared@^3.23.1": - version "3.23.1" - resolved "https://registry.npmjs.org/@react-types/shared/-/shared-3.23.1.tgz" - integrity sha512-5d+3HbFDxGZjhbMBeFHRQhexMFt4pUce3okyRtUVKbbedQFUrtXSBg9VszgF2RTeQDKDkMCIQDtz5ccP/Lk1gw== - "@rushstack/eslint-patch@^1.1.3": version "1.8.0" resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.8.0.tgz" @@ -1152,7 +1050,7 @@ "@stablelib/random" "^1.0.2" "@stablelib/wipe" "^1.0.1" -"@swc/helpers@0.5.2", "@swc/helpers@^0.5.0": +"@swc/helpers@0.5.2": version "0.5.2" resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz" integrity sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw== @@ -1171,18 +1069,6 @@ dependencies: "@tanstack/query-core" "5.40.0" -"@tanstack/react-virtual@3.5.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.5.0.tgz" - integrity sha512-rtvo7KwuIvqK9zb0VZ5IL7fiJAEnG+0EiFZz8FUOs+2mhGqdGmjKIaT1XU7Zq0eFqL0jonLlhbayJI/J2SA/Bw== - dependencies: - "@tanstack/virtual-core" "3.5.0" - -"@tanstack/virtual-core@3.5.0": - version "3.5.0" - resolved "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.5.0.tgz" - integrity sha512-KnPRCkQTyqhanNC0K63GBG3wA8I+D1fQuVnAvcBF8f13akOKeQp1gSbu6f77zCxhEk727iV5oQnbHLYzHrECLg== - "@types/debug@^4.1.7": version "4.1.12" resolved "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz" @@ -2124,11 +2010,6 @@ clsx@^1.2.1: resolved "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz" integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== -clsx@^2.0.0: - version "2.1.1" - resolved "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz" - integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA== - color-convert@^1.9.0: version "1.9.3" resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" @@ -3147,13 +3028,6 @@ fraction.js@^4.3.7: resolved "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz" integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== -framer-motion@^11.0.25: - version "11.0.25" - resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-11.0.25.tgz" - integrity sha512-mRt7vQGzA7++wTgb+PW1TrlXXgndqR6hCiJ48fXr2X9alte2hPQiAq556HRwDCt0Q5X98MNvcSe4KUa27Gm5Lg== - dependencies: - tslib "^2.4.0" - fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz" @@ -4059,11 +3933,6 @@ lru-cache@^6.0.0: resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz" integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== -lucide-react@0.105.0-alpha.4: - version "0.105.0-alpha.4" - resolved "https://registry.npmjs.org/lucide-react/-/lucide-react-0.105.0-alpha.4.tgz" - integrity sha512-QclWOzKYj7sDW33jTQK4enmxL1LmI2SHFqEEP56EWhvs4mmlbbFe6ALYcdcdGysNISNovEbH5WBHg8tN5DLn0w== - media-query-parser@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/media-query-parser/-/media-query-parser-2.0.2.tgz" @@ -4231,11 +4100,6 @@ natural-compare@^1.4.0: resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== -next-themes@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/next-themes/-/next-themes-0.2.1.tgz" - integrity sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A== - next@^13.4.8: version "13.5.6" resolved "https://registry.npmjs.org/next/-/next-13.5.6.tgz" @@ -5494,11 +5358,6 @@ system-architecture@^0.1.0: resolved "https://registry.npmjs.org/system-architecture/-/system-architecture-0.1.0.tgz" integrity sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA== -tabbable@^6.0.0: - version "6.2.0" - resolved "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz" - integrity sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew== - tailwind-merge@^1.13.2: version "1.14.0" resolved "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-1.14.0.tgz"