Skip to content

Commit

Permalink
2.0.6 - planned releases
Browse files Browse the repository at this point in the history
  • Loading branch information
SoA432 committed Dec 3, 2024
1 parent 4ef2cc8 commit d24f79e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/chains/V2/index.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion data/index.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion types/graph.types.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion types/pinax.types.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 2 additions & 0 deletions utils/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const isServiceSupported = (

return (
serviceStatusDates.full_released_at !== null &&
new Date(serviceStatusDates.full_released_at) < new Date() &&
serviceStatusDates.deprecated_at === null
);
};
Expand All @@ -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)
);
Expand Down

0 comments on commit d24f79e

Please sign in to comment.