From bf0f8ca956179753cde22bdbeac2dd4b299c105d Mon Sep 17 00:00:00 2001 From: Tashi D Gyeltshen Date: Mon, 13 Nov 2023 19:24:46 -0500 Subject: [PATCH] Fix `vc.derive` example. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); ```