diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4b73b3fa469b..2635a2f791a1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -71,7 +71,7 @@ importers: version: 5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) '@edgeandnode/go': specifier: 6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e - version: 6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@edgeandnode/common@6.10.0(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)))(@edgeandnode/gds@5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)))(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) + version: 6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@edgeandnode/common@6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)))(@edgeandnode/gds@5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)))(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) '@emotion/react': specifier: ^11.11.4 version: 11.11.4(@types/react@18.3.3)(react@18.3.1) @@ -155,14 +155,14 @@ importers: website: dependencies: '@edgeandnode/common': - specifier: ^6.10.0 - version: 6.10.0(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)) + specifier: ^6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74 + version: 6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)) '@edgeandnode/gds': specifier: 5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e version: 5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) '@edgeandnode/go': specifier: 6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e - version: 6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@edgeandnode/common@6.10.0(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)))(@edgeandnode/gds@5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)))(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) + version: 6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@edgeandnode/common@6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)))(@edgeandnode/gds@5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)))(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) '@emotion/react': specifier: ^11.11.4 version: 11.11.4(@types/react@18.3.3)(react@18.3.1) @@ -702,6 +702,9 @@ packages: '@edgeandnode/common@6.10.0': resolution: {integrity: sha512-3xwd9peJeWYJDV+nDYl9GA99xTpklI96Qm0EtQ7LnOfa8GAXZW2AlRat67dZFuZ1onXgXuTHfhpJTUlQE7iIAw==} + '@edgeandnode/common@6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74': + resolution: {integrity: sha512-1xkMO5cMdvDE2C+6psPqogkEJNW8/TuvlPIfAQwYaod4RV4AJKvl9Z/hHKam+OXhSuE+yeHvo4U1Xs2BQGCWBQ==} + '@edgeandnode/eslint-config@2.0.3': resolution: {integrity: sha512-I89EK3cJNmJqJH1zLwyoKFFP6lrOWnPnZDgo8/Ew7BpOOA1Qhqcu0ek6erAo+mDt/4/4hlEu0Agrewr80NcImA==} peerDependencies: @@ -5529,6 +5532,10 @@ packages: resolution: {integrity: sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} + graphql@16.8.2: + resolution: {integrity: sha512-cvVIBILwuoSyD54U4cF/UXDh5yAobhNV/tPygI4lZhgOIJQE/WLWC4waBRb4I6bDVYb3OVx3lfHbaQOEoUD5sg==} + engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} + gray-matter@4.0.3: resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==} engines: {node: '>=6.0'} @@ -9598,6 +9605,25 @@ snapshots: - hardhat - utf-8-validate + '@edgeandnode/common@6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))': + dependencies: + '@ethersproject/providers': 5.7.2 + '@uniswap/sdk-core': 3.2.3 + '@uniswap/v3-core': 1.0.1 + '@uniswap/v3-sdk': 3.13.0(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)) + dataloader: 2.2.2 + dayjs: 1.11.11 + decimal.js: 10.4.3 + ethers: 5.7.2 + graphql: 16.8.2 + graphql-tag: 2.12.6(graphql@16.8.2) + numeral: 2.0.6 + pluralize: 8.0.0 + transitivePeerDependencies: + - bufferutil + - hardhat + - utf-8-validate + '@edgeandnode/eslint-config@2.0.3(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@hasparus/eslint-plugin': 1.0.0 @@ -9678,9 +9704,9 @@ snapshots: - hardhat - utf-8-validate - ? '@edgeandnode/go@6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@edgeandnode/common@6.10.0(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)))(@edgeandnode/gds@5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)))(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))' + ? '@edgeandnode/go@6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@edgeandnode/common@6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)))(@edgeandnode/gds@5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)))(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))' : dependencies: - '@edgeandnode/common': 6.10.0(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)) + '@edgeandnode/common': 6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)) '@edgeandnode/gds': 5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.11)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))(next@14.2.4(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) '@emotion/react': 11.11.4(@types/react@18.3.3)(react@18.3.1) '@phosphor-icons/react': 2.1.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -16026,6 +16052,11 @@ snapshots: graphql: 16.8.1 tslib: 2.6.3 + graphql-tag@2.12.6(graphql@16.8.2): + dependencies: + graphql: 16.8.2 + tslib: 2.6.3 + graphql-ws@5.16.0(graphql@16.8.1): dependencies: graphql: 16.8.1 @@ -16064,6 +16095,8 @@ snapshots: graphql@16.8.1: {} + graphql@16.8.2: {} + gray-matter@4.0.3: dependencies: js-yaml: 3.14.1 diff --git a/website/package.json b/website/package.json index 1009f51b66a3..16bd2c84f396 100644 --- a/website/package.json +++ b/website/package.json @@ -13,7 +13,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@edgeandnode/common": "^6.10.0", + "@edgeandnode/common": "^6.11.1-remove-injective-studio-support-1718401771108-74c8ecedae5c754047b4248b0a6bce262b8e7a74", "@edgeandnode/gds": "5.15.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e", "@edgeandnode/go": "6.23.0-sunrise-countdown-banner-1718175684308-cb24bd26f94e08877a72d73cbdc7dcb9449a7c9e", "@emotion/react": "^11.11.4", diff --git a/website/src/supportedNetworks.tsx b/website/src/supportedNetworks.tsx index a58e4d87d44c..657272baaf3b 100644 --- a/website/src/supportedNetworks.tsx +++ b/website/src/supportedNetworks.tsx @@ -30,8 +30,14 @@ export async function getSupportedNetworks() { .map((chain) => { const supportedOnHostedService = chain.productDeployStatus.hostedService === ChainProductStatus.ALLOWED const supportedOnStudio = chain.productDeployStatus.studio === ChainProductStatus.ALLOWED + const integrationType = ['evm', 'near', 'cosmos', 'osmosis', 'ar'].includes(chain.network) + ? chain.network + : 'substreams' - if (!chain.graphCliName || (!supportedOnStudio && !supportedOnHostedService)) { + if ( + !chain.graphCliName || + (!supportedOnStudio && !supportedOnHostedService && integrationType !== 'substreams') + ) { return null as never // `as never` to work around the `.filter(Boolean)` below not narrowing the type } @@ -48,9 +54,7 @@ export async function getSupportedNetworks() { supportedOnStudio, fullySupportedOnNetwork, substreams: chain.substreams ?? [], - integrationType: ['evm', 'near', 'cosmos', 'osmosis', 'ar'].includes(chain.network) - ? chain.network - : 'substreams', + integrationType, } }) .filter(Boolean),