@learncard/core 4.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -4
- package/dist/core.cjs.development.js +26349 -17228
- package/dist/core.cjs.development.js.map +3 -3
- package/dist/core.cjs.production.min.js +241 -219
- package/dist/core.cjs.production.min.js.map +3 -3
- package/dist/core.d.ts +57 -12
- package/dist/core.esm.js +26491 -17370
- package/dist/core.esm.js.map +3 -3
- package/dist/didkit/didkit_wasm.d.ts +17 -2
- package/dist/didkit/didkit_wasm.js +332 -383
- package/dist/didkit/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit/didkit_wasm_bg.wasm.d.ts +3 -2
- package/dist/didkit_wasm.d.ts +17 -2
- package/dist/didkit_wasm.js +332 -383
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit_wasm_bg.wasm.d.ts +3 -2
- package/package.json +5 -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
|