From 704b3d252ee9e98fa2033343473a6e3b13d4be2c Mon Sep 17 00:00:00 2001 From: Alain Nicolas Date: Sun, 7 Jan 2024 00:51:43 +0100 Subject: [PATCH 01/60] feat: Better Web3Modal support for the website (#507) --- .github/workflows/website-deploy.yml | 3 +++ website/src/assets/arbitrum-mainnet.svg | 36 +++++++++++++++++++++++++ website/src/assets/arbitrum-testnet.svg | 36 +++++++++++++++++++++++++ website/src/assets/linea-mainnet.svg | 7 +++++ website/src/assets/linea-testnet.svg | 7 +++++ website/src/main.tsx | 19 +++++++++++-- 6 files changed, 106 insertions(+), 2 deletions(-) create mode 100644 website/src/assets/arbitrum-mainnet.svg create mode 100644 website/src/assets/arbitrum-testnet.svg create mode 100644 website/src/assets/linea-mainnet.svg create mode 100644 website/src/assets/linea-testnet.svg diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index a8e232c8..af9bfb04 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -61,6 +61,9 @@ jobs: - name: Build run: pnpm run build + env: + VITE_WALLETCONNECT_PROJECT_ID: ${{ secrets.VITE_WALLETCONNECT_PROJECT_ID }} + VITE_INFURA_API_KEY: ${{ secrets.VITE_INFURA_API_KEY }} - name: Setup Pages uses: actions/configure-pages@v3 diff --git a/website/src/assets/arbitrum-mainnet.svg b/website/src/assets/arbitrum-mainnet.svg new file mode 100644 index 00000000..ae766afc --- /dev/null +++ b/website/src/assets/arbitrum-mainnet.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + diff --git a/website/src/assets/arbitrum-testnet.svg b/website/src/assets/arbitrum-testnet.svg new file mode 100644 index 00000000..ea09a8cc --- /dev/null +++ b/website/src/assets/arbitrum-testnet.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + diff --git a/website/src/assets/linea-mainnet.svg b/website/src/assets/linea-mainnet.svg new file mode 100644 index 00000000..e77dbeea --- /dev/null +++ b/website/src/assets/linea-mainnet.svg @@ -0,0 +1,7 @@ + + + + diff --git a/website/src/assets/linea-testnet.svg b/website/src/assets/linea-testnet.svg new file mode 100644 index 00000000..0eddf2a8 --- /dev/null +++ b/website/src/assets/linea-testnet.svg @@ -0,0 +1,7 @@ + + + + diff --git a/website/src/main.tsx b/website/src/main.tsx index ec27a57e..953bd88f 100644 --- a/website/src/main.tsx +++ b/website/src/main.tsx @@ -3,8 +3,12 @@ import ReactDOM from "react-dom/client"; import App from "./App.tsx"; import "./index.css"; import { WagmiConfig } from "wagmi"; -import { linea, lineaTestnet, arbitrum, arbitrumGoerli, mainnet } from "wagmi/chains"; +import { arbitrum, arbitrumGoerli, linea, lineaTestnet, mainnet } from "wagmi/chains"; import { createWeb3Modal, defaultWagmiConfig } from "@web3modal/wagmi/react"; +import LineaMainnetIcon from "./assets/linea-mainnet.svg"; +import LineaTestnetIcon from "./assets/linea-testnet.svg"; +import ArbitrumMainnetIcon from "./assets/arbitrum-mainnet.svg"; +import ArbitrumTestnetIcon from "./assets/arbitrum-testnet.svg"; const projectId = import.meta.env.VITE_WALLETCONNECT_PROJECT_ID || ""; @@ -16,7 +20,18 @@ const metadata = { const chains = [linea, lineaTestnet, arbitrum, arbitrumGoerli, mainnet]; const wagmiConfig = defaultWagmiConfig({ chains, projectId, metadata }); -createWeb3Modal({ wagmiConfig, projectId, chains }); +createWeb3Modal({ + wagmiConfig, + projectId, + chains, + defaultChain: linea, + chainImages: { + 59144: LineaMainnetIcon, + 59140: LineaTestnetIcon, + 42161: ArbitrumMainnetIcon, + 421613: ArbitrumTestnetIcon, + }, +}); ReactDOM.createRoot(document.getElementById("root")!).render( From 8a887ec1721435ce97194aed7416730d8b4f599d Mon Sep 17 00:00:00 2001 From: Alain Nicolas Date: Mon, 8 Jan 2024 14:33:26 +0100 Subject: [PATCH 02/60] feat: As a User, I want fully decoded Attestations payloads (#505) --- sdk/src/utils/abiCoder.ts | 57 +++++++++++++++++-- .../Attestation.integration.test.ts | 2 +- 2 files changed, 52 insertions(+), 7 deletions(-) diff --git a/sdk/src/utils/abiCoder.ts b/sdk/src/utils/abiCoder.ts index d626697d..8d871a36 100644 --- a/sdk/src/utils/abiCoder.ts +++ b/sdk/src/utils/abiCoder.ts @@ -1,4 +1,6 @@ -import { decodeAbiParameters, encodeAbiParameters, parseAbiParameters } from "viem"; +import { BaseError, decodeAbiParameters, encodeAbiParameters, parseAbiParameters } from "viem"; + +const ENCODED_PARENTHESIS: `0x${string}` = "0x0000000000000000000000000000000000000000000000000000000000000020"; export function encode(schema: string, values: unknown[]): `0x${string}` { return encodeAbiParameters(parseAbiParameters(schema), values); @@ -9,13 +11,56 @@ export function decode(schema: string, attestationData: `0x${string}`): readonly } export function decodeWithRetry(schema: string, attestationData: `0x${string}`): readonly unknown[] { + const wrappedSchema = schema.startsWith("(") ? schema : `(${schema})`; + let result = decodeWrapped(wrappedSchema, attestationData); + + if (!result.length && !attestationData.startsWith(ENCODED_PARENTHESIS)) { + result = decodeWrapped(wrappedSchema, `${ENCODED_PARENTHESIS}${attestationData.substring(2)}`); + } + + return result; +} + +function decodeWrapped(schema: string, attestationData: `0x${string}`): readonly unknown[] { try { - return decodeAbiParameters(parseAbiParameters(schema), attestationData); + const parsedParams = tryParse(schema); + return decodeAbiParameters(parsedParams, attestationData); } catch (e) { - try { - return decodeAbiParameters(parseAbiParameters(`(${schema})`), attestationData); - } catch (e) { - return []; + return []; + } +} + +function tryParse(schema: string): readonly unknown[] { + try { + return parseAbiParameters(schema); + } catch (e) { + if ((e as BaseError).shortMessage === "Invalid ABI parameter.") { + try { + return parseAbiParameters(reverseSchema(schema)); + } catch (e) { + return []; + } } + return []; } } + +function reverseSchema(schema: string): string { + return schema.startsWith("(") + ? `(${reverseWordsTwoByTwo(schema.substring(1, schema.length - 1))})` + : reverseWordsTwoByTwo(schema); +} + +function reverseWordsTwoByTwo(schema: string): string { + return schema + .split(" ") + .reduce((acc: string[], word: string, i: number) => { + if (i % 2 === 0) { + acc.push(word); + } else { + acc.unshift(word); + } + return acc; + }, []) + .join(" "); +} diff --git a/sdk/test/integration/Attestation.integration.test.ts b/sdk/test/integration/Attestation.integration.test.ts index 95b66a21..9ff14179 100644 --- a/sdk/test/integration/Attestation.integration.test.ts +++ b/sdk/test/integration/Attestation.integration.test.ts @@ -28,7 +28,7 @@ describe("AttestationDataMapper", () => { expect(result?.attestationData).toEqual("0x0000000000000000000000000000000000000000000000000000000000000004"); expect(result?.schemaString).toEqual("uint8"); expect(result?.decodedData).toEqual(["0x4"]); - expect(result?.decodedPayload).toEqual([4]); + expect(result?.decodedPayload).toEqual([{ rating: 4 }]); }); }); From 0d9322f496070d7d1fab2d79812584ca84e6b70e Mon Sep 17 00:00:00 2001 From: Alain Nicolas Date: Tue, 9 Jan 2024 12:42:20 +0100 Subject: [PATCH 03/60] chore: Update the SDK for website & explorer (#511) --- explorer/package.json | 2 +- .../components/AttestationData/utils.ts | 1 + pnpm-lock.yaml | 284 ++++++++---------- sdk/package.json | 2 +- website/package.json | 2 +- 5 files changed, 128 insertions(+), 163 deletions(-) diff --git a/explorer/package.json b/explorer/package.json index a2960477..32242763 100644 --- a/explorer/package.json +++ b/explorer/package.json @@ -26,7 +26,7 @@ "dependencies": { "@radix-ui/react-dropdown-menu": "^2.0.6", "@tanstack/react-table": "^8.10.7", - "@verax-attestation-registry/verax-sdk": "1.0.2", + "@verax-attestation-registry/verax-sdk": "1.1.0", "@wagmi/core": "^1.4.7", "abitype": "^0.10.3", "class-variance-authority": "^0.7.0", diff --git a/explorer/src/pages/Attestation/components/AttestationData/utils.ts b/explorer/src/pages/Attestation/components/AttestationData/utils.ts index 59fb03b1..5b19aadc 100644 --- a/explorer/src/pages/Attestation/components/AttestationData/utils.ts +++ b/explorer/src/pages/Attestation/components/AttestationData/utils.ts @@ -1,4 +1,5 @@ export const getAttestationData = (decodedPayload: unknown): string => { + decodedPayload = Array.isArray(decodedPayload) && decodedPayload.length === 1 ? decodedPayload[0] : decodedPayload; return JSON.stringify(decodedPayload, (_key, value) => (typeof value === "bigint" ? value.toString() : value)); }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 84405621..1f23ca23 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -80,14 +80,14 @@ importers: specifier: ^8.10.7 version: 8.10.7(react-dom@18.2.0)(react@18.2.0) '@verax-attestation-registry/verax-sdk': - specifier: 1.0.2 - version: 1.0.2(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2)(zod@3.22.4) + specifier: 1.1.0 + version: 1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2) '@wagmi/core': specifier: ^1.4.7 - version: 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) + version: 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) abitype: specifier: ^0.10.3 - version: 0.10.3(typescript@5.2.2)(zod@3.22.4) + version: 0.10.3(typescript@5.2.2) class-variance-authority: specifier: ^0.7.0 version: 0.7.0 @@ -147,7 +147,7 @@ importers: version: 4.2.1(typescript@5.2.2)(vite@4.5.1) wagmi: specifier: ^1.4.6 - version: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) + version: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) devDependencies: '@types/node': specifier: ^20.9.2 @@ -507,8 +507,8 @@ importers: specifier: ^2.1.0 version: 2.1.0(react@18.2.0) '@verax-attestation-registry/verax-sdk': - specifier: 1.0.2 - version: 1.0.2(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2)(zod@3.22.4) + specifier: 1.1.0 + version: 1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2) '@web3modal/wagmi': specifier: ^3.5.0 version: 3.5.4(@types/react@18.2.37)(@wagmi/core@1.4.7)(typescript@5.2.2)(viem@1.18.9) @@ -529,7 +529,7 @@ importers: version: 1.18.9(typescript@5.2.2)(zod@3.22.4) wagmi: specifier: ^1.4.6 - version: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) + version: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) devDependencies: '@types/react': specifier: ^18.2.37 @@ -656,7 +656,7 @@ packages: '@babel/generator': 7.23.4 '@babel/parser': 7.23.6 '@babel/runtime': 7.23.5 - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 babel-preset-fbjs: 3.4.0(@babel/core@7.23.3) chalk: 4.1.2 @@ -685,7 +685,7 @@ packages: '@babel/generator': 7.23.4 '@babel/parser': 7.23.6 '@babel/runtime': 7.23.5 - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 babel-preset-fbjs: 3.4.0(@babel/core@7.23.3) chalk: 4.1.2 @@ -783,10 +783,10 @@ packages: '@babel/helpers': 7.23.2 '@babel/parser': 7.23.0 '@babel/template': 7.22.15 - '@babel/traverse': 7.23.2 + '@babel/traverse': 7.23.2(supports-color@5.5.0) '@babel/types': 7.23.0 convert-source-map: 2.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -806,10 +806,10 @@ packages: '@babel/helpers': 7.23.2 '@babel/parser': 7.23.4 '@babel/template': 7.22.15 - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 convert-source-map: 2.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -937,7 +937,7 @@ packages: '@babel/core': 7.23.2 '@babel/helper-compilation-targets': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: @@ -952,7 +952,7 @@ packages: '@babel/core': 7.23.3 '@babel/helper-compilation-targets': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: @@ -1127,7 +1127,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.22.15 - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 transitivePeerDependencies: - supports-color @@ -3364,24 +3364,6 @@ packages: '@babel/parser': 7.23.0 '@babel/types': 7.23.0 - /@babel/traverse@7.23.2: - resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.23.4 - '@babel/generator': 7.23.4 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.4 - '@babel/types': 7.23.4 - debug: 4.3.4(supports-color@8.1.1) - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/traverse@7.23.2(supports-color@5.5.0): resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} engines: {node: '>=6.9.0'} @@ -3399,23 +3381,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/traverse@7.23.4: - resolution: {integrity: sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.23.4 - '@babel/generator': 7.23.4 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-function-name': 7.23.0 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.6 - '@babel/types': 7.23.4 - debug: 4.3.4(supports-color@8.1.1) - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - /@babel/traverse@7.23.4(supports-color@5.5.0): resolution: {integrity: sha512-IYM8wSUwunWTB6tFC2dkKZhxbIjHoWemdK+3f8/wq8aKhbUscxD5MX72ubd90fxvFknaLPeGw5ycU84V1obHJg==} engines: {node: '>=6.9.0'} @@ -3432,7 +3397,6 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: false /@babel/types@7.23.0: resolution: {integrity: sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==} @@ -5114,7 +5078,7 @@ packages: engines: {node: ^10.12.0 || >=12.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) espree: 7.3.1 globals: 13.23.0 ignore: 4.0.6 @@ -5131,7 +5095,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) espree: 9.6.1 globals: 13.23.0 ignore: 5.2.4 @@ -5148,7 +5112,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) espree: 9.6.1 globals: 13.23.0 ignore: 5.2.4 @@ -5797,7 +5761,7 @@ packages: binary-install-raw: 0.0.13(debug@4.3.4) chalk: 3.0.0 chokidar: 3.5.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) docker-compose: 0.23.19 dockerode: 2.5.8 fs-extra: 9.1.0 @@ -7188,7 +7152,7 @@ packages: dependencies: '@babel/parser': 7.23.6 '@babel/plugin-syntax-import-assertions': 7.22.5(@babel/core@7.23.2) - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 '@graphql-tools/utils': 9.2.1(graphql@15.8.0) graphql: 15.8.0 @@ -7205,7 +7169,7 @@ packages: dependencies: '@babel/parser': 7.23.6 '@babel/plugin-syntax-import-assertions': 7.22.5(@babel/core@7.23.3) - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 '@graphql-tools/utils': 9.2.1(graphql@16.8.1) graphql: 16.8.1 @@ -7669,7 +7633,7 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 2.0.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -7680,7 +7644,7 @@ packages: engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -8864,7 +8828,7 @@ packages: engines: {node: '>=14.0.0'} dependencies: '@types/debug': 4.1.10 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) semver: 7.5.4 superstruct: 1.0.3 transitivePeerDependencies: @@ -8876,7 +8840,7 @@ packages: dependencies: '@ethereumjs/tx': 4.2.0 '@types/debug': 4.1.10 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) semver: 7.5.4 superstruct: 1.0.3 transitivePeerDependencies: @@ -8890,7 +8854,7 @@ packages: '@ethereumjs/tx': 4.2.0 '@noble/hashes': 1.3.2 '@types/debug': 4.1.10 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) semver: 7.5.4 superstruct: 1.0.3 transitivePeerDependencies: @@ -8904,7 +8868,7 @@ packages: '@noble/hashes': 1.3.2 '@scure/base': 1.1.3 '@types/debug': 4.1.10 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) pony-cause: 2.1.10 semver: 7.5.4 superstruct: 1.0.3 @@ -9132,7 +9096,7 @@ packages: '@nomicfoundation/ethereumjs-tx': 5.0.2 '@nomicfoundation/ethereumjs-util': 9.0.2 abstract-level: 1.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) ethereum-cryptography: 0.1.3 level: 8.0.0 lru-cache: 5.1.1 @@ -9173,7 +9137,7 @@ packages: '@nomicfoundation/ethereumjs-common': 4.0.2 '@nomicfoundation/ethereumjs-tx': 5.0.2 '@nomicfoundation/ethereumjs-util': 9.0.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) ethereum-cryptography: 0.1.3 mcl-wasm: 0.7.9 rustbn.js: 0.2.0 @@ -9194,7 +9158,7 @@ packages: dependencies: '@nomicfoundation/ethereumjs-common': 4.0.2 '@nomicfoundation/ethereumjs-rlp': 5.0.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) ethereum-cryptography: 0.1.3 ethers: 5.7.2 js-sdsl: 4.4.2 @@ -9252,7 +9216,7 @@ packages: '@nomicfoundation/ethereumjs-trie': 6.0.2 '@nomicfoundation/ethereumjs-tx': 5.0.2 '@nomicfoundation/ethereumjs-util': 9.0.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) ethereum-cryptography: 0.1.3 mcl-wasm: 0.7.9 rustbn.js: 0.2.0 @@ -9286,7 +9250,7 @@ packages: ethers: ^6.1.0 hardhat: ^2.0.0 dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) ethers: 6.8.1 hardhat: 2.19.0(ts-node@10.9.1)(typescript@5.2.2) lodash.isequal: 4.5.0 @@ -9361,7 +9325,7 @@ packages: '@ethersproject/address': 5.7.0 cbor: 8.1.0 chalk: 2.4.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) hardhat: 2.19.0(ts-node@10.9.1)(typescript@5.2.2) lodash.clonedeep: 4.5.0 semver: 6.3.1 @@ -9605,7 +9569,7 @@ packages: dependencies: '@oclif/core': 2.15.0(@types/node@20.10.3)(typescript@5.2.2) chalk: 4.1.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -9697,7 +9661,7 @@ packages: '@openzeppelin/defender-sdk-deploy-client': 1.3.0(debug@4.3.4) '@openzeppelin/upgrades-core': 1.31.0 chalk: 4.1.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) ethereumjs-util: 7.1.5 ethers: 6.8.1 hardhat: 2.19.0(ts-node@10.9.1)(typescript@5.2.2) @@ -9717,7 +9681,7 @@ packages: cbor: 9.0.1 chalk: 4.1.2 compare-versions: 6.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) ethereumjs-util: 7.1.5 minimist: 1.2.8 proper-lockfile: 4.1.2 @@ -10323,7 +10287,7 @@ packages: typescript: optional: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) extract-zip: 2.0.1 progress: 2.0.3 proxy-agent: 6.3.0 @@ -10340,7 +10304,7 @@ packages: engines: {node: '>=16.3.0'} hasBin: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) extract-zip: 2.0.1 progress: 2.0.3 proxy-agent: 6.3.0 @@ -10356,7 +10320,7 @@ packages: engines: {node: '>=16.3.0'} hasBin: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) extract-zip: 2.0.1 progress: 2.0.3 proxy-agent: 6.3.1 @@ -11156,10 +11120,10 @@ packages: picomatch: 2.3.1 dev: true - /@safe-global/safe-apps-provider@0.17.1(typescript@5.2.2)(zod@3.22.4): + /@safe-global/safe-apps-provider@0.17.1(typescript@5.2.2): resolution: {integrity: sha512-lYfRqrbbK1aKU1/UGkYWc/X7PgySYcumXKc5FB2uuwAs2Ghj8uETuW5BrwPqyjBknRxutFbTv+gth/JzjxAhdQ==} dependencies: - '@safe-global/safe-apps-sdk': 8.0.0(typescript@5.2.2)(zod@3.22.4) + '@safe-global/safe-apps-sdk': 8.0.0(typescript@5.2.2) events: 3.3.0 transitivePeerDependencies: - bufferutil @@ -11168,7 +11132,7 @@ packages: - zod dev: false - /@safe-global/safe-apps-sdk@8.0.0(typescript@5.2.2)(zod@3.22.4): + /@safe-global/safe-apps-sdk@8.0.0(typescript@5.2.2): resolution: {integrity: sha512-gYw0ki/EAuV1oSyMxpqandHjnthZjYYy+YWpTAzf8BqfXM3ItcZLpjxfg+3+mXW8HIO+3jw6T9iiqEXsqHaMMw==} dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.13.2 @@ -11180,7 +11144,7 @@ packages: - zod dev: false - /@safe-global/safe-apps-sdk@8.1.0(typescript@5.2.2)(zod@3.22.4): + /@safe-global/safe-apps-sdk@8.1.0(typescript@5.2.2): resolution: {integrity: sha512-XJbEPuaVc7b9n23MqlF6c+ToYIS3f7P2Sel8f3cSBQ9WORE4xrSuvhMpK9fDSFqJ7by/brc+rmJR/5HViRr0/w==} dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.13.2 @@ -12666,7 +12630,7 @@ packages: '@typescript-eslint/experimental-utils': 4.33.0(eslint@7.32.0)(typescript@4.9.5) '@typescript-eslint/parser': 4.33.0(eslint@7.32.0)(typescript@4.9.5) '@typescript-eslint/scope-manager': 4.33.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 7.32.0 functional-red-black-tree: 1.0.1 ignore: 5.2.4 @@ -12694,7 +12658,7 @@ packages: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/type-utils': 5.62.0(eslint@8.53.0)(typescript@4.9.5) '@typescript-eslint/utils': 5.62.0(eslint@8.53.0)(typescript@4.9.5) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.53.0 graphemer: 1.4.0 ignore: 5.2.4 @@ -12723,7 +12687,7 @@ packages: '@typescript-eslint/type-utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2) '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2) '@typescript-eslint/visitor-keys': 6.10.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.53.0 graphemer: 1.4.0 ignore: 5.2.4 @@ -12752,7 +12716,7 @@ packages: '@typescript-eslint/type-utils': 6.13.1(eslint@8.55.0)(typescript@5.2.2) '@typescript-eslint/utils': 6.13.1(eslint@8.55.0)(typescript@5.2.2) '@typescript-eslint/visitor-keys': 6.13.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.55.0 graphemer: 1.4.0 ignore: 5.2.4 @@ -12795,7 +12759,7 @@ packages: '@typescript-eslint/scope-manager': 4.33.0 '@typescript-eslint/types': 4.33.0 '@typescript-eslint/typescript-estree': 4.33.0(typescript@4.9.5) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 7.32.0 typescript: 4.9.5 transitivePeerDependencies: @@ -12815,7 +12779,7 @@ packages: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@4.9.5) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.53.0 typescript: 4.9.5 transitivePeerDependencies: @@ -12836,7 +12800,7 @@ packages: '@typescript-eslint/types': 6.10.0 '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2) '@typescript-eslint/visitor-keys': 6.10.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.53.0 typescript: 5.2.2 transitivePeerDependencies: @@ -12857,7 +12821,7 @@ packages: '@typescript-eslint/types': 6.13.1 '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.2.2) '@typescript-eslint/visitor-keys': 6.13.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.55.0 typescript: 5.2.2 transitivePeerDependencies: @@ -12908,7 +12872,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 5.62.0(typescript@4.9.5) '@typescript-eslint/utils': 5.62.0(eslint@8.53.0)(typescript@4.9.5) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.53.0 tsutils: 3.21.0(typescript@4.9.5) typescript: 4.9.5 @@ -12928,7 +12892,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 6.10.0(typescript@5.2.2) '@typescript-eslint/utils': 6.10.0(eslint@8.53.0)(typescript@5.2.2) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.53.0 ts-api-utils: 1.0.3(typescript@5.2.2) typescript: 5.2.2 @@ -12948,7 +12912,7 @@ packages: dependencies: '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.2.2) '@typescript-eslint/utils': 6.13.1(eslint@8.55.0)(typescript@5.2.2) - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) eslint: 8.55.0 ts-api-utils: 1.0.3(typescript@5.2.2) typescript: 5.2.2 @@ -12987,7 +12951,7 @@ packages: dependencies: '@typescript-eslint/types': 4.33.0 '@typescript-eslint/visitor-keys': 4.33.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 @@ -13008,7 +12972,7 @@ packages: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 @@ -13029,7 +12993,7 @@ packages: dependencies: '@typescript-eslint/types': 6.10.0 '@typescript-eslint/visitor-keys': 6.10.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 @@ -13050,7 +13014,7 @@ packages: dependencies: '@typescript-eslint/types': 6.13.1 '@typescript-eslint/visitor-keys': 6.13.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 @@ -13163,8 +13127,8 @@ packages: wonka: 6.3.4 dev: false - /@verax-attestation-registry/verax-sdk@1.0.2(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2)(zod@3.22.4): - resolution: {integrity: sha512-9WSGmw8dB4EKlCzV8rp76EHo76lyEX2jJr4W0O1hHAhhmzMgskexc/owq9nN8Nz7loC5mUiNlzBNMGMLQGMIOA==} + /@verax-attestation-registry/verax-sdk@1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2): + resolution: {integrity: sha512-baPftHIT3nKQ+MKOzy+El6i9Hrb2W54Cm9BzMTeYSiGygTt11QAP/52J2nxTcsChoCI9Yo87oeaCuZXFvHXplg==} dependencies: '@graphprotocol/client-cli': 3.0.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/cross-helpers@0.4.1)(@graphql-mesh/store@0.95.8)(@graphql-mesh/types@0.93.2)(@graphql-mesh/utils@0.95.8)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(graphql@16.8.1)(react-native@0.72.6) '@graphql-mesh/cache-localforage': 0.95.8(@graphql-mesh/types@0.93.2)(@graphql-mesh/utils@0.95.8)(graphql@16.8.1)(tslib@2.6.2) @@ -13312,7 +13276,7 @@ packages: requiresBuild: true dev: false - /@wagmi/connectors@3.1.5(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4): + /@wagmi/connectors@3.1.5(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9): resolution: {integrity: sha512-aE4rWZbivqWa9HqjiLDPtwROH2b1Az+lBVMeZ3o/aFxGNGNEkdrSAMOUG15/UFy3VnN6HqGOtTobOBZ10JhfNQ==} peerDependencies: typescript: '>=5.0.4' @@ -13323,13 +13287,13 @@ packages: dependencies: '@coinbase/wallet-sdk': 3.7.2 '@ledgerhq/connect-kit-loader': 1.1.2 - '@safe-global/safe-apps-provider': 0.17.1(typescript@5.2.2)(zod@3.22.4) - '@safe-global/safe-apps-sdk': 8.1.0(typescript@5.2.2)(zod@3.22.4) + '@safe-global/safe-apps-provider': 0.17.1(typescript@5.2.2) + '@safe-global/safe-apps-sdk': 8.1.0(typescript@5.2.2) '@walletconnect/ethereum-provider': 2.10.2(@walletconnect/modal@2.6.2) '@walletconnect/legacy-provider': 2.0.0 '@walletconnect/modal': 2.6.2(@types/react@18.2.37)(react@18.2.0) '@walletconnect/utils': 2.10.2 - abitype: 0.8.7(typescript@5.2.2)(zod@3.22.4) + abitype: 0.8.7(typescript@5.2.2) eventemitter3: 4.0.7 typescript: 5.2.2 viem: 1.18.9(typescript@5.2.2)(zod@3.22.4) @@ -13355,7 +13319,7 @@ packages: - zod dev: false - /@wagmi/core@1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4): + /@wagmi/core@1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9): resolution: {integrity: sha512-PiOIGni8ArQoPmuDylHX38zMt2nPnTYRIluIqiduKyGCM61X/tf10a0rafUMOOphDPudZu1TacNDhCSeoh/LEA==} peerDependencies: typescript: '>=5.0.4' @@ -13364,8 +13328,8 @@ packages: typescript: optional: true dependencies: - '@wagmi/connectors': 3.1.5(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) - abitype: 0.8.7(typescript@5.2.2)(zod@3.22.4) + '@wagmi/connectors': 3.1.5(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) + abitype: 0.8.7(typescript@5.2.2) eventemitter3: 4.0.7 typescript: 5.2.2 viem: 1.18.9(typescript@5.2.2)(zod@3.22.4) @@ -14093,7 +14057,7 @@ packages: vue: optional: true dependencies: - '@wagmi/core': 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) + '@wagmi/core': 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) '@web3modal/polyfills': 3.5.4 '@web3modal/scaffold': 3.5.4(@types/react@18.2.37)(react@18.2.0) '@web3modal/scaffold-react': 3.5.4(@types/react@18.2.37)(react-dom@18.2.0)(react@18.2.0) @@ -14373,7 +14337,7 @@ packages: resolution: {integrity: sha512-LEyx4aLEC3x6T0UguF6YILf+ntvmOaWsVfENmIW0E9H09vKlLDGelMjjSm0jkDHALj8A8quZ/HapKNigzwge+Q==} dev: true - /abitype@0.10.3(typescript@5.2.2)(zod@3.22.4): + /abitype@0.10.3(typescript@5.2.2): resolution: {integrity: sha512-tRN+7XIa7J9xugdbRzFv/95ka5ivR/sRe01eiWvM0HWWjHuigSZEACgKa0sj4wGuekTDtghCx+5Izk/cOi78pQ==} peerDependencies: typescript: '>=5.0.4' @@ -14385,10 +14349,9 @@ packages: optional: true dependencies: typescript: 5.2.2 - zod: 3.22.4 dev: false - /abitype@0.8.7(typescript@5.2.2)(zod@3.22.4): + /abitype@0.8.7(typescript@5.2.2): resolution: {integrity: sha512-wQ7hV8Yg/yKmGyFpqrNZufCxbszDe5es4AZGYPBitocfSqXtjrTG9JMWFcc4N30ukl2ve48aBTwt7NJxVQdU3w==} peerDependencies: typescript: '>=5.0.4' @@ -14398,7 +14361,6 @@ packages: optional: true dependencies: typescript: 5.2.2 - zod: 3.22.4 dev: false /abitype@0.9.8(typescript@5.2.2)(zod@3.22.4): @@ -14541,7 +14503,7 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -14550,7 +14512,7 @@ packages: resolution: {integrity: sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==} engines: {node: '>= 14'} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -15216,7 +15178,7 @@ packages: dependencies: '@babel/code-frame': 7.23.4 '@babel/parser': 7.23.6 - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 eslint: 8.53.0 eslint-visitor-keys: 1.3.0 @@ -15413,7 +15375,7 @@ packages: dependencies: '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-module-imports': 7.22.15 - '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.3) + '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.3) lodash: 4.17.21 picomatch: 2.3.1 styled-components: 5.3.11(@babel/core@7.23.3)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0) @@ -16962,7 +16924,7 @@ packages: resize-observer-polyfill: 1.5.1 styled-components: 5.3.11(@babel/core@7.23.3)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0) viem: 1.18.9(typescript@5.2.2)(zod@3.22.4) - wagmi: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) + wagmi: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) transitivePeerDependencies: - '@babel/core' - react-is @@ -17558,6 +17520,7 @@ packages: dependencies: ms: 2.1.2 supports-color: 8.1.1 + dev: true /decamelize@1.2.0: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} @@ -17827,7 +17790,7 @@ packages: hasBin: true dependencies: address: 1.2.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -17947,7 +17910,7 @@ packages: /dns-over-http-resolver@1.2.3(node-fetch@3.3.2): resolution: {integrity: sha512-miDiVSI6KSNbi4SVifzO/reD8rMnxgrlnkrlkugOLQpWQTe2qMdHsZp5DmfKjxNE+/T3VAAYLQUZMv9SMr6+AA==} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) native-fetch: 3.0.0(node-fetch@3.3.2) receptacle: 1.3.2 transitivePeerDependencies: @@ -18223,7 +18186,7 @@ packages: resolution: {integrity: sha512-aXPtgF1JS3RuuKcpSrBtimSjYvrbhKW9froICH4s0F3XQWLxsKNxqzG39nnvQZQnva4CMvUK63T7shevxRyYHw==} dependencies: '@socket.io/component-emitter': 3.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) engine.io-parser: 5.0.7 ws: 8.2.3 xmlhttprequest-ssl: 2.0.0 @@ -18254,7 +18217,7 @@ packages: base64id: 2.0.0 cookie: 0.4.2 cors: 2.8.5 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) engine.io-parser: 5.2.1 ws: 8.11.0 transitivePeerDependencies: @@ -18633,7 +18596,7 @@ packages: eslint: '*' eslint-plugin-import: '*' dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) enhanced-resolve: 5.15.0 eslint: 8.55.0 eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) @@ -18894,7 +18857,7 @@ packages: dependencies: '@es-joy/jsdoccomment': 0.36.1 comment-parser: 1.3.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) escape-string-regexp: 4.0.0 eslint: 8.53.0 esquery: 1.5.0 @@ -19142,7 +19105,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) doctrine: 3.0.0 enquirer: 2.4.1 escape-string-regexp: 4.0.0 @@ -19196,7 +19159,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -19243,7 +19206,7 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -19568,6 +19531,7 @@ packages: is-hex-prefixed: 1.0.0 strip-hex-prefix: 1.0.0 dev: true + bundledDependencies: false /event-emitter@0.3.5: resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} @@ -19762,7 +19726,7 @@ packages: engines: {node: '>= 10.17.0'} hasBin: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: @@ -20160,7 +20124,7 @@ packages: debug: optional: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) dev: true /for-each@0.3.3: @@ -20593,7 +20557,7 @@ packages: gatsby: ^4.0.0-next dependencies: '@babel/runtime': 7.23.5 - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@sindresorhus/slugify': 1.1.2 chokidar: 3.5.3 fs-exists-cached: 1.0.0 @@ -20769,7 +20733,7 @@ packages: '@babel/helper-plugin-utils': 7.22.5 '@babel/parser': 7.23.0 '@babel/runtime': 7.23.2 - '@babel/traverse': 7.23.2 + '@babel/traverse': 7.23.2(supports-color@5.5.0) '@babel/types': 7.23.0 '@builder.io/partytown': 0.5.4 '@gatsbyjs/reach-router': 1.3.9(react-dom@18.2.0)(react@18.2.0) @@ -21085,7 +21049,7 @@ packages: dependencies: basic-ftp: 5.0.3 data-uri-to-buffer: 6.0.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) fs-extra: 8.1.0 transitivePeerDependencies: - supports-color @@ -21644,7 +21608,7 @@ packages: chalk: 2.4.2 chokidar: 3.5.3 ci-info: 2.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) enquirer: 2.4.1 env-paths: 2.2.1 ethereum-cryptography: 1.2.0 @@ -21962,7 +21926,7 @@ packages: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -21972,7 +21936,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -22022,7 +21986,7 @@ packages: engines: {node: '>= 6'} dependencies: agent-base: 6.0.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -22032,7 +21996,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -22299,7 +22263,7 @@ packages: dependencies: '@ioredis/commands': 1.2.0 cluster-key-slot: 1.1.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) denque: 2.1.0 lodash.defaults: 4.2.0 lodash.isarguments: 3.1.0 @@ -22346,7 +22310,7 @@ packages: any-signal: 2.1.2 blob-to-it: 1.0.4 browser-readablestream-to-it: 1.0.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) err-code: 3.0.1 ipfs-core-types: 0.9.0(node-fetch@3.3.2) ipfs-unixfs: 6.0.9 @@ -22379,7 +22343,7 @@ packages: '@ipld/dag-pb': 2.1.18 abort-controller: 3.0.0 any-signal: 2.1.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) err-code: 3.0.1 ipfs-core-types: 0.9.0(node-fetch@3.3.2) ipfs-core-utils: 0.13.0(node-fetch@3.3.2) @@ -22999,7 +22963,7 @@ packages: resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} engines: {node: '>=10'} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) istanbul-lib-coverage: 3.2.0 source-map: 0.6.1 transitivePeerDependencies: @@ -24988,7 +24952,7 @@ packages: resolution: {integrity: sha512-Hh0ncPsHPVf6wXQSqJqB3K9Zbudht4aUtNpNXYXSxH+pteWqGAXnjtPsRAnCsCWl38wL0jYF0rJDdMajUI3BDw==} engines: {node: '>=16'} dependencies: - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 invariant: 2.2.4 metro-symbolicate: 0.76.8 @@ -25022,7 +24986,7 @@ packages: '@babel/core': 7.23.3 '@babel/generator': 7.23.4 '@babel/template': 7.22.15 - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) nullthrows: 1.1.1 transitivePeerDependencies: - supports-color @@ -25061,7 +25025,7 @@ packages: '@babel/generator': 7.23.4 '@babel/parser': 7.23.6 '@babel/template': 7.22.15 - '@babel/traverse': 7.23.4 + '@babel/traverse': 7.23.4(supports-color@5.5.0) '@babel/types': 7.23.4 accepts: 1.3.8 async: 3.2.4 @@ -25268,7 +25232,7 @@ packages: /micromark@2.11.4: resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) parse-entities: 2.0.0 transitivePeerDependencies: - supports-color @@ -25278,7 +25242,7 @@ packages: resolution: {integrity: sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==} dependencies: '@types/debug': 4.1.10 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) decode-named-character-reference: 1.0.2 micromark-core-commonmark: 1.1.0 micromark-factory-space: 1.1.0 @@ -26453,7 +26417,7 @@ packages: dependencies: '@tootallnate/quickjs-emscripten': 0.23.0 agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) get-uri: 6.0.2 http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.2 @@ -27586,7 +27550,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.2 lru-cache: 7.18.3 @@ -27602,7 +27566,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.2 lru-cache: 7.18.3 @@ -27697,7 +27661,7 @@ packages: '@puppeteer/browsers': 1.4.6(typescript@4.9.5) chromium-bidi: 0.4.16(devtools-protocol@0.0.1147663) cross-fetch: 4.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) devtools-protocol: 0.0.1147663 typescript: 4.9.5 ws: 8.13.0 @@ -27715,7 +27679,7 @@ packages: '@puppeteer/browsers': 1.7.0 chromium-bidi: 0.4.22(devtools-protocol@0.0.1159816) cross-fetch: 4.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) devtools-protocol: 0.0.1159816 ws: 8.13.0 transitivePeerDependencies: @@ -29504,7 +29468,7 @@ packages: engines: {node: '>=10.0.0'} dependencies: '@socket.io/component-emitter': 3.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) engine.io-client: 6.2.3 socket.io-parser: 4.2.4 transitivePeerDependencies: @@ -29518,7 +29482,7 @@ packages: engines: {node: '>=10.0.0'} dependencies: '@socket.io/component-emitter': 3.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true @@ -29529,7 +29493,7 @@ packages: dependencies: accepts: 1.3.8 base64id: 2.0.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) engine.io: 6.5.4 socket.io-adapter: 2.4.0 socket.io-parser: 4.2.4 @@ -29544,7 +29508,7 @@ packages: engines: {node: '>= 10'} dependencies: agent-base: 6.0.2 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) socks: 2.7.1 transitivePeerDependencies: - supports-color @@ -29555,7 +29519,7 @@ packages: engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) socks: 2.7.1 transitivePeerDependencies: - supports-color @@ -31118,7 +31082,7 @@ packages: typescript: '>=4.3.0' dependencies: '@types/prettier': 2.7.3 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) fs-extra: 7.0.1 glob: 7.1.7 js-sha3: 0.8.0 @@ -31252,7 +31216,7 @@ packages: chalk: 4.1.2 cli-highlight: 2.1.11 date-fns: 2.30.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) dotenv: 16.3.1 glob: 8.1.0 mkdirp: 2.1.6 @@ -32064,7 +32028,7 @@ packages: vite: optional: true dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) globrex: 0.1.2 tsconfck: 2.1.2(typescript@5.2.2) vite: 4.5.1(@types/node@20.10.3) @@ -32143,7 +32107,7 @@ packages: hasBin: true dev: true - /wagmi@1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4): + /wagmi@1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9): resolution: {integrity: sha512-/k8gA9S6RnwU6Qroxs630jAFvRIx+DSKpCP1owgAEGWc7D2bAJHljwRSCRTGENz48HyJ4V3R7KYV1yImxPvM3A==} peerDependencies: react: '>=17.0.0' @@ -32156,8 +32120,8 @@ packages: '@tanstack/query-sync-storage-persister': 4.36.1 '@tanstack/react-query': 4.36.1(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0) '@tanstack/react-query-persist-client': 4.36.1(@tanstack/react-query@4.36.1) - '@wagmi/core': 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) - abitype: 0.8.7(typescript@5.2.2)(zod@3.22.4) + '@wagmi/core': 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) + abitype: 0.8.7(typescript@5.2.2) react: 18.2.0 typescript: 5.2.2 use-sync-external-store: 1.2.0(react@18.2.0) @@ -32197,7 +32161,7 @@ packages: dependencies: chalk: 4.1.2 commander: 9.5.0 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4(supports-color@5.5.0) transitivePeerDependencies: - supports-color dev: true diff --git a/sdk/package.json b/sdk/package.json index 03440a44..0151b13d 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@verax-attestation-registry/verax-sdk", - "version": "1.0.3", + "version": "1.1.1", "description": "Verax Attestation Registry SDK to interact with the subgraph and the contracts", "keywords": [ "linea-attestation-registry", diff --git a/website/package.json b/website/package.json index 3cd4459d..3b38b277 100644 --- a/website/package.json +++ b/website/package.json @@ -27,7 +27,7 @@ "@fortawesome/free-solid-svg-icons": "^6.4.2", "@fortawesome/react-fontawesome": "^0.2.0", "@lens-protocol/widgets-react": "^2.1.0", - "@verax-attestation-registry/verax-sdk": "1.0.2", + "@verax-attestation-registry/verax-sdk": "1.1.0", "@web3modal/wagmi": "^3.5.0", "axios": "^1.6.1", "react": "^18.2.0", From 096498b8808d706c0abfe9e05f5e1080226627f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 11:58:43 +0000 Subject: [PATCH 04/60] chore(deps-dev): bump follow-redirects from 1.15.3 to 1.15.4 in /governance (#515) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- governance/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/governance/package-lock.json b/governance/package-lock.json index 35994ddd..52c6bfd2 100644 --- a/governance/package-lock.json +++ b/governance/package-lock.json @@ -4444,9 +4444,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", - "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", "dev": true, "funding": [ { From 0bdf34f1d7bb3e80c4475d7f2d109ff061387e6e Mon Sep 17 00:00:00 2001 From: voenkomatiwe <71823442+voenkomatiwe@users.noreply.github.com> Date: Wed, 10 Jan 2024 10:36:29 +0200 Subject: [PATCH 05/60] fix: Portals are missing from search results (#510) --- explorer/src/assets/locales/en/en.json | 10 +++- .../src/assets/logo/verax-logo-dark-mode.svg | 20 +++---- .../src/components/NotFoundPage/index.tsx | 6 +- explorer/src/components/SearchInput/index.tsx | 4 +- explorer/src/constants/columns/portal.tsx | 57 +++++++++++++++++++ explorer/src/interfaces/swr/enum.ts | 1 + .../pages/Home/components/Jumbotron/index.tsx | 9 ++- .../SearchModules/loadModuleList.ts | 4 +- .../Search/components/SearchPortals/index.tsx | 37 ++++++++++++ .../SearchPortals/loadPortalList.ts | 26 +++++++++ .../SearchSchemas/loadSchemaList.ts | 4 +- explorer/src/pages/Search/index.tsx | 6 ++ 12 files changed, 162 insertions(+), 22 deletions(-) create mode 100644 explorer/src/constants/columns/portal.tsx create mode 100644 explorer/src/pages/Search/components/SearchPortals/index.tsx create mode 100644 explorer/src/pages/Search/components/SearchPortals/loadPortalList.ts diff --git a/explorer/src/assets/locales/en/en.json b/explorer/src/assets/locales/en/en.json index 3987824e..77187f09 100644 --- a/explorer/src/assets/locales/en/en.json +++ b/explorer/src/assets/locales/en/en.json @@ -52,7 +52,7 @@ "home": { "title": "Your Reputation Under Your Control", "description": "Explore the ecosystem to find out how you can unlock your data from across the web and share it with the world on your own terms", - "exploreEcosystem": "or explore the ecosystem", + "exploreEcosystem": "or explore the ecosystem...", "info": { "issueYourAttestation": "Want to issue your own attestation?", "aboutVerax": "Want to know more about Verax?" @@ -140,6 +140,14 @@ "title": "Revokable", "yes": "Yes", "no": "No" + }, + "list": { + "title": "Explore Portals", + "columns": { + "name": "Portal Name", + "description": "Portal Description", + "owner": "Owner Address" + } } } } diff --git a/explorer/src/assets/logo/verax-logo-dark-mode.svg b/explorer/src/assets/logo/verax-logo-dark-mode.svg index 8a904026..532bc3db 100644 --- a/explorer/src/assets/logo/verax-logo-dark-mode.svg +++ b/explorer/src/assets/logo/verax-logo-dark-mode.svg @@ -1,31 +1,31 @@ - - - - + + + + - + diff --git a/explorer/src/components/NotFoundPage/index.tsx b/explorer/src/components/NotFoundPage/index.tsx index c5da004b..8acf6c2b 100644 --- a/explorer/src/components/NotFoundPage/index.tsx +++ b/explorer/src/components/NotFoundPage/index.tsx @@ -15,10 +15,10 @@ export const NotFoundPage: React.FC = ({ id, page }) => {
-

+

{pageData.title} {pageData.showId && ( - + {decodedId} )} @@ -26,7 +26,7 @@ export const NotFoundPage: React.FC = ({ id, page }) => {

{t("common.actions.goBackTo", { to: page })} diff --git a/explorer/src/components/SearchInput/index.tsx b/explorer/src/components/SearchInput/index.tsx index 857bee64..6bb1ae90 100644 --- a/explorer/src/components/SearchInput/index.tsx +++ b/explorer/src/components/SearchInput/index.tsx @@ -8,7 +8,7 @@ import { keyboard } from "@/constants/keyboard"; import { EQueryParams } from "@/enums/queryParams"; import { useHandleSearch } from "@/hooks/useHandleSearch"; -export const SearchInput: React.FC<{ className?: string }> = ({ className }) => { +export const SearchInput: React.FC<{ className?: string; height?: string }> = ({ className, height = "h-12" }) => { const [searchParams] = useSearchParams(); const search = searchParams.get(EQueryParams.SEARCH_QUERY); const [searchQuery, setSearchQuery] = useState(search || EMPTY_STRING); @@ -22,7 +22,7 @@ export const SearchInput: React.FC<{ className?: string }> = ({ className }) => return (
[] => [ + { + accessorKey: "name", + header: () => ( +
+ + {t("portal.list.columns.name")} +
+ ), + cell: ({ row }) => { + const name = row.getValue("name") as string; + const id = row.original.id; + + return ( + e.stopPropagation()}> + {name} + + ); + }, + }, + { + accessorKey: "description", + header: () => t("portal.list.columns.description"), + cell: ({ row }) => { + const description = row.getValue("description") as string; + return

{description}

; + }, + }, + { + accessorKey: "owner", + header: () =>

{t("portal.list.columns.owner")}

, + cell: ({ row }) => { + const address = row.original.ownerAddress; + const id = row.original.id; + + return ( + + ); + }, + }, +]; diff --git a/explorer/src/interfaces/swr/enum.ts b/explorer/src/interfaces/swr/enum.ts index 842056f1..d3d8d96f 100644 --- a/explorer/src/interfaces/swr/enum.ts +++ b/explorer/src/interfaces/swr/enum.ts @@ -13,4 +13,5 @@ export enum SWRKeys { GET_PORTALS_BY_ISSUER = "getPortalsByIssuer", GET_PORTAL_BY_ID = "getPortalByID", GET_PORTAL_MODULE_LIST = "getPortalModuleList", + GET_PORTAL_LIST = "getPortalList", } diff --git a/explorer/src/pages/Home/components/Jumbotron/index.tsx b/explorer/src/pages/Home/components/Jumbotron/index.tsx index 5fa8330b..bc92afd0 100644 --- a/explorer/src/pages/Home/components/Jumbotron/index.tsx +++ b/explorer/src/pages/Home/components/Jumbotron/index.tsx @@ -1,5 +1,6 @@ import { t } from "i18next"; import { ArrowUpRight } from "lucide-react"; +import { Trans } from "react-i18next"; import { Button } from "@/components/Buttons"; import { EButtonType } from "@/components/Buttons/enum"; @@ -22,13 +23,17 @@ export const Jumbotron: React.FC = () => { handler={() => window.open(veraxLink, "_blank")} buttonType={EButtonType.PRIMARY_LIME} iconRight={} + height="h-10" />

- {t("home.exploreEcosystem")} + }} />

- + ); }; diff --git a/explorer/src/pages/Search/components/SearchModules/loadModuleList.ts b/explorer/src/pages/Search/components/SearchModules/loadModuleList.ts index d233c201..4d59bc42 100644 --- a/explorer/src/pages/Search/components/SearchModules/loadModuleList.ts +++ b/explorer/src/pages/Search/components/SearchModules/loadModuleList.ts @@ -8,10 +8,10 @@ export const loadModuleList = async (module: ModuleDataMapper, parsedString: Par const [listByName, listByDescription] = parsedString.nameOrDescription ? await Promise.all([ module.findBy(ITEMS_PER_PAGE_DEFAULT, undefined, { - name_starts_with: parsedString.nameOrDescription, + name_contains_nocase: parsedString.nameOrDescription, }), module.findBy(ITEMS_PER_PAGE_DEFAULT, undefined, { - description_starts_with: parsedString.nameOrDescription, + description_contains_nocase: parsedString.nameOrDescription, }), ]) : []; diff --git a/explorer/src/pages/Search/components/SearchPortals/index.tsx b/explorer/src/pages/Search/components/SearchPortals/index.tsx new file mode 100644 index 00000000..e6ccb4b3 --- /dev/null +++ b/explorer/src/pages/Search/components/SearchPortals/index.tsx @@ -0,0 +1,37 @@ +import { t } from "i18next"; +import useSWR from "swr"; + +import { DataTable } from "@/components/DataTable"; +import { columns } from "@/constants/columns/portal"; +import { SWRKeys } from "@/interfaces/swr/enum"; +import { useNetworkContext } from "@/providers/network-provider/context"; +import { APP_ROUTES } from "@/routes/constants"; + +import { loadPortalList } from "./loadPortalList"; +import { SearchComponentProps } from "../interfaces"; +import { SearchWrapper } from "../SearchWrapper"; + +export const SearchPortals: React.FC = ({ getSearchData, parsedString, search }) => { + const { + sdk: { portal }, + network: { chain }, + } = useNetworkContext(); + + const { data } = useSWR( + `${SWRKeys.GET_PORTAL_LIST}/${SWRKeys.SEARCH}/${search}/${chain.id}`, + async () => loadPortalList(portal, parsedString), + { + shouldRetryOnError: false, + revalidateAll: false, + onSuccess: (successData) => getSearchData(successData.length, true), + onError: () => getSearchData(0, true), + }, + ); + + if (!data || !data.length) return null; + return ( + + + + ); +}; diff --git a/explorer/src/pages/Search/components/SearchPortals/loadPortalList.ts b/explorer/src/pages/Search/components/SearchPortals/loadPortalList.ts new file mode 100644 index 00000000..67a5ff2a --- /dev/null +++ b/explorer/src/pages/Search/components/SearchPortals/loadPortalList.ts @@ -0,0 +1,26 @@ +import PortalDataMapper from "@verax-attestation-registry/verax-sdk/lib/types/src/dataMapper/PortalDataMapper"; + +import { ITEMS_PER_PAGE_DEFAULT } from "@/constants"; +import { ResultParseSearch } from "@/interfaces/components"; +import { isNotNullOrUndefined } from "@/utils"; + +export const loadPortalList = async (portal: PortalDataMapper, parsedString: Partial) => { + const [listByName, listByDescription] = parsedString.nameOrDescription + ? await Promise.all([ + portal.findBy(ITEMS_PER_PAGE_DEFAULT, undefined, { + name_contains_nocase: parsedString.nameOrDescription, + }), + portal.findBy(ITEMS_PER_PAGE_DEFAULT, undefined, { + description_contains_nocase: parsedString.nameOrDescription, + }), + ]) + : []; + + const listByIds = ( + parsedString.address ? await Promise.all(parsedString.address.map((id) => portal.findOneById(id))) : [] + ).filter(isNotNullOrUndefined); + + const result = [...(listByIds || []), ...(listByName || []), ...(listByDescription || [])]; + + return result; +}; diff --git a/explorer/src/pages/Search/components/SearchSchemas/loadSchemaList.ts b/explorer/src/pages/Search/components/SearchSchemas/loadSchemaList.ts index 013f21cc..df009631 100644 --- a/explorer/src/pages/Search/components/SearchSchemas/loadSchemaList.ts +++ b/explorer/src/pages/Search/components/SearchSchemas/loadSchemaList.ts @@ -8,10 +8,10 @@ export const loadSchemaList = async (schema: SchemaDataMapper, parsedString: Par const [listByName, listByDescription] = parsedString.nameOrDescription ? await Promise.all([ schema.findBy(ITEMS_PER_PAGE_DEFAULT, undefined, { - name_contains: parsedString.nameOrDescription, + name_contains_nocase: parsedString.nameOrDescription, }), schema.findBy(ITEMS_PER_PAGE_DEFAULT, undefined, { - description_contains: parsedString.nameOrDescription, + description_contains_nocase: parsedString.nameOrDescription, }), ]) : []; diff --git a/explorer/src/pages/Search/index.tsx b/explorer/src/pages/Search/index.tsx index 1075872c..dc807b78 100644 --- a/explorer/src/pages/Search/index.tsx +++ b/explorer/src/pages/Search/index.tsx @@ -12,6 +12,7 @@ import { parseSearch } from "@/utils/searchUtils"; import { SearchAttestations } from "./components/SearchAttestations"; import { SearchModules } from "./components/SearchModules"; +import { SearchPortals } from "./components/SearchPortals"; import { SearchSchemas } from "./components/SearchSchemas"; //todo: load more and loading for child @@ -61,6 +62,11 @@ export const Search = () => { parsedString={parsedString} getSearchData={(count, loaded) => updateSearchElement("module", count, loaded)} /> + updateSearchElement("portal", count, loaded)} + /> )} From f057cbca73ac3e251f12fd422e29a10f68905a0c Mon Sep 17 00:00:00 2001 From: Taras Oliynyk <49455800+OliynykPro@users.noreply.github.com> Date: Wed, 10 Jan 2024 11:16:00 +0200 Subject: [PATCH 06/60] fix: Remove duplication in search result + small UI fixes (#516) Co-authored-by: Taras Oliynyk --- explorer/src/pages/Home/components/Jumbotron/index.tsx | 2 +- explorer/src/pages/Module/index.tsx | 6 +++--- .../components/SearchAttestations/loadAttestationList.ts | 6 ++++-- .../pages/Search/components/SearchModules/loadModuleList.ts | 5 +++-- .../pages/Search/components/SearchSchemas/loadSchemaList.ts | 5 +++-- explorer/src/utils/searchUtils.ts | 4 ++++ 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/explorer/src/pages/Home/components/Jumbotron/index.tsx b/explorer/src/pages/Home/components/Jumbotron/index.tsx index bc92afd0..b8dddb84 100644 --- a/explorer/src/pages/Home/components/Jumbotron/index.tsx +++ b/explorer/src/pages/Home/components/Jumbotron/index.tsx @@ -10,7 +10,7 @@ import { veraxLink } from "@/constants"; export const Jumbotron: React.FC = () => { return (
-

+

{t("home.title")}

diff --git a/explorer/src/pages/Module/index.tsx b/explorer/src/pages/Module/index.tsx index 71382ad3..e49c47a9 100644 --- a/explorer/src/pages/Module/index.tsx +++ b/explorer/src/pages/Module/index.tsx @@ -53,10 +53,10 @@ export const Module = () => { - {module.moduleAddress} - + {module.moduleAddress} +

diff --git a/explorer/src/pages/Search/components/SearchAttestations/loadAttestationList.ts b/explorer/src/pages/Search/components/SearchAttestations/loadAttestationList.ts index 8ee16200..4eab757e 100644 --- a/explorer/src/pages/Search/components/SearchAttestations/loadAttestationList.ts +++ b/explorer/src/pages/Search/components/SearchAttestations/loadAttestationList.ts @@ -3,6 +3,7 @@ import AttestationDataMapper from "@verax-attestation-registry/verax-sdk/lib/typ import { ITEMS_PER_PAGE_DEFAULT } from "@/constants"; import { ResultParseSearch } from "@/interfaces/components"; import { isNotNullOrUndefined } from "@/utils"; +import { uniqMap } from "@/utils/searchUtils"; export const loadAttestationList = async ( attestation: AttestationDataMapper, @@ -32,11 +33,12 @@ export const loadAttestationList = async ( ? await attestation.findBy(ITEMS_PER_PAGE_DEFAULT, undefined, { schemaString: parsedString.schemaString }) : []; - const result = [ + const results = [ ...(listByIds || []), ...(listByAddress?.[0] || []), ...(listByAddress?.[1] || []), ...(listBySchemaString || []), ]; - return result; + + return uniqMap(results, "id"); }; diff --git a/explorer/src/pages/Search/components/SearchModules/loadModuleList.ts b/explorer/src/pages/Search/components/SearchModules/loadModuleList.ts index 4d59bc42..ebebd6be 100644 --- a/explorer/src/pages/Search/components/SearchModules/loadModuleList.ts +++ b/explorer/src/pages/Search/components/SearchModules/loadModuleList.ts @@ -3,6 +3,7 @@ import ModuleDataMapper from "@verax-attestation-registry/verax-sdk/lib/types/sr import { ITEMS_PER_PAGE_DEFAULT } from "@/constants"; import { ResultParseSearch } from "@/interfaces/components"; import { isNotNullOrUndefined } from "@/utils"; +import { uniqMap } from "@/utils/searchUtils"; export const loadModuleList = async (module: ModuleDataMapper, parsedString: Partial) => { const [listByName, listByDescription] = parsedString.nameOrDescription @@ -20,7 +21,7 @@ export const loadModuleList = async (module: ModuleDataMapper, parsedString: Par parsedString.address ? await Promise.all(parsedString.address.map((id) => module.findOneById(id))) : [] ).filter(isNotNullOrUndefined); - const result = [...(listByIds || []), ...(listByName || []), ...(listByDescription || [])]; + const results = [...(listByIds || []), ...(listByName || []), ...(listByDescription || [])]; - return result; + return uniqMap(results, "id"); }; diff --git a/explorer/src/pages/Search/components/SearchSchemas/loadSchemaList.ts b/explorer/src/pages/Search/components/SearchSchemas/loadSchemaList.ts index df009631..1f7642cc 100644 --- a/explorer/src/pages/Search/components/SearchSchemas/loadSchemaList.ts +++ b/explorer/src/pages/Search/components/SearchSchemas/loadSchemaList.ts @@ -3,6 +3,7 @@ import SchemaDataMapper from "@verax-attestation-registry/verax-sdk/lib/types/sr import { ITEMS_PER_PAGE_DEFAULT } from "@/constants"; import { ResultParseSearch } from "@/interfaces/components"; import { isNotNullOrUndefined } from "@/utils"; +import { uniqMap } from "@/utils/searchUtils"; export const loadSchemaList = async (schema: SchemaDataMapper, parsedString: Partial) => { const [listByName, listByDescription] = parsedString.nameOrDescription @@ -30,7 +31,7 @@ export const loadSchemaList = async (schema: SchemaDataMapper, parsedString: Par ) : []; - const result = [ + const results = [ ...(listByIds || []), ...listBySchemaString, ...(listByName || []), @@ -38,5 +39,5 @@ export const loadSchemaList = async (schema: SchemaDataMapper, parsedString: Par ...(listByContext || []), ]; - return result; + return uniqMap(results, "id"); }; diff --git a/explorer/src/utils/searchUtils.ts b/explorer/src/utils/searchUtils.ts index 217d7759..93f18781 100644 --- a/explorer/src/utils/searchUtils.ts +++ b/explorer/src/utils/searchUtils.ts @@ -65,3 +65,7 @@ export const parseSearch = (search: string | null): Partial = schemaString, }; }; + +export const uniqMap = (array: T[], by: keyof T): T[] => [ + ...new Map(array.map((result) => [result[by], result])).values(), +]; From 526b6d9b6421c6e880ca6dc2dce58059f916b141 Mon Sep 17 00:00:00 2001 From: Alain Nicolas Date: Wed, 10 Jan 2024 11:20:29 +0100 Subject: [PATCH 07/60] chore: Update dependencies (#517) --- package.json | 7 +- pnpm-lock.yaml | 361 ++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 289 insertions(+), 79 deletions(-) diff --git a/package.json b/package.json index 004e2a61..55e79922 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,12 @@ "ejs@<3.1.7": ">=3.1.7", "engine.io@>=5.1.0 <6.4.2": ">=6.4.2", "semver@>=7.0.0 <7.5.2": ">=7.5.2", - "tough-cookie@<4.1.3": ">=4.1.3" + "tough-cookie@<4.1.3": ">=4.1.3", + "sharp@<0.32.6": ">=0.32.6", + "axios@>=0.8.1 <1.6.0": ">=1.6.0", + "@adobe/css-tools@<4.3.2": ">=4.3.2", + "msgpackr@<1.10.1": ">=1.10.1", + "follow-redirects@<1.15.4": ">=1.15.4" } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1f23ca23..1e903bf3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,6 +10,11 @@ overrides: engine.io@>=5.1.0 <6.4.2: '>=6.4.2' semver@>=7.0.0 <7.5.2: '>=7.5.2' tough-cookie@<4.1.3: '>=4.1.3' + sharp@<0.32.6: '>=0.32.6' + axios@>=0.8.1 <1.6.0: '>=1.6.0' + '@adobe/css-tools@<4.3.2': '>=4.3.2' + msgpackr@<1.10.1: '>=1.10.1' + follow-redirects@<1.15.4: '>=1.15.4' importers: @@ -81,13 +86,13 @@ importers: version: 8.10.7(react-dom@18.2.0)(react@18.2.0) '@verax-attestation-registry/verax-sdk': specifier: 1.1.0 - version: 1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2) + version: 1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2)(zod@3.22.4) '@wagmi/core': specifier: ^1.4.7 - version: 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) + version: 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) abitype: specifier: ^0.10.3 - version: 0.10.3(typescript@5.2.2) + version: 0.10.3(typescript@5.2.2)(zod@3.22.4) class-variance-authority: specifier: ^0.7.0 version: 0.7.0 @@ -147,7 +152,7 @@ importers: version: 4.2.1(typescript@5.2.2)(vite@4.5.1) wagmi: specifier: ^1.4.6 - version: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) + version: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) devDependencies: '@types/node': specifier: ^20.9.2 @@ -253,7 +258,7 @@ importers: version: 0.9.14 axios: specifier: ^1.6.1 - version: 1.6.1 + version: 1.6.1(debug@3.2.7) dotenv: specifier: ^16.3.1 version: 16.3.1 @@ -508,13 +513,13 @@ importers: version: 2.1.0(react@18.2.0) '@verax-attestation-registry/verax-sdk': specifier: 1.1.0 - version: 1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2) + version: 1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2)(zod@3.22.4) '@web3modal/wagmi': specifier: ^3.5.0 version: 3.5.4(@types/react@18.2.37)(@wagmi/core@1.4.7)(typescript@5.2.2)(viem@1.18.9) axios: specifier: ^1.6.1 - version: 1.6.1 + version: 1.6.1(debug@3.2.7) react: specifier: ^18.2.0 version: 18.2.0 @@ -529,7 +534,7 @@ importers: version: 1.18.9(typescript@5.2.2)(zod@3.22.4) wagmi: specifier: ^1.4.6 - version: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) + version: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.2.37 @@ -572,8 +577,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /@adobe/css-tools@4.3.1: - resolution: {integrity: sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==} + /@adobe/css-tools@4.3.2: + resolution: {integrity: sha512-DA5a1C0gD/pLOvhv33YMrbf2FK3oUzwNl9oOJqE4XVjuEtt6XIakRcsd7eLiOSPkp1kTRQGICTA8cKra/vFbjw==} dev: true /@adraffy/ens-normalize@1.10.0: @@ -4625,6 +4630,14 @@ packages: kuler: 2.0.0 dev: false + /@emnapi/runtime@0.44.0: + resolution: {integrity: sha512-ZX/etZEZw8DR7zAB1eVQT40lNo0jeqpb6dCgOvctB6FIQ5PoXfMuNY8+ayQfu8tNQbAB8gQWSSJupR8NxeiZXw==} + requiresBuild: true + dependencies: + tslib: 2.6.2 + dev: true + optional: true + /@emotion/babel-plugin@11.11.0: resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==} dependencies: @@ -7663,6 +7676,194 @@ packages: resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} dev: true + /@img/sharp-darwin-arm64@0.33.1: + resolution: {integrity: sha512-esr2BZ1x0bo+wl7Gx2hjssYhjrhUsD88VQulI0FrG8/otRQUOxLWHMBd1Y1qo2Gfg2KUvXNpT0ASnV9BzJCexw==} + engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-darwin-arm64': 1.0.0 + dev: true + optional: true + + /@img/sharp-darwin-x64@0.33.1: + resolution: {integrity: sha512-YrnuB3bXuWdG+hJlXtq7C73lF8ampkhU3tMxg5Hh+E7ikxbUVOU9nlNtVTloDXz6pRHt2y2oKJq7DY/yt+UXYw==} + engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [darwin] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-darwin-x64': 1.0.0 + dev: true + optional: true + + /@img/sharp-libvips-darwin-arm64@1.0.0: + resolution: {integrity: sha512-VzYd6OwnUR81sInf3alj1wiokY50DjsHz5bvfnsFpxs5tqQxESoHtJO6xyksDs3RIkyhMWq2FufXo6GNSU9BMw==} + engines: {macos: '>=11', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-libvips-darwin-x64@1.0.0: + resolution: {integrity: sha512-dD9OznTlHD6aovRswaPNEy8dKtSAmNo4++tO7uuR4o5VxbVAOoEQ1uSmN4iFAdQneTHws1lkTZeiXPrcCkh6IA==} + engines: {macos: '>=10.13', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-libvips-linux-arm64@1.0.0: + resolution: {integrity: sha512-xTYThiqEZEZc0PRU90yVtM3KE7lw1bKdnDQ9kCTHWbqWyHOe4NpPOtMGy27YnN51q0J5dqRrvicfPbALIOeAZA==} + engines: {glibc: '>=2.26', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-libvips-linux-arm@1.0.0: + resolution: {integrity: sha512-VwgD2eEikDJUk09Mn9Dzi1OW2OJFRQK+XlBTkUNmAWPrtj8Ly0yq05DFgu1VCMx2/DqCGQVi5A1dM9hTmxf3uw==} + engines: {glibc: '>=2.28', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-libvips-linux-s390x@1.0.0: + resolution: {integrity: sha512-o9E46WWBC6JsBlwU4QyU9578G77HBDT1NInd+aERfxeOPbk0qBZHgoDsQmA2v9TbqJRWzoBPx1aLOhprBMgPjw==} + engines: {glibc: '>=2.28', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-libvips-linux-x64@1.0.0: + resolution: {integrity: sha512-naldaJy4hSVhWBgEjfdBY85CAa4UO+W1nx6a1sWStHZ7EUfNiuBTTN2KUYT5dH1+p/xij1t2QSXfCiFJoC5S/Q==} + engines: {glibc: '>=2.26', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-libvips-linuxmusl-arm64@1.0.0: + resolution: {integrity: sha512-OdorplCyvmSAPsoJLldtLh3nLxRrkAAAOHsGWGDYfN0kh730gifK+UZb3dWORRa6EusNqCTjfXV4GxvgJ/nPDQ==} + engines: {musl: '>=1.2.2', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-libvips-linuxmusl-x64@1.0.0: + resolution: {integrity: sha512-FW8iK6rJrg+X2jKD0Ajhjv6y74lToIBEvkZhl42nZt563FfxkCYacrXZtd+q/sRQDypQLzY5WdLkVTbJoPyqNg==} + engines: {musl: '>=1.2.2', npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-linux-arm64@0.33.1: + resolution: {integrity: sha512-59B5GRO2d5N3tIfeGHAbJps7cLpuWEQv/8ySd9109ohQ3kzyCACENkFVAnGPX00HwPTQcaBNF7HQYEfZyZUFfw==} + engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linux-arm64': 1.0.0 + dev: true + optional: true + + /@img/sharp-linux-arm@0.33.1: + resolution: {integrity: sha512-Ii4X1vnzzI4j0+cucsrYA5ctrzU9ciXERfJR633S2r39CiD8npqH2GMj63uFZRCFt3E687IenAdbwIpQOJ5BNA==} + engines: {glibc: '>=2.28', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linux-arm': 1.0.0 + dev: true + optional: true + + /@img/sharp-linux-s390x@0.33.1: + resolution: {integrity: sha512-tRGrb2pHnFUXpOAj84orYNxHADBDIr0J7rrjwQrTNMQMWA4zy3StKmMvwsI7u3dEZcgwuMMooIIGWEWOjnmG8A==} + engines: {glibc: '>=2.28', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [s390x] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linux-s390x': 1.0.0 + dev: true + optional: true + + /@img/sharp-linux-x64@0.33.1: + resolution: {integrity: sha512-4y8osC0cAc1TRpy02yn5omBeloZZwS62fPZ0WUAYQiLhSFSpWJfY/gMrzKzLcHB9ulUV6ExFiu2elMaixKDbeg==} + engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linux-x64': 1.0.0 + dev: true + optional: true + + /@img/sharp-linuxmusl-arm64@0.33.1: + resolution: {integrity: sha512-D3lV6clkqIKUizNS8K6pkuCKNGmWoKlBGh5p0sLO2jQERzbakhu4bVX1Gz+RS4vTZBprKlWaf+/Rdp3ni2jLfA==} + engines: {musl: '>=1.2.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linuxmusl-arm64': 1.0.0 + dev: true + optional: true + + /@img/sharp-linuxmusl-x64@0.33.1: + resolution: {integrity: sha512-LOGKNu5w8uu1evVqUAUKTix2sQu1XDRIYbsi5Q0c/SrXhvJ4QyOx+GaajxmOg5PZSsSnCYPSmhjHHsRBx06/wQ==} + engines: {musl: '>=1.2.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linuxmusl-x64': 1.0.0 + dev: true + optional: true + + /@img/sharp-wasm32@0.33.1: + resolution: {integrity: sha512-vWI/sA+0p+92DLkpAMb5T6I8dg4z2vzCUnp8yvxHlwBpzN8CIcO3xlSXrLltSvK6iMsVMNswAv+ub77rsf25lA==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [wasm32] + requiresBuild: true + dependencies: + '@emnapi/runtime': 0.44.0 + dev: true + optional: true + + /@img/sharp-win32-ia32@0.33.1: + resolution: {integrity: sha512-/xhYkylsKL05R+NXGJc9xr2Tuw6WIVl2lubFJaFYfW4/MQ4J+dgjIo/T4qjNRizrqs/szF/lC9a5+updmY9jaQ==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@img/sharp-win32-x64@0.33.1: + resolution: {integrity: sha512-XaM69X0n6kTEsp9tVYYLhXdg7Qj32vYJlAKRutxUsm1UlgQNx6BOhHwZPwukCGXBU2+tH87ip2eV1I/E8MQnZg==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@ioredis/commands@1.2.0: resolution: {integrity: sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg==} dev: false @@ -9757,7 +9958,7 @@ packages: dotenv: 7.0.0 dotenv-expand: 5.1.0 json5: 2.2.3 - msgpackr: 1.9.9 + msgpackr: 1.10.1 nullthrows: 1.1.1 semver: 5.7.2 dev: true @@ -11120,10 +11321,10 @@ packages: picomatch: 2.3.1 dev: true - /@safe-global/safe-apps-provider@0.17.1(typescript@5.2.2): + /@safe-global/safe-apps-provider@0.17.1(typescript@5.2.2)(zod@3.22.4): resolution: {integrity: sha512-lYfRqrbbK1aKU1/UGkYWc/X7PgySYcumXKc5FB2uuwAs2Ghj8uETuW5BrwPqyjBknRxutFbTv+gth/JzjxAhdQ==} dependencies: - '@safe-global/safe-apps-sdk': 8.0.0(typescript@5.2.2) + '@safe-global/safe-apps-sdk': 8.0.0(typescript@5.2.2)(zod@3.22.4) events: 3.3.0 transitivePeerDependencies: - bufferutil @@ -11132,7 +11333,7 @@ packages: - zod dev: false - /@safe-global/safe-apps-sdk@8.0.0(typescript@5.2.2): + /@safe-global/safe-apps-sdk@8.0.0(typescript@5.2.2)(zod@3.22.4): resolution: {integrity: sha512-gYw0ki/EAuV1oSyMxpqandHjnthZjYYy+YWpTAzf8BqfXM3ItcZLpjxfg+3+mXW8HIO+3jw6T9iiqEXsqHaMMw==} dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.13.2 @@ -11144,7 +11345,7 @@ packages: - zod dev: false - /@safe-global/safe-apps-sdk@8.1.0(typescript@5.2.2): + /@safe-global/safe-apps-sdk@8.1.0(typescript@5.2.2)(zod@3.22.4): resolution: {integrity: sha512-XJbEPuaVc7b9n23MqlF6c+ToYIS3f7P2Sel8f3cSBQ9WORE4xrSuvhMpK9fDSFqJ7by/brc+rmJR/5HViRr0/w==} dependencies: '@safe-global/safe-gateway-typescript-sdk': 3.13.2 @@ -11992,7 +12193,7 @@ packages: resolution: {integrity: sha512-ynmNeT7asXyH3aSVv4vvX4Rb+0qjOhdNHnO/3vuZNqPmhDpV/+rCSGwQ7bLcmU2cJ4dvoheIO85LQj0IbJHEtg==} engines: {node: '>=8', npm: '>=6', yarn: '>=1'} dependencies: - '@adobe/css-tools': 4.3.1 + '@adobe/css-tools': 4.3.2 '@babel/runtime': 7.23.2 '@types/testing-library__jest-dom': 5.14.9 aria-query: 5.3.0 @@ -13127,7 +13328,7 @@ packages: wonka: 6.3.4 dev: false - /@verax-attestation-registry/verax-sdk@1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2): + /@verax-attestation-registry/verax-sdk@1.1.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/types@0.93.2)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(tslib@2.6.2)(typescript@5.2.2)(zod@3.22.4): resolution: {integrity: sha512-baPftHIT3nKQ+MKOzy+El6i9Hrb2W54Cm9BzMTeYSiGygTt11QAP/52J2nxTcsChoCI9Yo87oeaCuZXFvHXplg==} dependencies: '@graphprotocol/client-cli': 3.0.0(@babel/core@7.23.3)(@envelop/core@4.0.3)(@graphql-mesh/cross-helpers@0.4.1)(@graphql-mesh/store@0.95.8)(@graphql-mesh/types@0.93.2)(@graphql-mesh/utils@0.95.8)(@graphql-tools/delegate@10.0.3)(@graphql-tools/merge@9.0.0)(@graphql-tools/utils@9.2.1)(@graphql-tools/wrap@10.0.1)(@types/node@20.10.3)(graphql-tag@2.12.6)(graphql@16.8.1)(react-native@0.72.6) @@ -13140,7 +13341,7 @@ packages: '@graphql-mesh/store': 0.95.8(@graphql-mesh/cross-helpers@0.4.1)(@graphql-mesh/types@0.93.2)(@graphql-mesh/utils@0.95.8)(@graphql-tools/utils@9.2.1)(graphql@16.8.1)(tslib@2.6.2) '@graphql-mesh/utils': 0.95.8(@graphql-mesh/cross-helpers@0.4.1)(@graphql-mesh/types@0.93.2)(@graphql-tools/utils@9.2.1)(graphql@16.8.1)(tslib@2.6.2) '@whatwg-node/fetch': 0.9.14 - axios: 1.6.1 + axios: 1.6.1(debug@3.2.7) dotenv: 16.3.1 graphql: 16.8.1 viem: 1.18.9(typescript@5.2.2)(zod@3.22.4) @@ -13276,7 +13477,7 @@ packages: requiresBuild: true dev: false - /@wagmi/connectors@3.1.5(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9): + /@wagmi/connectors@3.1.5(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4): resolution: {integrity: sha512-aE4rWZbivqWa9HqjiLDPtwROH2b1Az+lBVMeZ3o/aFxGNGNEkdrSAMOUG15/UFy3VnN6HqGOtTobOBZ10JhfNQ==} peerDependencies: typescript: '>=5.0.4' @@ -13287,13 +13488,13 @@ packages: dependencies: '@coinbase/wallet-sdk': 3.7.2 '@ledgerhq/connect-kit-loader': 1.1.2 - '@safe-global/safe-apps-provider': 0.17.1(typescript@5.2.2) - '@safe-global/safe-apps-sdk': 8.1.0(typescript@5.2.2) + '@safe-global/safe-apps-provider': 0.17.1(typescript@5.2.2)(zod@3.22.4) + '@safe-global/safe-apps-sdk': 8.1.0(typescript@5.2.2)(zod@3.22.4) '@walletconnect/ethereum-provider': 2.10.2(@walletconnect/modal@2.6.2) '@walletconnect/legacy-provider': 2.0.0 '@walletconnect/modal': 2.6.2(@types/react@18.2.37)(react@18.2.0) '@walletconnect/utils': 2.10.2 - abitype: 0.8.7(typescript@5.2.2) + abitype: 0.8.7(typescript@5.2.2)(zod@3.22.4) eventemitter3: 4.0.7 typescript: 5.2.2 viem: 1.18.9(typescript@5.2.2)(zod@3.22.4) @@ -13319,7 +13520,7 @@ packages: - zod dev: false - /@wagmi/core@1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9): + /@wagmi/core@1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4): resolution: {integrity: sha512-PiOIGni8ArQoPmuDylHX38zMt2nPnTYRIluIqiduKyGCM61X/tf10a0rafUMOOphDPudZu1TacNDhCSeoh/LEA==} peerDependencies: typescript: '>=5.0.4' @@ -13328,8 +13529,8 @@ packages: typescript: optional: true dependencies: - '@wagmi/connectors': 3.1.5(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) - abitype: 0.8.7(typescript@5.2.2) + '@wagmi/connectors': 3.1.5(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) + abitype: 0.8.7(typescript@5.2.2)(zod@3.22.4) eventemitter3: 4.0.7 typescript: 5.2.2 viem: 1.18.9(typescript@5.2.2)(zod@3.22.4) @@ -14057,7 +14258,7 @@ packages: vue: optional: true dependencies: - '@wagmi/core': 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) + '@wagmi/core': 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) '@web3modal/polyfills': 3.5.4 '@web3modal/scaffold': 3.5.4(@types/react@18.2.37)(react@18.2.0) '@web3modal/scaffold-react': 3.5.4(@types/react@18.2.37)(react-dom@18.2.0)(react@18.2.0) @@ -14337,7 +14538,7 @@ packages: resolution: {integrity: sha512-LEyx4aLEC3x6T0UguF6YILf+ntvmOaWsVfENmIW0E9H09vKlLDGelMjjSm0jkDHALj8A8quZ/HapKNigzwge+Q==} dev: true - /abitype@0.10.3(typescript@5.2.2): + /abitype@0.10.3(typescript@5.2.2)(zod@3.22.4): resolution: {integrity: sha512-tRN+7XIa7J9xugdbRzFv/95ka5ivR/sRe01eiWvM0HWWjHuigSZEACgKa0sj4wGuekTDtghCx+5Izk/cOi78pQ==} peerDependencies: typescript: '>=5.0.4' @@ -14349,9 +14550,10 @@ packages: optional: true dependencies: typescript: 5.2.2 + zod: 3.22.4 dev: false - /abitype@0.8.7(typescript@5.2.2): + /abitype@0.8.7(typescript@5.2.2)(zod@3.22.4): resolution: {integrity: sha512-wQ7hV8Yg/yKmGyFpqrNZufCxbszDe5es4AZGYPBitocfSqXtjrTG9JMWFcc4N30ukl2ve48aBTwt7NJxVQdU3w==} peerDependencies: typescript: '>=5.0.4' @@ -14361,6 +14563,7 @@ packages: optional: true dependencies: typescript: 5.2.2 + zod: 3.22.4 dev: false /abitype@0.9.8(typescript@5.2.2)(zod@3.22.4): @@ -14712,7 +14915,7 @@ packages: /apisauce@2.1.6(debug@4.3.4): resolution: {integrity: sha512-MdxR391op/FucS2YQRfB/NMRyCnHEPDd4h17LRIuVYi0BpGmMhpxc0shbOpfs5ahABuBEffNCGal5EcsydbBWg==} dependencies: - axios: 0.21.4(debug@4.3.4) + axios: 1.6.1(debug@4.3.4) transitivePeerDependencies: - debug dev: true @@ -15116,26 +15319,10 @@ packages: engines: {node: '>=4'} dev: true - /axios@0.21.4(debug@3.2.7): - resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} - dependencies: - follow-redirects: 1.15.3(debug@3.2.7) - transitivePeerDependencies: - - debug - dev: true - - /axios@0.21.4(debug@4.3.4): - resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} - dependencies: - follow-redirects: 1.15.3(debug@4.3.4) - transitivePeerDependencies: - - debug - dev: true - - /axios@1.6.1: + /axios@1.6.1(debug@3.2.7): resolution: {integrity: sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==} dependencies: - follow-redirects: 1.15.3(debug@3.2.7) + follow-redirects: 1.15.4(debug@3.2.7) form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -15144,7 +15331,7 @@ packages: /axios@1.6.1(debug@4.3.4): resolution: {integrity: sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==} dependencies: - follow-redirects: 1.15.3(debug@4.3.4) + follow-redirects: 1.15.4(debug@4.3.4) form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -15625,7 +15812,7 @@ packages: resolution: {integrity: sha512-v7ms6N/H7iciuk6QInon3/n2mu7oRX+6knJ9xFPsJ3rQePgAqcR3CRTwUheFd8SLbiq4LL7Z4G/44L9zscdt9A==} engines: {node: '>=10'} dependencies: - axios: 0.21.4(debug@4.3.4) + axios: 1.6.1(debug@4.3.4) rimraf: 3.0.2 tar: 6.2.0 transitivePeerDependencies: @@ -16924,7 +17111,7 @@ packages: resize-observer-polyfill: 1.5.1 styled-components: 5.3.11(@babel/core@7.23.3)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0) viem: 1.18.9(typescript@5.2.2)(zod@3.22.4) - wagmi: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) + wagmi: 1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) transitivePeerDependencies: - '@babel/core' - react-is @@ -19346,7 +19533,7 @@ packages: optional: true dependencies: '@solidity-parser/parser': 0.14.5 - axios: 1.6.1 + axios: 1.6.1(debug@3.2.7) cli-table3: 0.5.1 colors: 1.4.0 ethereum-cryptography: 1.2.0 @@ -19612,6 +19799,7 @@ packages: /expand-template@2.0.3: resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} engines: {node: '>=6'} + dev: false /expect@29.7.0: resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} @@ -20104,8 +20292,8 @@ packages: tslib: 2.6.2 dev: true - /follow-redirects@1.15.3(debug@3.2.7): - resolution: {integrity: sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==} + /follow-redirects@1.15.4(debug@3.2.7): + resolution: {integrity: sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -20115,8 +20303,8 @@ packages: dependencies: debug: 3.2.7 - /follow-redirects@1.15.3(debug@4.3.4): - resolution: {integrity: sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==} + /follow-redirects@1.15.4(debug@4.3.4): + resolution: {integrity: sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -20545,7 +20733,7 @@ packages: gatsby-core-utils: 3.25.0 gatsby-plugin-utils: 3.19.0(gatsby@4.25.7)(graphql@15.8.0) semver: 7.5.4 - sharp: 0.30.7 + sharp: 0.33.1 transitivePeerDependencies: - graphql dev: true @@ -20684,7 +20872,7 @@ packages: engines: {node: '>=14.15.0'} dependencies: '@types/sharp': 0.30.5 - sharp: 0.30.7 + sharp: 0.33.1 dev: true /gatsby-telemetry@3.25.0: @@ -20759,7 +20947,7 @@ packages: address: 1.1.2 anser: 2.1.1 autoprefixer: 10.4.16(postcss@8.4.31) - axios: 0.21.4(debug@3.2.7) + axios: 1.6.1(debug@3.2.7) babel-loader: 8.3.0(@babel/core@7.23.2)(webpack@5.89.0) babel-plugin-add-module-exports: 1.0.4 babel-plugin-dynamic-import-node: 2.3.3 @@ -21078,6 +21266,7 @@ packages: /github-from-package@0.0.0: resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} + dev: false /glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} @@ -24066,7 +24255,7 @@ packages: resolution: {integrity: sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==} requiresBuild: true dependencies: - msgpackr: 1.9.9 + msgpackr: 1.10.1 node-addon-api: 4.3.0 node-gyp-build-optional-packages: 5.0.3 ordered-binary: 1.4.1 @@ -24084,7 +24273,7 @@ packages: resolution: {integrity: sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==} requiresBuild: true dependencies: - msgpackr: 1.9.9 + msgpackr: 1.10.1 node-addon-api: 4.3.0 node-gyp-build-optional-packages: 5.0.3 ordered-binary: 1.4.1 @@ -25624,8 +25813,8 @@ packages: dev: true optional: true - /msgpackr@1.9.9: - resolution: {integrity: sha512-sbn6mioS2w0lq1O6PpGtsv6Gy8roWM+o3o4Sqjd6DudrL/nOugY+KyJUimoWzHnf9OkO0T6broHFnYE/R05t9A==} + /msgpackr@1.10.1: + resolution: {integrity: sha512-r5VRLv9qouXuLiIBrLpl2d5ZvPt8svdQTl5/vMvE4nzDMyEX4sgW5yWhuBBj5UmgwOTWj8CIdSXn5sAfsHAWIQ==} optionalDependencies: msgpackr-extract: 3.0.2 dev: true @@ -25705,6 +25894,7 @@ packages: /napi-build-utils@1.0.2: resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} + dev: false /napi-macros@2.2.2: resolution: {integrity: sha512-hmEVtAGYzVQpCKdbQea4skABsdXW4RUh5t5mJ2zzqowJS2OyXZTU1KhDVFhx+NlWZ4ap9mqR9TcDO3LTTttd+g==} @@ -25786,6 +25976,7 @@ packages: engines: {node: '>=10'} dependencies: semver: 7.5.4 + dev: false /node-abort-controller@3.1.1: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} @@ -25798,10 +25989,6 @@ packages: resolution: {integrity: sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==} dev: true - /node-addon-api@5.1.0: - resolution: {integrity: sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==} - dev: true - /node-addon-api@7.0.0: resolution: {integrity: sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==} @@ -27355,6 +27542,7 @@ packages: simple-get: 4.0.1 tar-fs: 2.1.1 tunnel-agent: 0.6.0 + dev: false /prelude-ls@1.1.2: resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} @@ -29330,19 +29518,34 @@ packages: /shallowequal@1.1.0: resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} - /sharp@0.30.7: - resolution: {integrity: sha512-G+MY2YW33jgflKPTXXptVO28HvNOo9G3j0MybYAHeEmby+QuD2U98dT6ueht9cv/XDqZspSpIhoSW+BAKJ7Hig==} - engines: {node: '>=12.13.0'} + /sharp@0.33.1: + resolution: {integrity: sha512-iAYUnOdTqqZDb3QjMneBKINTllCJDZ3em6WaWy7NPECM4aHncvqHRm0v0bN9nqJxMiwamv5KIdauJ6lUzKDpTQ==} + engines: {libvips: '>=8.15.0', node: ^18.17.0 || ^20.3.0 || >=21.0.0} requiresBuild: true dependencies: color: 4.2.3 detect-libc: 2.0.2 - node-addon-api: 5.1.0 - prebuild-install: 7.1.1 semver: 7.5.4 - simple-get: 4.0.1 - tar-fs: 2.1.1 - tunnel-agent: 0.6.0 + optionalDependencies: + '@img/sharp-darwin-arm64': 0.33.1 + '@img/sharp-darwin-x64': 0.33.1 + '@img/sharp-libvips-darwin-arm64': 1.0.0 + '@img/sharp-libvips-darwin-x64': 1.0.0 + '@img/sharp-libvips-linux-arm': 1.0.0 + '@img/sharp-libvips-linux-arm64': 1.0.0 + '@img/sharp-libvips-linux-s390x': 1.0.0 + '@img/sharp-libvips-linux-x64': 1.0.0 + '@img/sharp-libvips-linuxmusl-arm64': 1.0.0 + '@img/sharp-libvips-linuxmusl-x64': 1.0.0 + '@img/sharp-linux-arm': 0.33.1 + '@img/sharp-linux-arm64': 0.33.1 + '@img/sharp-linux-s390x': 0.33.1 + '@img/sharp-linux-x64': 0.33.1 + '@img/sharp-linuxmusl-arm64': 0.33.1 + '@img/sharp-linuxmusl-x64': 0.33.1 + '@img/sharp-wasm32': 0.33.1 + '@img/sharp-win32-ia32': 0.33.1 + '@img/sharp-win32-x64': 0.33.1 dev: true /shasum-object@1.0.0: @@ -29412,6 +29615,7 @@ packages: decompress-response: 6.0.0 once: 1.4.0 simple-concat: 1.0.1 + dev: false /simple-swizzle@0.2.2: resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} @@ -29540,7 +29744,7 @@ packages: dependencies: command-exists: 1.2.9 commander: 3.0.2 - follow-redirects: 1.15.3(debug@4.3.4) + follow-redirects: 1.15.4(debug@4.3.4) fs-extra: 0.30.0 js-sha3: 0.8.0 memorystream: 0.3.1 @@ -30394,6 +30598,7 @@ packages: mkdirp-classic: 0.5.3 pump: 3.0.0 tar-stream: 2.2.0 + dev: false /tar-fs@3.0.4: resolution: {integrity: sha512-5AFQU8b9qLfZCX9zp2duONhPmZv0hGYiBPJsyUdqMjzq/mqVpy/rEUSeHk1+YitmxugaptgBh5oDGU3VsAJq4w==} @@ -32107,7 +32312,7 @@ packages: hasBin: true dev: true - /wagmi@1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9): + /wagmi@1.4.7(@types/react@18.2.37)(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4): resolution: {integrity: sha512-/k8gA9S6RnwU6Qroxs630jAFvRIx+DSKpCP1owgAEGWc7D2bAJHljwRSCRTGENz48HyJ4V3R7KYV1yImxPvM3A==} peerDependencies: react: '>=17.0.0' @@ -32120,8 +32325,8 @@ packages: '@tanstack/query-sync-storage-persister': 4.36.1 '@tanstack/react-query': 4.36.1(react-dom@18.2.0)(react-native@0.72.6)(react@18.2.0) '@tanstack/react-query-persist-client': 4.36.1(@tanstack/react-query@4.36.1) - '@wagmi/core': 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9) - abitype: 0.8.7(typescript@5.2.2) + '@wagmi/core': 1.4.7(@types/react@18.2.37)(react@18.2.0)(typescript@5.2.2)(viem@1.18.9)(zod@3.22.4) + abitype: 0.8.7(typescript@5.2.2)(zod@3.22.4) react: 18.2.0 typescript: 5.2.2 use-sync-external-store: 1.2.0(react@18.2.0) From 3f022cefa48268f71a7c3691ca7038df98c272bb Mon Sep 17 00:00:00 2001 From: voenkomatiwe <71823442+voenkomatiwe@users.noreply.github.com> Date: Thu, 11 Jan 2024 16:46:22 +0200 Subject: [PATCH 08/60] feat: Place beta label next to logo in explorer #518 (#522) --- explorer/src/assets/logo/beta-dark.svg | 7 ++++++ .../src/assets/logo/beta-light-strong.svg | 7 ++++++ explorer/src/assets/logo/beta-light.svg | 7 ++++++ ...logo-dark-mode.svg => verax-logo-dark.svg} | 0 ...ogo-grey.svg => verax-logo-grey-light.svg} | 0 .../{verax-logo.svg => verax-logo-light.svg} | 0 explorer/src/components/Footer/index.tsx | 22 +++++++++++++------ explorer/src/components/Header/index.tsx | 16 ++++++++++---- 8 files changed, 48 insertions(+), 11 deletions(-) create mode 100644 explorer/src/assets/logo/beta-dark.svg create mode 100644 explorer/src/assets/logo/beta-light-strong.svg create mode 100644 explorer/src/assets/logo/beta-light.svg rename explorer/src/assets/logo/{verax-logo-dark-mode.svg => verax-logo-dark.svg} (100%) rename explorer/src/assets/logo/{verax-logo-grey.svg => verax-logo-grey-light.svg} (100%) rename explorer/src/assets/logo/{verax-logo.svg => verax-logo-light.svg} (100%) diff --git a/explorer/src/assets/logo/beta-dark.svg b/explorer/src/assets/logo/beta-dark.svg new file mode 100644 index 00000000..5c18ac65 --- /dev/null +++ b/explorer/src/assets/logo/beta-dark.svg @@ -0,0 +1,7 @@ + + + + diff --git a/explorer/src/assets/logo/beta-light-strong.svg b/explorer/src/assets/logo/beta-light-strong.svg new file mode 100644 index 00000000..4932a70d --- /dev/null +++ b/explorer/src/assets/logo/beta-light-strong.svg @@ -0,0 +1,7 @@ + + + + diff --git a/explorer/src/assets/logo/beta-light.svg b/explorer/src/assets/logo/beta-light.svg new file mode 100644 index 00000000..a8c8ac4b --- /dev/null +++ b/explorer/src/assets/logo/beta-light.svg @@ -0,0 +1,7 @@ + + + + diff --git a/explorer/src/assets/logo/verax-logo-dark-mode.svg b/explorer/src/assets/logo/verax-logo-dark.svg similarity index 100% rename from explorer/src/assets/logo/verax-logo-dark-mode.svg rename to explorer/src/assets/logo/verax-logo-dark.svg diff --git a/explorer/src/assets/logo/verax-logo-grey.svg b/explorer/src/assets/logo/verax-logo-grey-light.svg similarity index 100% rename from explorer/src/assets/logo/verax-logo-grey.svg rename to explorer/src/assets/logo/verax-logo-grey-light.svg diff --git a/explorer/src/assets/logo/verax-logo.svg b/explorer/src/assets/logo/verax-logo-light.svg similarity index 100% rename from explorer/src/assets/logo/verax-logo.svg rename to explorer/src/assets/logo/verax-logo-light.svg diff --git a/explorer/src/components/Footer/index.tsx b/explorer/src/components/Footer/index.tsx index 8e52ca29..2ab34fa9 100644 --- a/explorer/src/components/Footer/index.tsx +++ b/explorer/src/components/Footer/index.tsx @@ -1,9 +1,11 @@ import { useTernaryDarkMode } from "usehooks-ts"; +import BetaDark from "@/assets/logo/beta-dark.svg?react"; +import BetaLight from "@/assets/logo/beta-light.svg?react"; import HapiLogoDark from "@/assets/logo/hapi-dark.svg?react"; import HapiLogo from "@/assets/logo/hapi.svg?react"; import VeraxLogoGreyDark from "@/assets/logo/verax-logo-grey-dark.svg?react"; -import VeraxLogoGrey from "@/assets/logo/verax-logo-grey.svg?react"; +import VeraxLogoGrey from "@/assets/logo/verax-logo-grey-light.svg?react"; import { Link } from "@/components/Link"; import { INFO_LIST } from "@/constants/components"; import { APP_ROUTES } from "@/routes/constants"; @@ -15,8 +17,9 @@ export const Footer: React.FC = () => {