@learncard/cli 1.0.2 → 1.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @learncard/cli
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`de4e724`](https://github.com/WeLibraryOS/LearnCard/commit/de4e7244961f0ef91b91e6cbf32a43f29ff58b96)]:
8
+ - @learncard/core@1.5.0
9
+
10
+ ## 1.1.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [#26](https://github.com/WeLibraryOS/LearnCard/pull/26) [`e72b559`](https://github.com/WeLibraryOS/LearnCard/commit/e72b55994495e4bc6156b08abdd166c77fae67b7) Thanks [@TaylorBeeston](https://github.com/TaylorBeeston)! - Add secp256k1 keypair support and related did methods
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`e72b559`](https://github.com/WeLibraryOS/LearnCard/commit/e72b55994495e4bc6156b08abdd166c77fae67b7)]:
19
+ - @learncard/core@1.4.0
20
+
21
+ ## 1.0.4
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [[`da81189`](https://github.com/WeLibraryOS/LearnCard/commit/da811895ae672f4287fbcd2026bf1aac5a6447e1)]:
26
+ - @learncard/core@1.3.1
27
+
28
+ ## 1.0.3
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies []:
33
+ - @learncard/core@1.3.0
34
+
3
35
  ## 1.0.2
4
36
 
5
37
  ### Patch Changes
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
18
18
  const generateRandomSeed = () => crypto__default["default"].randomBytes(32).toString("hex");
19
19
 
20
20
  var name = "@learncard/cli";
21
- var version = "1.0.2";
21
+ var version = "1.1.1";
22
22
  var description = "Test out learn card!";
23
23
  var main = "dist/index.js";
24
24
  var bin = "dist/index.js";
@@ -99,7 +99,7 @@ commander.program.version(packageJson.version).argument("[seed]").action(async (
99
99
  console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510");
100
100
  console.log("\u2502 Description \u2502 Command \u2502");
101
101
  console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");
102
- console.log(`\u2502 View your did \u2502 ${g.wallet}.did; \u2502`);
102
+ console.log(`\u2502 View your did \u2502 ${g.wallet}.did(); \u2502`);
103
103
  console.log(`\u2502 Generate an unsigned VC \u2502 ${g.wallet}.getTestVc(); \u2502`);
104
104
  console.log(`\u2502 Issue a signed VC \u2502 await ${g.wallet}.issueCredential(uvc); \u2502`);
105
105
  console.log(`\u2502 Verify a signed VC \u2502 await ${g.wallet}.verifyCredential(vc); \u2502`);
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@learncard/cli",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
4
  "description": "Test out learn card!",
5
5
  "main": "dist/index.js",
6
6
  "bin": "dist/index.js",
7
7
  "author": "Learning Economy Foundation (www.learningeconomy.io)",
8
8
  "license": "MIT",
9
9
  "dependencies": {
10
- "@learncard/core": "1.1.5",
11
- "@learncard/types": "2.1.1",
10
+ "@learncard/core": "1.5.0",
11
+ "@learncard/types": "2.1.2",
12
12
  "@rollup/plugin-json": "^4.1.0",
13
13
  "commander": "^9.3.0",
14
14
  "figlet": "^1.5.2",
package/src/index.tsx CHANGED
@@ -68,7 +68,7 @@ program
68
68
  console.log('┌─────────────────────────┬──────────────────────────────────────┐');
69
69
  console.log('│ Description │ Command │');
70
70
  console.log('├─────────────────────────┼──────────────────────────────────────┤');
71
- console.log(`│ View your did │ ${g.wallet}.did; │`);
71
+ console.log(`│ View your did │ ${g.wallet}.did(); │`);
72
72
  console.log(`│ Generate an unsigned VC │ ${g.wallet}.getTestVc(); │`);
73
73
  console.log(`│ Issue a signed VC │ await ${g.wallet}.issueCredential(uvc); │`);
74
74
  console.log(`│ Verify a signed VC │ await ${g.wallet}.verifyCredential(vc); │`);