diff --git a/README.md b/README.md index c61c50a5..fe54ce7d 100644 --- a/README.md +++ b/README.md @@ -244,7 +244,9 @@ const suite = new DataIntegrityProof({ }) }); -const derivedVC = await vc.derive({credential, suite, documentLoader}); +const derivedVC = await vc.derive({ + verifiableCredential, suite, documentLoader +}); console.log(JSON.stringify(derivedVC, null, 2)); ```