1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

fix: params

This commit is contained in:
AdriGeorge 2024-11-20 13:34:25 +02:00
parent fbb57b3f50
commit 8789c05628

View File

@ -37,7 +37,8 @@ export async function signCredentialWithWaltId(
/** /**
* Signs a verifiable credential locally using a private key. * Signs a verifiable credential locally using a private key.
* @param {any} verifiableCredential - The verifiable credential to sign. * @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<SignedCredential>} - The signed credential's JWS, header, and issuer information. * @returns {Promise<SignedCredential>} - The signed credential's JWS, header, and issuer information.
* @throws {Error} If the signing process fails. * @throws {Error} If the signing process fails.
*/ */