@learncard/core 9.3.16 → 9.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
@@ -76,9 +76,9 @@ this library that it should be used by default.
|
|
76
76
|
|
77
77
|
#### Publish Credential
|
78
78
|
|
79
|
-
After signing a VC, you may choose to publish that credential to
|
80
|
-
|
81
|
-
issued credential. This means both the issuer and recipient may store the
|
79
|
+
After signing a VC, you may choose to publish that credential to LearnCloud. Doing so will return a
|
80
|
+
URI, which you may share to the recipient. That URI can then be used to resolve the
|
81
|
+
issued credential. This means both the issuer and recipient may store the _URI_ instead of the
|
82
82
|
credential itself.
|
83
83
|
|
84
84
|
```js
|
@@ -121,7 +121,7 @@ the credential a bespoke title
|
|
121
121
|
await wallet.index.LearnCloud.add({ uri, id: 'Test VC' });
|
122
122
|
```
|
123
123
|
|
124
|
-
This will add the
|
124
|
+
This will add the URI, which can be used to resolve the verifiable credential using the
|
125
125
|
wallet's secret key. You can think of this as acting like the wallet's personal storage.
|
126
126
|
|
127
127
|
#### Getting a credential from the Wallet
|