Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yarn-project/foundation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"pino": "^9.5.0",
"pino-pretty": "^13.0.0",
"sha3": "^2.1.4",
"undici": "^7.3.0",
"undici": "^5.28.5",
"zod": "^3.23.8"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions yarn-project/foundation/src/json-rpc/client/undici.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export function makeUndiciFetch(client = new Agent()): JsonRpcFetch {
noRetry = false,
) => {
log.trace(`JsonRpcClient.fetch: ${host} ${rpcMethod}`, { host, rpcMethod, body });
let resp: Dispatcher.ResponseData<string>;
let resp: Dispatcher.ResponseData;
try {
resp = await client.request<string>({
resp = await client.request({
method: 'POST',
origin: new URL(host),
path: useApiEndpoints ? rpcMethod : '/',
Expand Down
19 changes: 14 additions & 5 deletions yarn-project/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ __metadata:
supertest: "npm:^6.3.3"
ts-node: "npm:^10.9.1"
typescript: "npm:^5.0.4"
undici: "npm:^7.3.0"
undici: "npm:^5.28.5"
viem: "npm:2.23.7"
zod: "npm:^3.23.8"
languageName: unknown
Expand Down Expand Up @@ -2493,6 +2493,13 @@ __metadata:
languageName: node
linkType: hard

"@fastify/busboy@npm:^2.0.0":
version: 2.1.1
resolution: "@fastify/busboy@npm:2.1.1"
checksum: 10/2bb8a7eca8289ed14c9eb15239bc1019797454624e769b39a0b90ed204d032403adc0f8ed0d2aef8a18c772205fa7808cf5a1b91f21c7bfc7b6032150b1062c5
languageName: node
linkType: hard

"@google-cloud/paginator@npm:^5.0.0":
version: 5.0.2
resolution: "@google-cloud/paginator@npm:5.0.2"
Expand Down Expand Up @@ -21676,10 +21683,12 @@ __metadata:
languageName: node
linkType: hard

"undici@npm:^7.3.0":
version: 7.3.0
resolution: "undici@npm:7.3.0"
checksum: 10/8165c3a18cd045c70b009db006bee1784c5ba405634e8d2017107f65220a23190e2dfbbcb314bec71add1e43cabcd7515cd29b655c819f22e59b5e2e7025db20
"undici@npm:^5.28.5":
version: 5.28.5
resolution: "undici@npm:5.28.5"
dependencies:
"@fastify/busboy": "npm:^2.0.0"
checksum: 10/459cd84ab75fe90d696fa2634a8b5b23f9e1080b27236c6809bd74e51862be85df6d95b4a8fed3ee42554495008cb3c05f1bc9d4a1807478f433cca567003d70
languageName: node
linkType: hard

Expand Down