Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: fix jsdocs
  • Loading branch information
ccharly committed Dec 5, 2025
commit 0d94203c7b8e3007140de768be83255f0dd4502f
8 changes: 4 additions & 4 deletions packages/keyring-snap-sdk/src/v2/rpc-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ async function dispatchKeyringRequestV2(
}

/**
* Handles a keyring JSON-RPC request.
* Handles a keyring (v2) JSON-RPC request.
*
* This function is meant to be used as a handler for Keyring JSON-RPC requests
* This function is meant to be used as a handler for Keyring (v2) JSON-RPC requests
* in an Accounts Snap.
*
* @param keyring - Keyring instance.
Expand All @@ -93,7 +93,7 @@ async function dispatchKeyringRequestV2(
* origin,
* request,
* }) => {
* return await handleKeyringRequest(keyring, request);
* return await handleKeyringRequestV2(keyring, request);
* };
* ```
*/
Expand All @@ -107,7 +107,7 @@ export async function handleKeyringRequestV2(
const message =
error instanceof Error && typeof error.message === 'string'
? error.message
: 'An unknown error occurred while handling the keyring request (v2)';
: 'An unknown error occurred while handling the keyring (v2) request';

throw new Error(message);
}
Expand Down