diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..a9575a4 Binary files /dev/null and b/.DS_Store differ diff --git a/data/chains/V2/chains.json b/data/chains/V2/chains.json index 9e4c9fd..21c7142 100644 --- a/data/chains/V2/chains.json +++ b/data/chains/V2/chains.json @@ -1288,7 +1288,7 @@ }, { "id": "cosmoshub", - "graph_id": "cosmoshub-4", + "graph_id": null, "name": "Cosmos Hub", "alt_names": [], "standard": "cosmos", @@ -1334,7 +1334,7 @@ "testnets": [ { "id": "theta", - "graph_id": "theta-testnet-001", + "graph_id": null, "name": "Theta", "alt_names": [], "standard": "cosmos", @@ -1406,7 +1406,7 @@ }, { "id": "osmosis", - "graph_id": "osmosis-1", + "graph_id": null, "name": "Osmosis", "alt_names": [], "standard": "cosmos", diff --git a/data/chains/V2/cosmoshub/meta.ts b/data/chains/V2/cosmoshub/meta.ts index ac27a65..6bb347d 100644 --- a/data/chains/V2/cosmoshub/meta.ts +++ b/data/chains/V2/cosmoshub/meta.ts @@ -2,7 +2,7 @@ import { ___InternalChain } from '../../../../types/chain.types'; const meta: ___InternalChain = { id: 'cosmoshub', - graph_id: 'cosmoshub-4', + graph_id: null, name: 'Cosmos Hub', alt_names: [], standard: 'cosmos', diff --git a/data/chains/V2/cosmoshub/testnets/theta/meta.ts b/data/chains/V2/cosmoshub/testnets/theta/meta.ts index 2b3c92c..99abe48 100644 --- a/data/chains/V2/cosmoshub/testnets/theta/meta.ts +++ b/data/chains/V2/cosmoshub/testnets/theta/meta.ts @@ -2,7 +2,7 @@ import { ___InternalTestnet } from '../../../../../../types/chain.types'; const meta: ___InternalTestnet = { id: 'theta', - graph_id: 'theta-testnet-001', + graph_id: null, name: 'Theta', alt_names: [], standard: 'cosmos', diff --git a/data/chains/V2/index.ts b/data/chains/V2/index.ts index 34fc308..10122fc 100644 --- a/data/chains/V2/index.ts +++ b/data/chains/V2/index.ts @@ -1,6 +1,6 @@ // This file is auto-generated on pre-commit to avoid maintaining it. // Do not modify manually as it will be overwritten. -// Last generation on 10/30/2024, 4:42:18 PM. +// Last generation on 11/7/2024, 10:28:21 PM. export { default as celo } from './celo/meta'; export { default as alfajores } from './celo/testnets/alfajores/meta'; diff --git a/data/chains/V2/osmosis/meta.ts b/data/chains/V2/osmosis/meta.ts index ac8b7c1..1668f13 100644 --- a/data/chains/V2/osmosis/meta.ts +++ b/data/chains/V2/osmosis/meta.ts @@ -2,7 +2,7 @@ import { ___InternalChain } from '../../../../types/chain.types'; const meta: ___InternalChain = { id: 'osmosis', - graph_id: 'osmosis-1', + graph_id: null, name: 'Osmosis', alt_names: [], standard: 'cosmos', diff --git a/data/index.config.ts b/data/index.config.ts index 0d9c98c..3a4c8fa 100644 --- a/data/index.config.ts +++ b/data/index.config.ts @@ -2,7 +2,7 @@ // Chains under ordered were manually placed, to manage the z-index (priority order) of chains. // Chains under missing are generated from available data, make sure to order them. // Include deprecated or future chains. -// Last generation on 10/30/2024, 4:42:18 PM. +// Last generation on 11/7/2024, 10:28:21 PM. export default { ordered: { diff --git a/package.json b/package.json index 088232d..1bf0d23 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pinax/chains", - "version": "2.0.50", + "version": "2.0.51", "description": "Single-source-of-truth for the metadata of chains supported by Pinax.", "keywords": [ "chains", diff --git a/types/graph.types.ts b/types/graph.types.ts index 95226eb..aed879c 100644 --- a/types/graph.types.ts +++ b/types/graph.types.ts @@ -1,6 +1,6 @@ // This file is auto-generated on pre-commit to avoid maintaining it. // Do not modify manually as it will be overwritten. -// Last generation on 10/30/2024, 4:42:18 PM. +// Last generation on 11/7/2024, 10:28:21 PM. export type GraphID = | 'arbitrum-nova' | 'arbitrum-one' @@ -25,7 +25,6 @@ export type GraphID = | 'chapel' | 'chiliz' | 'chiliz-testnet' - | 'cosmoshub-4' | 'etherlink-mainnet' | 'etherlink-testnet' | 'fantom' @@ -43,6 +42,7 @@ export type GraphID = | 'iotex-testnet' | 'kaia' | 'kaia-testnet' + | 'lens-testnet' | 'linea' | 'linea-sepolia' | 'mainnet' @@ -58,8 +58,6 @@ export type GraphID = | 'neox-testnet' | 'optimism' | 'optimism-sepolia' - | 'osmo-test-4' - | 'osmosis-1' | 'polygon-amoy' | 'polygon-zkevm' | 'polygon-zkevm-cardona' @@ -70,10 +68,10 @@ export type GraphID = | 'sei-atlantic' | 'sei-mainnet' | 'sepolia' + | 'solana-devnet' | 'solana-mainnet-beta' | 'soneium-testnet' | 'starknet-mainnet' - | 'theta-testnet-001' | 'unichain-testnet' | 'xlayer-mainnet' | 'xlayer-sepolia' diff --git a/types/pinax.types.ts b/types/pinax.types.ts index 6194cc5..1e1d27a 100644 --- a/types/pinax.types.ts +++ b/types/pinax.types.ts @@ -1,6 +1,6 @@ // This file is auto-generated on pre-commit to avoid maintaining it / circular dependencies. // Do not modify manually as it will be overwritten. -// Last generation on 10/30/2024, 4:42:18 PM. +// Last generation on 11/7/2024, 10:28:21 PM. export type PinaxID = | 'celo' | 'alfajores' diff --git a/utils/chains.ts b/utils/chains.ts index c7e1f2f..67dbe3a 100644 --- a/utils/chains.ts +++ b/utils/chains.ts @@ -285,21 +285,21 @@ const getNumberOfSupportedChains = ( ) => { let supportedChains = 0; chains - .filter((c: any) => isChainSupported(c)) + .filter((c: any) => isChainSupported(c) || isChainBeta(c)) .forEach((c: any) => { supportedChains++; c.consensus?.forEach((consensus: any) => { - if (isChainSupported(consensus)) { + if (isChainSupported(consensus) || isChainBeta(c)) { supportedChains++; } }); c.evms?.forEach((evm: any) => { - if (isChainSupported(evm)) { + if (isChainSupported(evm) || isChainBeta(evm)) { supportedChains++; } }); c.testnets?.forEach((tn: any) => { - if (isChainSupported(tn)) { + if (isChainSupported(tn) || isChainBeta(tn)) { supportedChains++; } });