From 7289857df994ffe4a4508b9ab1a20b59a8ad9436 Mon Sep 17 00:00:00 2001 From: Garvit Khatri Date: Tue, 26 Nov 2024 10:06:42 +0000 Subject: [PATCH 1/2] Fix typescript error to name all Tuple members --- packages/permissionless/types/pimlico.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/permissionless/types/pimlico.ts b/packages/permissionless/types/pimlico.ts index ac7c70d0..be7d3b4a 100644 --- a/packages/permissionless/types/pimlico.ts +++ b/packages/permissionless/types/pimlico.ts @@ -131,7 +131,11 @@ export type PimlicoRpcSchema< }, { Method: "pimlico_getTokenQuotes" - Parameters: [{ tokens: Address[] }, entryPoint: Address, chainId: Hex] + Parameters: [ + tokens: { tokens: Address[] }, + entryPoint: Address, + chainId: Hex + ] ReturnType: GetTokenQuotesWithBigIntAsHex } ] From f82cd134ae25ec871318cfb698b10130c24dc94b Mon Sep 17 00:00:00 2001 From: Garvit Khatri Date: Tue, 26 Nov 2024 10:07:59 +0000 Subject: [PATCH 2/2] Add changeset --- .changeset/wise-spoons-knock.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/wise-spoons-knock.md diff --git a/.changeset/wise-spoons-knock.md b/.changeset/wise-spoons-knock.md new file mode 100644 index 00000000..deacca5d --- /dev/null +++ b/.changeset/wise-spoons-knock.md @@ -0,0 +1,5 @@ +--- +"permissionless": patch +--- + +Fixed typescript error to name all tuple members