From 8789c05628e157472105fe6cf3afdeb4c45b160d Mon Sep 17 00:00:00 2001 From: AdriGeorge Date: Wed, 20 Nov 2024 13:34:25 +0200 Subject: [PATCH] fix: params --- src/utils/SignDDO.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/SignDDO.ts b/src/utils/SignDDO.ts index cc0a9785..a649086a 100644 --- a/src/utils/SignDDO.ts +++ b/src/utils/SignDDO.ts @@ -37,7 +37,8 @@ export async function signCredentialWithWaltId( /** * Signs a verifiable credential locally using a private key. * @param {any} verifiableCredential - The verifiable credential to sign. - * @param {string} issuerKeyJWK - the JWK from private key. + * @param {IssuerKeyJWK} issuerKeyJWK - the JWK from private key. + * @param {string} publicKeyHex - the public key * @returns {Promise} - The signed credential's JWS, header, and issuer information. * @throws {Error} If the signing process fails. */