Skip to content

Commit

Permalink
2.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
SoA432 committed Aug 29, 2024
1 parent 72873e1 commit 698e081
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 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 8/29/2024, 4:34:59 PM.
// Last generation on 8/29/2024, 4:46:32 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 8/29/2024, 4:34:59 PM.
// Last generation on 8/29/2024, 4:46:32 PM.

export default {
ordered: {
Expand Down
8 changes: 4 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as chains from './data/chains/V2';
import * as services from './data/services';
import * as types from './types';
import * as utils from './utils';
import * as chains from './data/chains/V2/index.js';
import * as services from './data/services.js';
import * as types from './types/index.js';
import * as utils from './utils/index.js';

export default { chains, services, types, utils };
export { chains, services, types, utils };
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "@pinax/chains",
"version": "2.0.17",
"version": "2.0.18",
"description": "Single-source-of-truth for the metadata of chains supported by Pinax.",
"keywords": [
"chains",
"metadata",
"ssot"
],
"type": "module",
"author": "Dominic <dominic@pinax.network>",
"main": "data/chains/V2/data.json",
"types": "/types/index.ts",
Expand All @@ -18,6 +19,13 @@
"/data/chains/V2/chains.json",
"/build"
],
"exports": {
".": {
"import": "./build/index.js",
"types": "./build/index.d.ts",
"default": "./build/index.js"
}
},
"scripts": {
"fetch-graph-ids": "bun ./scripts/fetchGraphIDs.ts",
"format": "prettier --log-level warn --write \"./**/*.{js,jsx,ts,tsx}\"",
Expand All @@ -31,7 +39,7 @@
"generate:type_pinaxid": "bun ./scripts/generate/V2/type_pinaxid.ts",
"generate:copy_token_icons": "bun ./scripts/generate/V2/copy_token_icons.ts",
"test": "bun test",
"build": "tsc",
"build": "tsc && bun build ./index.ts --outdir=build",
"prepublishOnly": "npm run build",
"prepare": "husky"
},
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 8/29/2024, 4:34:59 PM.
// Last generation on 8/29/2024, 4:46:32 PM.
export type GraphID =
| 'arbitrum-nova'
| 'arbitrum-one'
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 8/29/2024, 4:34:59 PM.
// Last generation on 8/29/2024, 4:46:32 PM.
export type PinaxID =
| 'celo'
| 'alfajores'
Expand Down

0 comments on commit 698e081

Please sign in to comment.