From 0711334df58368801d6a181a9412d5d6af4ec0d5 Mon Sep 17 00:00:00 2001 From: Juan Garcia Date: Thu, 9 Jan 2025 10:38:17 +0100 Subject: [PATCH] Fix fetchUsernames description --- packages/client/src/actions/username.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/client/src/actions/username.ts b/packages/client/src/actions/username.ts index 040cf6c39..a9fc76b89 100644 --- a/packages/client/src/actions/username.ts +++ b/packages/client/src/actions/username.ts @@ -111,17 +111,20 @@ export function fetchUsername( } /** - * Fetch usernames owned by an address. + * Fetch usernames. + * Example: fetch usernames owned by a specific address. * * ```ts * const result = await fetchUsernames(anyClient, { - * owner: evmAddress('0xe2f2a5C287993345a840db3B0845fbc70f5935a5'), + * filter: { + * owner: evmAddress('0xe2f2a5C287993345a840db3B0845fbc70f5935a5'), + * }, * }); * ``` * * @param client - Any Lens client. * @param request - The query request. - * @returns The list of owned usernames. + * @returns The list of usernames. */ export function fetchUsernames( client: AnyClient,