From 3cfbe44b753007be08df6d43cf3d82a5926eb3b6 Mon Sep 17 00:00:00 2001 From: KutluhanETH Date: Wed, 9 Sep 2026 14:00:48 +0000 Subject: [PATCH] docs(caip): fix createCaip10AccountId JSDoc argument order Align @param order with the real (chainId, address) signature and use a full Solana CAIP-2 chain ID instead of bare `solana`. --- packages/caip/src/caips/caip-10.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/caip/src/caips/caip-10.ts b/packages/caip/src/caips/caip-10.ts index 12db7ab3..8f413fe7 100644 --- a/packages/caip/src/caips/caip-10.ts +++ b/packages/caip/src/caips/caip-10.ts @@ -30,8 +30,8 @@ export const caip10AccountIdRegex = new RegExp(`^${caip10AccountIdPattern}$`) /** * Create a CAIP-10 Account ID * + * @param chainId - The full CAIP-2 chain ID (e.g. `eip155:1`, `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`) * @param address - The address to create the CAIP-10 Account ID for - * @param chainId - The CAIP-2 chain ID (e.g. `eip155:1`, `solana`) for this address * @returns The CAIP-10 Account ID */ export function createCaip10AccountId(