@twin.org/identity-cli 0.0.1-next.18 → 0.0.1-next.20

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.
@@ -195,6 +195,10 @@
195
195
  "noKeyOrSigner": "No key or signer was provided for JWT creation",
196
196
  "noKeyOrVerifier": "No key or verifier was provided for JWT creation"
197
197
  },
198
+ "jwtHelper": {
199
+ "jwtDecodeFailed": "Decoding the JWT failed",
200
+ "jwtPayloadMissingParam": "The JWT is missing the required parameter \"{param}\""
201
+ },
198
202
  "iotaIdentityConnector": {
199
203
  "createDocumentFailed": "Creating the document failed",
200
204
  "resolveDocumentFailed": "Resolving the document failed",
@@ -781,11 +785,6 @@
781
785
  "errorMessages": {
782
786
  "fetch": "Fetch"
783
787
  },
784
- "identityRole": {
785
- "organization": "Organization",
786
- "user": "User",
787
- "node": "Node"
788
- },
789
788
  "verifiableCredentialStates": {
790
789
  "pendingVerification": "Pending Verification",
791
790
  "rejected": "Rejected",
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/identity-cli - Changelog
2
2
 
3
- ## v0.0.1-next.18
3
+ ## v0.0.1-next.20
4
4
 
5
5
  - Initial Release
@@ -30,19 +30,25 @@ Run the app.
30
30
 
31
31
  #### Parameters
32
32
 
33
- **argv**: `string`[]
33
+ ##### argv
34
+
35
+ `string`[]
34
36
 
35
37
  The process arguments.
36
38
 
37
- **localesDirectory?**: `string`
39
+ ##### localesDirectory?
40
+
41
+ `string`
38
42
 
39
43
  The directory for the locales, default to relative to the script.
40
44
 
41
- **options?**
45
+ ##### options?
42
46
 
43
47
  Additional options for the CLI.
44
48
 
45
- **options.overrideOutputWidth?**: `number`
49
+ ###### overrideOutputWidth
50
+
51
+ `number`
46
52
 
47
53
  The override output width.
48
54
 
@@ -6,7 +6,9 @@ Action the identity create command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**: `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
9
+ ### opts
10
+
11
+ `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
10
12
 
11
13
  The options for the command.
12
14
 
@@ -6,7 +6,9 @@ Action the identity resolve command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**: `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
9
+ ### opts
10
+
11
+ `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
10
12
 
11
13
  The options for the command.
12
14
 
@@ -6,7 +6,9 @@ Action the proof create command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**: `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
9
+ ### opts
10
+
11
+ `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
10
12
 
11
13
  The options for the command.
12
14
 
@@ -6,7 +6,9 @@ Action the proof verify command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**: `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
9
+ ### opts
10
+
11
+ `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
10
12
 
11
13
  The options for the command.
12
14
 
@@ -6,7 +6,9 @@ Action the service add command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**: `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
9
+ ### opts
10
+
11
+ `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
10
12
 
11
13
  The options for the command.
12
14
 
@@ -6,23 +6,31 @@ Action the service remove command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**
9
+ ### opts
10
10
 
11
11
  The options for the command.
12
12
 
13
- **opts.seed**: `string`
13
+ #### seed
14
+
15
+ `string`
14
16
 
15
17
  The private key for the controller.
16
18
 
17
- **opts.id**: `string`
19
+ #### id
20
+
21
+ `string`
18
22
 
19
23
  The id of the service to remove.
20
24
 
21
- **opts.node**: `string`
25
+ #### node
26
+
27
+ `string`
22
28
 
23
29
  The node URL.
24
30
 
25
- **opts.explorer**: `string`
31
+ #### explorer
32
+
33
+ `string`
26
34
 
27
35
  The explorer URL.
28
36
 
@@ -6,7 +6,9 @@ Action the verifiable credential create command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**: `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
9
+ ### opts
10
+
11
+ `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
10
12
 
11
13
  The options for the command.
12
14
 
@@ -6,23 +6,31 @@ Action the verifiable credential revoke command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**
9
+ ### opts
10
10
 
11
11
  The options for the command.
12
12
 
13
- **opts.seed**: `string`
13
+ #### seed
14
+
15
+ `string`
14
16
 
15
17
  The seed to generate the private key for the controller.
16
18
 
17
- **opts.did**: `string`
19
+ #### did
20
+
21
+ `string`
18
22
 
19
23
  The id of the document to revoke the index.
20
24
 
21
- **opts.revocationIndex**: `string`
25
+ #### revocationIndex
26
+
27
+ `string`
22
28
 
23
29
  The revocation index for the credential.
24
30
 
25
- **opts.node**: `string`
31
+ #### node
32
+
33
+ `string`
26
34
 
27
35
  The node URL.
28
36
 
@@ -6,23 +6,31 @@ Action the verifiable credential unrevoke command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**
9
+ ### opts
10
10
 
11
11
  The options for the command.
12
12
 
13
- **opts.seed**: `string`
13
+ #### seed
14
+
15
+ `string`
14
16
 
15
17
  The seed to generate the private key for the controller.
16
18
 
17
- **opts.did**: `string`
19
+ #### did
20
+
21
+ `string`
18
22
 
19
23
  The id of the document to unrevoke the index.
20
24
 
21
- **opts.revocationIndex**: `string`
25
+ #### revocationIndex
26
+
27
+ `string`
22
28
 
23
29
  The revocation index for the credential.
24
30
 
25
- **opts.node**: `string`
31
+ #### node
32
+
33
+ `string`
26
34
 
27
35
  The node URL.
28
36
 
@@ -6,7 +6,9 @@ Action the verifiable credential verify command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**: `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
9
+ ### opts
10
+
11
+ `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
10
12
 
11
13
  The options for the command.
12
14
 
@@ -6,7 +6,9 @@ Action the verification method add command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**: `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
9
+ ### opts
10
+
11
+ `object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
10
12
 
11
13
  The options for the command.
12
14
 
@@ -6,23 +6,31 @@ Action the verification method remove command.
6
6
 
7
7
  ## Parameters
8
8
 
9
- **opts**
9
+ ### opts
10
10
 
11
11
  The options for the command.
12
12
 
13
- **opts.seed**: `string`
13
+ #### seed
14
+
15
+ `string`
14
16
 
15
17
  The private key for the controller.
16
18
 
17
- **opts.id**: `string`
19
+ #### id
20
+
21
+ `string`
18
22
 
19
23
  The id of the verification method to remove.
20
24
 
21
- **opts.node**: `string`
25
+ #### node
26
+
27
+ `string`
22
28
 
23
29
  The node URL.
24
30
 
25
- **opts.explorer**: `string`
31
+ #### explorer
32
+
33
+ `string`
26
34
 
27
35
  The explorer URL.
28
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/identity-cli",
3
- "version": "0.0.1-next.18",
3
+ "version": "0.0.1-next.20",
4
4
  "description": "A command line interface for interacting with the identity connectors",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,8 +22,8 @@
22
22
  "@twin.org/data-json-ld": "next",
23
23
  "@twin.org/entity": "next",
24
24
  "@twin.org/entity-storage-connector-memory": "next",
25
- "@twin.org/identity-connector-iota": "0.0.1-next.18",
26
- "@twin.org/identity-models": "0.0.1-next.18",
25
+ "@twin.org/identity-connector-iota": "0.0.1-next.20",
26
+ "@twin.org/identity-models": "0.0.1-next.20",
27
27
  "@twin.org/nameof": "next",
28
28
  "@twin.org/standards-w3c-did": "next",
29
29
  "@twin.org/vault-connector-entity-storage": "next",
@@ -31,7 +31,7 @@
31
31
  "@twin.org/wallet-cli": "next",
32
32
  "@twin.org/wallet-connector-iota": "next",
33
33
  "@twin.org/wallet-models": "next",
34
- "commander": "12.1.0"
34
+ "commander": "13.0.0"
35
35
  },
36
36
  "main": "./dist/cjs/index.cjs",
37
37
  "module": "./dist/esm/index.mjs",