Skip to content

Commit 04cc4f8

Browse files
committed
feat(ccip): add temporary GraphQL proxy endpoint with query whitelisting
1 parent f3e430a commit 04cc4f8

8 files changed

Lines changed: 3389 additions & 2669 deletions

File tree

package-lock.json

Lines changed: 2636 additions & 146 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"fetch-selectors": "npx tsx --require tsconfig-paths/register src/scripts/ccip/fetch-selectors.ts",
2121
"detect-new-tokens": "npx tsx --require tsconfig-paths/register src/scripts/ccip/detect-new-tokens.ts",
2222
"generate-token-report": "npx tsx --require tsconfig-paths/register src/scripts/ccip/generate-token-report.ts",
23+
"graphql:schema": "graphql-codegen --config codegen.ts && prettier --write src/lib/ccip/graphql/__generated__/ src/lib/ccip/graphql/schema.graphql.json",
2324
"detect-new-data": "npx tsx --require tsconfig-paths/register src/scripts/data/detect-new-data.ts",
2425
"detect-trailing-slash-links": "tsx --require tsconfig-paths/register scripts/detect-trailing-slash-links.ts",
2526
"fix-trailing-slash-links": "tsx --require tsconfig-paths/register scripts/fix-trailing-slash-links.ts",
@@ -98,10 +99,14 @@
9899
"focus-trap-react": "^11.0.6",
99100
"fuse.js": "^7.3.0",
100101
"github-slugger": "^2.0.0",
102+
"graphql": "^16.13.2",
103+
"graphql-request": "^7.4.0",
101104
"lodash": "^4.18.1",
105+
"lru-cache": "^11.3.3",
102106
"marked": "^15.0.12",
103107
"nanostores": "^0.11.4",
104108
"next": "14.2.35",
109+
"p-limit": "^7.3.0",
105110
"pino": "^9.14.0",
106111
"preact": "^10.29.1",
107112
"react-instantsearch": "^7.29.0",
@@ -116,6 +121,9 @@
116121
},
117122
"devDependencies": {
118123
"@apidevtools/swagger-parser": "^10.1.1",
124+
"@graphql-codegen/cli": "^6.2.1",
125+
"@graphql-codegen/client-preset": "^5.2.4",
126+
"@graphql-codegen/introspection": "^5.0.1",
119127
"@jest/globals": "^29.7.0",
120128
"@project-serum/anchor": "^0.26.0",
121129
"@rollup/plugin-yaml": "^4.1.2",

0 commit comments

Comments
 (0)