@learncard/core 2.1.0 → 4.1.0
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/dist/core.cjs.development.js +17559 -17528
- package/dist/core.cjs.development.js.map +3 -3
- package/dist/core.cjs.production.min.js +30 -30
- package/dist/core.cjs.production.min.js.map +3 -3
- package/dist/core.d.ts +43 -7
- package/dist/core.esm.js +17559 -17528
- package/dist/core.esm.js.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
@@ -21,14 +21,14 @@ pnpm i @learncard/core
|
|
21
21
|
|
22
22
|
### Instantiation
|
23
23
|
|
24
|
-
Instantiate a wallet using `
|
25
|
-
up to 64 characters long. If it is less than 64 characters, `
|
24
|
+
Instantiate a wallet using `initLearnCard`. This method accepts a unique identifier string that is
|
25
|
+
up to 64 characters long. If it is less than 64 characters, `initLearnCard` will pad the start of
|
26
26
|
the string with 0's until it is 64 characters long.
|
27
27
|
|
28
28
|
```js
|
29
|
-
import {
|
29
|
+
import { initLearnCard } from "@learncard/core";
|
30
30
|
|
31
|
-
const wallet = await
|
31
|
+
const wallet = await initLearnCard({ seed: 'a'.repeat(64) });
|
32
32
|
```
|
33
33
|
|
34
34
|
### Issuing/Verifying Credentials and Presentations
|