diff --git a/data/chains/V2/index.ts b/data/chains/V2/index.ts index 4a0461f..7dff82b 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 11/27/2024, 6:12:04 PM. +// Last generation on 12/3/2024, 8:42:26 PM. export { default as celo } from './celo/meta'; export { default as alfajores } from './celo/testnets/alfajores/meta'; diff --git a/data/index.config.ts b/data/index.config.ts index e3306e0..187e230 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 11/27/2024, 6:12:05 PM. +// Last generation on 12/3/2024, 8:42:26 PM. export default { ordered: { diff --git a/package.json b/package.json index af49da1..f97851f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pinax/chains", - "version": "2.1.2", + "version": "2.1.6", "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 9e2feb0..0e0dc4b 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 11/27/2024, 6:12:05 PM. +// Last generation on 12/3/2024, 8:42:26 PM. export type GraphID = | 'abstract' | 'abstract-testnet' diff --git a/types/pinax.types.ts b/types/pinax.types.ts index 639da75..907727f 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 11/27/2024, 6:12:05 PM. +// Last generation on 12/3/2024, 8:42:26 PM. export type PinaxID = | 'celo' | 'alfajores' diff --git a/utils/chains.ts b/utils/chains.ts index 9a82b8c..593f774 100644 --- a/utils/chains.ts +++ b/utils/chains.ts @@ -38,6 +38,7 @@ const isServiceSupported = ( return ( serviceStatusDates.full_released_at !== null && + new Date(serviceStatusDates.full_released_at) < new Date() && serviceStatusDates.deprecated_at === null ); }; @@ -61,6 +62,7 @@ const isServiceBeta = ( return ( serviceStatusDates && serviceStatusDates.beta_released_at !== null && + new Date(serviceStatusDates.beta_released_at) < new Date() && serviceStatusDates.deprecated_at === null && !isServiceSupported(chain, service) );