diff --git a/apps/web/app/(home)/[network]/page.tsx b/apps/web/app/(home)/[network]/page.tsx index aab44536c..7a1f06e9b 100644 --- a/apps/web/app/(home)/[network]/page.tsx +++ b/apps/web/app/(home)/[network]/page.tsx @@ -18,33 +18,9 @@ interface Props { } export async function generateMetadata(props: Props): Promise { - console.log( - `==================[generateMetadata (/${props.params.network})]==================`, - ); const network = await getSingleNetwork(props.params.network); - console.dir( - { - network, - }, - { depth: null }, - ); if (!network) notFound(); - console.log({ - title: `${capitalize(network.brand)}`, - description: `A block explorer for the ${capitalize(network.brand)} ecosystem.`, - openGraph: { - url: `/${network.slug}`, - type: "website", - images: [ - { - url: `${env.NEXT_PUBLIC_PRODUCTION_URL}/api/og?model=network-home&networkSlug=${network.slug}`, - ...OG_SIZE, - }, - ], - }, - }); - return { title: `${capitalize(network.brand)}`, description: `A block explorer for the ${capitalize(network.brand)} ecosystem.`, @@ -62,27 +38,12 @@ export async function generateMetadata(props: Props): Promise { } export default async function NetworkWidgetPage({ params }: Props) { - console.log( - `==================[PAGE (/${params.network})]==================`, - ); const network = await getSingleNetwork(params.network); - console.dir( - { - network, - }, - { depth: null }, - ); // this fixes a bug on vercel with build where it would throw if the network doesn't // exist (even though technically it should always exist) if (!network) notFound(); - console.dir( - { - layout: network.config.widgetLayout, - }, - { depth: null }, - ); switch (network.config.widgetLayout) { case "SVM": return ( @@ -106,9 +67,6 @@ export default async function NetworkWidgetPage({ params }: Props) { } export async function generateStaticParams() { - console.log( - `==================[generateStaticParams (/[network])]==================`, - ); const paidNetworks = await getAllPaidNetworks(); return paidNetworks.map((network) => ({ network: network.slug })); } diff --git a/apps/web/lib/network.ts b/apps/web/lib/network.ts index 4ae659b13..84d406f33 100644 --- a/apps/web/lib/network.ts +++ b/apps/web/lib/network.ts @@ -115,13 +115,6 @@ async function getSingleNetworkFetch(slug: string) { integration.config.widgetLayout = "Dymension"; integration.config.primaryColor = "29 13% 45%"; } - - console.dir( - { - integration, - }, - { depth: null }, - ); return integration; } catch (error) { return null; diff --git a/apps/web/package.json b/apps/web/package.json index 467c6d55f..bca06eacf 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -56,7 +56,7 @@ "dayjs": "^1.11.7", "decimal.js": "^10.4.3", "lucide-react": "^0.259.0", - "next": "^14.1.1-canary.53", + "next": "^14.2.0-canary.39", "react": "^18.2.0", "react-day-picker": "^8.10.0", "react-dom": "^18.2.0", diff --git a/package-lock.json b/package-lock.json index 5880a7ac0..64217a479 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,8 @@ "resolver/*" ], "dependencies": { - "@todesktop/runtime": "^1.6.1" + "@todesktop/runtime": "^1.6.1", + "electron-log": "^5.1.2" }, "devDependencies": { "commitlint": "^18.6.1", @@ -104,7 +105,7 @@ "dayjs": "^1.11.7", "decimal.js": "^10.4.3", "lucide-react": "^0.259.0", - "next": "^14.1.1-canary.53", + "next": "^14.2.0-canary.39", "react": "^18.2.0", "react-day-picker": "^8.10.0", "react-dom": "^18.2.0", @@ -3103,15 +3104,17 @@ } }, "node_modules/@next/env": { - "version": "14.1.1-canary.53", - "license": "MIT" + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.0-canary.39.tgz", + "integrity": "sha512-ROeqwq9mybhzfdzNDbz9/0e3fFB6gtC25NZNC/rhZzvgkTvUuYXUbJOJSvvtsoUjQolTCFOhZqKmopX+QgwYwQ==" }, "node_modules/@next/swc-darwin-arm64": { - "version": "14.1.1-canary.53", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.0-canary.39.tgz", + "integrity": "sha512-ImAEFQBac/jYFCQYAEOxLZlzZfoa0GnbmXlGruzyNXl7RG3gJ3OBXx6G/puySAdytp54tArmr+0h+xoEXbop2Q==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -3121,9 +3124,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "14.1.1-canary.53", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.1-canary.53.tgz", - "integrity": "sha512-P6RR+Tq+TCFfyIc5ur9EC84iEn4SGS5E3hj0ImDBCtJIQ5dYrZ0MkKGnAlVPU7zngSUSVoizrRoitSbPzw2UzQ==", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.0-canary.39.tgz", + "integrity": "sha512-2q0F3L261vYPOrn7KXLX5SzfMe8yPRs0plnExpV2MwQjikt5OhlUdGwRRyEFT0DS0S0cyaKw00nENxBuDi7VyA==", "cpu": [ "x64" ], @@ -3136,9 +3139,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.1.1-canary.53", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.1-canary.53.tgz", - "integrity": "sha512-e0AtUZB5zzcCnge4SEOLHgXJ8s2aM+ANQ9u/7HjroGpTpVemgar6P5Q0p9xA+VuDBFo/1ykklmzfru8YMaD7ZA==", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.0-canary.39.tgz", + "integrity": "sha512-efraDAfAjQosfUdW8ZMjnrH3/mveQQxs055BdGfh+L0+hlTf05ECUH07tg3AKqihhnk+sgJUqigR5ZSsUYrqsw==", "cpu": [ "arm64" ], @@ -3151,9 +3154,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.1.1-canary.53", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.1-canary.53.tgz", - "integrity": "sha512-NTp1dSpvEjZ7MdhzsNKexg3PiOmZJPJ8hvfMiz5imjlLZU4fNVP0mamZpXflUMSvrUxQYtC5vInUAfYxLpYVMA==", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.0-canary.39.tgz", + "integrity": "sha512-Eb6+d3XkhwaEd69OoTOa4/scqQJtCUiZrmWjR0sVbW3QJ0wWu2o5gz8mInYsLeLwxN+HDy1aDuQSl3hp2PwBbQ==", "cpu": [ "arm64" ], @@ -3166,9 +3169,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.1.1-canary.53", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.1-canary.53.tgz", - "integrity": "sha512-sjOmz7cwYUytbnqAIV8Lu87oYdZxhoUM/J5bBPxAexgqSqnhtfMdEmNqvuczQekCR+rdklZqkJtOyCIyfuz2MA==", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.0-canary.39.tgz", + "integrity": "sha512-HKkx1WCMsycDFOp76avVMCIGm/E0jw3yugfyIc/g1vRIh6fTOZ9iyLd1Uannu4MorTxGWS4g1ZRr1C5/9Ve8kg==", "cpu": [ "x64" ], @@ -3181,9 +3184,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "14.1.1-canary.53", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.1-canary.53.tgz", - "integrity": "sha512-KEWjR9nuZFCxntcnnGxl4QRvawclUcWvbJhMRgVAM4CM1iLH10a+WholjY7JchsROfjr72Q9l1ZK4AhH4uzEvA==", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.0-canary.39.tgz", + "integrity": "sha512-9W/UTFugvG0fYhNK5IqahiwldH3JSXmF2iCzQMbGMpyhjvOn1UirEZPwkMXz6tdSGXVHwxvvsuhZhZgBIt8csw==", "cpu": [ "x64" ], @@ -3196,9 +3199,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.1.1-canary.53", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.1-canary.53.tgz", - "integrity": "sha512-GYxywmzN0pXZarEtMX4CgB4Zhrl9lidiP6q0uBtkRpFCvfIVbQlQ61LFatfSIyekWhdRFvlNXdiJRPc8rfkMqw==", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.0-canary.39.tgz", + "integrity": "sha512-rtG2wYP3Sa67F2AqaX2qISefZbc/KN0fj5gPx3ReFIuK8/p6tR/L063xvyNmBZs22DZuc07EaFCQ9Px7EB0C2Q==", "cpu": [ "arm64" ], @@ -3211,9 +3214,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.1.1-canary.53", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.1-canary.53.tgz", - "integrity": "sha512-j8OJ7yl/Bo7PVJOs/GZkYtrhLgtGmlWhgqxeCVx5yu6pF5wbvYNnG9ceOrE2iIuuSGXScLGfhs2nnROD9TLfbQ==", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.0-canary.39.tgz", + "integrity": "sha512-Qh3vNCQQqghFuX4XhKuBhlleaRNIVFTspFMMKdQKFoATVVZh5n/PEeGEIgwjZjsjwfLPI82fkIvxhZkPujcAgg==", "cpu": [ "ia32" ], @@ -3226,9 +3229,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.1.1-canary.53", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.1-canary.53.tgz", - "integrity": "sha512-P9cOeytMEK2QfQBOWs172Oj67F2rVLSmTOd3PFm1l87aaraQNOWErHQBQW/xYnFeVs83KS23Tmxxv6weeRCnMA==", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.0-canary.39.tgz", + "integrity": "sha512-CPFzgcPYamtJpHtrHr55LsZ9g95l9vnm85OckaDQCK+359z4sgWk5Jp2ortPN/ZorDk+KjiixrE8x1Ix07Mk9g==", "cpu": [ "x64" ], @@ -12875,10 +12878,11 @@ } }, "node_modules/next": { - "version": "14.1.1-canary.53", - "license": "MIT", + "version": "14.2.0-canary.39", + "resolved": "https://registry.npmjs.org/next/-/next-14.2.0-canary.39.tgz", + "integrity": "sha512-sTAsUnf7ihBdvN0XwiPKe6kfqxUeEZJaHVOR5RIt2LJ2OnI1mVAp875hjKNxDeOxg2TjpxQCWiEEeKE8IV/tvw==", "dependencies": { - "@next/env": "14.1.1-canary.53", + "@next/env": "14.2.0-canary.39", "@swc/helpers": "0.5.5", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", @@ -12893,15 +12897,15 @@ "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "14.1.1-canary.53", - "@next/swc-darwin-x64": "14.1.1-canary.53", - "@next/swc-linux-arm64-gnu": "14.1.1-canary.53", - "@next/swc-linux-arm64-musl": "14.1.1-canary.53", - "@next/swc-linux-x64-gnu": "14.1.1-canary.53", - "@next/swc-linux-x64-musl": "14.1.1-canary.53", - "@next/swc-win32-arm64-msvc": "14.1.1-canary.53", - "@next/swc-win32-ia32-msvc": "14.1.1-canary.53", - "@next/swc-win32-x64-msvc": "14.1.1-canary.53" + "@next/swc-darwin-arm64": "14.2.0-canary.39", + "@next/swc-darwin-x64": "14.2.0-canary.39", + "@next/swc-linux-arm64-gnu": "14.2.0-canary.39", + "@next/swc-linux-arm64-musl": "14.2.0-canary.39", + "@next/swc-linux-x64-gnu": "14.2.0-canary.39", + "@next/swc-linux-x64-musl": "14.2.0-canary.39", + "@next/swc-win32-arm64-msvc": "14.2.0-canary.39", + "@next/swc-win32-ia32-msvc": "14.2.0-canary.39", + "@next/swc-win32-x64-msvc": "14.2.0-canary.39" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0",