From 6ab42db8c66359fb20be2918f3046a0aa7fff7e7 Mon Sep 17 00:00:00 2001 From: Mircea Nistor Date: Thu, 1 Aug 2024 15:26:37 +0200 Subject: [PATCH] docs: update react_native_3_create_credentials.md --- .../react_native_3_create_credentials.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/react_native_tutorials/react_native_3_create_credentials.md b/docs/react_native_tutorials/react_native_3_create_credentials.md index d0032d64..94f87354 100644 --- a/docs/react_native_tutorials/react_native_3_create_credentials.md +++ b/docs/react_native_tutorials/react_native_3_create_credentials.md @@ -9,6 +9,18 @@ sidebar_label: Create Credentials The veramo list of "core" packages contains a W3C Credential plugin. This plugin allows us to create and verify credentials with JWT proof type. +But first, add a `resolutions` block to your `package.json` file to prevent some problematic +dependencies from causing issues +(See [this issue](https://github.com/decentralized-identity/veramo/issues/1407) for more details): + +```js +// filename: package.json + "resolutions": { + "jsonld": "npm:@digitalcredentials/jsonld@^6.0.0" + }, +``` + +Now add the credential package: `npm install @veramo/credential-w3c` ## Setup