@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.
- package/dist/locales/en.json +4 -5
- package/docs/changelog.md +1 -1
- package/docs/reference/classes/CLI.md +10 -4
- package/docs/reference/functions/actionCommandIdentityCreate.md +3 -1
- package/docs/reference/functions/actionCommandIdentityResolve.md +3 -1
- package/docs/reference/functions/actionCommandProofCreate.md +3 -1
- package/docs/reference/functions/actionCommandProofVerify.md +3 -1
- package/docs/reference/functions/actionCommandServiceAdd.md +3 -1
- package/docs/reference/functions/actionCommandServiceRemove.md +13 -5
- package/docs/reference/functions/actionCommandVerifiableCredentialCreate.md +3 -1
- package/docs/reference/functions/actionCommandVerifiableCredentialRevoke.md +13 -5
- package/docs/reference/functions/actionCommandVerifiableCredentialUnrevoke.md +13 -5
- package/docs/reference/functions/actionCommandVerifiableCredentialVerify.md +3 -1
- package/docs/reference/functions/actionCommandVerificationMethodAdd.md +3 -1
- package/docs/reference/functions/actionCommandVerificationMethodRemove.md +13 -5
- package/package.json +4 -4
package/dist/locales/en.json
CHANGED
|
@@ -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
|
@@ -30,19 +30,25 @@ Run the app.
|
|
|
30
30
|
|
|
31
31
|
#### Parameters
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
##### argv
|
|
34
|
+
|
|
35
|
+
`string`[]
|
|
34
36
|
|
|
35
37
|
The process arguments.
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
##### localesDirectory?
|
|
40
|
+
|
|
41
|
+
`string`
|
|
38
42
|
|
|
39
43
|
The directory for the locales, default to relative to the script.
|
|
40
44
|
|
|
41
|
-
|
|
45
|
+
##### options?
|
|
42
46
|
|
|
43
47
|
Additional options for the CLI.
|
|
44
48
|
|
|
45
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9
|
+
### opts
|
|
10
10
|
|
|
11
11
|
The options for the command.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
#### seed
|
|
14
|
+
|
|
15
|
+
`string`
|
|
14
16
|
|
|
15
17
|
The private key for the controller.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
#### id
|
|
20
|
+
|
|
21
|
+
`string`
|
|
18
22
|
|
|
19
23
|
The id of the service to remove.
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
#### node
|
|
26
|
+
|
|
27
|
+
`string`
|
|
22
28
|
|
|
23
29
|
The node URL.
|
|
24
30
|
|
|
25
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9
|
+
### opts
|
|
10
10
|
|
|
11
11
|
The options for the command.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
#### seed
|
|
14
|
+
|
|
15
|
+
`string`
|
|
14
16
|
|
|
15
17
|
The seed to generate the private key for the controller.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
#### did
|
|
20
|
+
|
|
21
|
+
`string`
|
|
18
22
|
|
|
19
23
|
The id of the document to revoke the index.
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
#### revocationIndex
|
|
26
|
+
|
|
27
|
+
`string`
|
|
22
28
|
|
|
23
29
|
The revocation index for the credential.
|
|
24
30
|
|
|
25
|
-
|
|
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
|
-
|
|
9
|
+
### opts
|
|
10
10
|
|
|
11
11
|
The options for the command.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
#### seed
|
|
14
|
+
|
|
15
|
+
`string`
|
|
14
16
|
|
|
15
17
|
The seed to generate the private key for the controller.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
#### did
|
|
20
|
+
|
|
21
|
+
`string`
|
|
18
22
|
|
|
19
23
|
The id of the document to unrevoke the index.
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
#### revocationIndex
|
|
26
|
+
|
|
27
|
+
`string`
|
|
22
28
|
|
|
23
29
|
The revocation index for the credential.
|
|
24
30
|
|
|
25
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9
|
+
### opts
|
|
10
10
|
|
|
11
11
|
The options for the command.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
#### seed
|
|
14
|
+
|
|
15
|
+
`string`
|
|
14
16
|
|
|
15
17
|
The private key for the controller.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
#### id
|
|
20
|
+
|
|
21
|
+
`string`
|
|
18
22
|
|
|
19
23
|
The id of the verification method to remove.
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
#### node
|
|
26
|
+
|
|
27
|
+
`string`
|
|
22
28
|
|
|
23
29
|
The node URL.
|
|
24
30
|
|
|
25
|
-
|
|
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.
|
|
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.
|
|
26
|
-
"@twin.org/identity-models": "0.0.1-next.
|
|
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": "
|
|
34
|
+
"commander": "13.0.0"
|
|
35
35
|
},
|
|
36
36
|
"main": "./dist/cjs/index.cjs",
|
|
37
37
|
"module": "./dist/esm/index.mjs",
|