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:
parent
fbb57b3f50
commit
8789c05628
@ -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.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user