@twin.org/identity-cli 0.0.1-next.23 → 0.0.1-next.25
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/cjs/index.cjs +35 -35
- package/dist/esm/index.mjs +36 -36
- package/dist/locales/en.json +862 -859
- package/dist/types/commands/identityCreate.d.ts +1 -1
- package/dist/types/commands/identityResolve.d.ts +1 -1
- package/dist/types/commands/proofCreate.d.ts +1 -1
- package/dist/types/commands/proofVerify.d.ts +1 -1
- package/dist/types/commands/serviceRemove.d.ts +1 -1
- package/dist/types/commands/verifiableCredentialRevoke.d.ts +1 -1
- package/dist/types/commands/verifiableCredentialUnrevoke.d.ts +1 -1
- package/dist/types/commands/verificationMethodRemove.d.ts +1 -1
- package/dist/types/models/identityConnectorTypes.d.ts +2 -2
- package/docs/changelog.md +1 -1
- package/docs/reference/classes/CLI.md +1 -1
- package/docs/reference/functions/actionCommandServiceRemove.md +3 -3
- package/docs/reference/functions/actionCommandVerifiableCredentialRevoke.md +3 -3
- package/docs/reference/functions/actionCommandVerifiableCredentialUnrevoke.md +3 -3
- package/docs/reference/functions/actionCommandVerificationMethodRemove.md +3 -3
- package/docs/reference/functions/setupIdentityConnector.md +3 -3
- package/docs/reference/variables/IdentityConnectorTypes.md +3 -3
- package/package.json +6 -6
|
@@ -12,7 +12,7 @@ export declare function buildCommandIdentityCreate(): Command;
|
|
|
12
12
|
* @param opts.seed The private key for the controller.
|
|
13
13
|
* @param opts.connector The connector to perform the operations with.
|
|
14
14
|
* @param opts.node The node URL.
|
|
15
|
-
* @param opts.network The network to use for
|
|
15
|
+
* @param opts.network The network to use for connector.
|
|
16
16
|
* @param opts.explorer The explorer URL.
|
|
17
17
|
*/
|
|
18
18
|
export declare function actionCommandIdentityCreate(opts: {
|
|
@@ -12,7 +12,7 @@ export declare function buildCommandIdentityResolve(): Command;
|
|
|
12
12
|
* @param opts.did The identity to resolve.
|
|
13
13
|
* @param opts.connector The connector to perform the operations with.
|
|
14
14
|
* @param opts.node The node URL.
|
|
15
|
-
* @param opts.network The network to use for
|
|
15
|
+
* @param opts.network The network to use for connector.
|
|
16
16
|
* @param opts.explorer The explorer URL.
|
|
17
17
|
*/
|
|
18
18
|
export declare function actionCommandIdentityResolve(opts: {
|
|
@@ -14,7 +14,7 @@ export declare function buildCommandProofCreate(): Command;
|
|
|
14
14
|
* @param opts.data The data to create the proof for.
|
|
15
15
|
* @param opts.connector The connector to perform the operations with.
|
|
16
16
|
* @param opts.node The node URL.
|
|
17
|
-
* @param opts.network The network to use for
|
|
17
|
+
* @param opts.network The network to use for connector.
|
|
18
18
|
*/
|
|
19
19
|
export declare function actionCommandProofCreate(opts: {
|
|
20
20
|
id: string;
|
|
@@ -15,7 +15,7 @@ export declare function buildCommandProofVerify(): Command;
|
|
|
15
15
|
* @param opts.value The proof value.
|
|
16
16
|
* @param opts.connector The connector to perform the operations with.
|
|
17
17
|
* @param opts.node The node URL.
|
|
18
|
-
* @param opts.network The network to use for
|
|
18
|
+
* @param opts.network The network to use for connector.
|
|
19
19
|
*/
|
|
20
20
|
export declare function actionCommandProofVerify(opts: {
|
|
21
21
|
id: string;
|
|
@@ -12,7 +12,7 @@ export declare function buildCommandServiceRemove(): Command;
|
|
|
12
12
|
* @param opts.id The id of the service to remove.
|
|
13
13
|
* @param opts.connector The connector to perform the operations with.
|
|
14
14
|
* @param opts.node The node URL.
|
|
15
|
-
* @param opts.network The network to use for
|
|
15
|
+
* @param opts.network The network to use for connector.
|
|
16
16
|
* @param opts.explorer The explorer URL.
|
|
17
17
|
*/
|
|
18
18
|
export declare function actionCommandServiceRemove(opts: {
|
|
@@ -13,7 +13,7 @@ export declare function buildCommandVerifiableCredentialRevoke(): Command;
|
|
|
13
13
|
* @param opts.revocationIndex The revocation index for the credential.
|
|
14
14
|
* @param opts.connector The connector to perform the operations with.
|
|
15
15
|
* @param opts.node The node URL.
|
|
16
|
-
* @param opts.network The network to use for
|
|
16
|
+
* @param opts.network The network to use for connector.
|
|
17
17
|
*/
|
|
18
18
|
export declare function actionCommandVerifiableCredentialRevoke(opts: {
|
|
19
19
|
seed: string;
|
|
@@ -13,7 +13,7 @@ export declare function buildCommandVerifiableCredentialUnrevoke(): Command;
|
|
|
13
13
|
* @param opts.revocationIndex The revocation index for the credential.
|
|
14
14
|
* @param opts.connector The connector to perform the operations with.
|
|
15
15
|
* @param opts.node The node URL.
|
|
16
|
-
* @param opts.network The network to use for
|
|
16
|
+
* @param opts.network The network to use for connector.
|
|
17
17
|
*/
|
|
18
18
|
export declare function actionCommandVerifiableCredentialUnrevoke(opts: {
|
|
19
19
|
seed: string;
|
|
@@ -13,7 +13,7 @@ export declare function buildCommandVerificationMethodRemove(): Command;
|
|
|
13
13
|
* @param opts.connector The connector to perform the operations with.
|
|
14
14
|
* @param opts.node The node URL.
|
|
15
15
|
* @param opts.explorer The explorer URL.
|
|
16
|
-
* @param opts.network The network to use for
|
|
16
|
+
* @param opts.network The network to use for connector.
|
|
17
17
|
*/
|
|
18
18
|
export declare function actionCommandVerificationMethodRemove(opts: {
|
|
19
19
|
seed: string;
|
|
@@ -7,9 +7,9 @@ export declare const IdentityConnectorTypes: {
|
|
|
7
7
|
*/
|
|
8
8
|
readonly Iota: "iota";
|
|
9
9
|
/**
|
|
10
|
-
* IOTA
|
|
10
|
+
* IOTA Stardust.
|
|
11
11
|
*/
|
|
12
|
-
readonly
|
|
12
|
+
readonly IotaStardust: "iota-stardust";
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* The identity connector types.
|
package/docs/changelog.md
CHANGED
|
@@ -22,7 +22,7 @@ The private key for the controller.
|
|
|
22
22
|
|
|
23
23
|
The id of the service to remove.
|
|
24
24
|
|
|
25
|
-
#### connector
|
|
25
|
+
#### connector?
|
|
26
26
|
|
|
27
27
|
[`IdentityConnectorTypes`](../type-aliases/IdentityConnectorTypes.md)
|
|
28
28
|
|
|
@@ -34,11 +34,11 @@ The connector to perform the operations with.
|
|
|
34
34
|
|
|
35
35
|
The node URL.
|
|
36
36
|
|
|
37
|
-
#### network
|
|
37
|
+
#### network?
|
|
38
38
|
|
|
39
39
|
`string`
|
|
40
40
|
|
|
41
|
-
The network to use for
|
|
41
|
+
The network to use for connector.
|
|
42
42
|
|
|
43
43
|
#### explorer
|
|
44
44
|
|
|
@@ -28,7 +28,7 @@ The id of the document to revoke the index.
|
|
|
28
28
|
|
|
29
29
|
The revocation index for the credential.
|
|
30
30
|
|
|
31
|
-
#### connector
|
|
31
|
+
#### connector?
|
|
32
32
|
|
|
33
33
|
[`IdentityConnectorTypes`](../type-aliases/IdentityConnectorTypes.md)
|
|
34
34
|
|
|
@@ -40,11 +40,11 @@ The connector to perform the operations with.
|
|
|
40
40
|
|
|
41
41
|
The node URL.
|
|
42
42
|
|
|
43
|
-
#### network
|
|
43
|
+
#### network?
|
|
44
44
|
|
|
45
45
|
`string`
|
|
46
46
|
|
|
47
|
-
The network to use for
|
|
47
|
+
The network to use for connector.
|
|
48
48
|
|
|
49
49
|
## Returns
|
|
50
50
|
|
|
@@ -28,7 +28,7 @@ The id of the document to unrevoke the index.
|
|
|
28
28
|
|
|
29
29
|
The revocation index for the credential.
|
|
30
30
|
|
|
31
|
-
#### connector
|
|
31
|
+
#### connector?
|
|
32
32
|
|
|
33
33
|
[`IdentityConnectorTypes`](../type-aliases/IdentityConnectorTypes.md)
|
|
34
34
|
|
|
@@ -40,11 +40,11 @@ The connector to perform the operations with.
|
|
|
40
40
|
|
|
41
41
|
The node URL.
|
|
42
42
|
|
|
43
|
-
#### network
|
|
43
|
+
#### network?
|
|
44
44
|
|
|
45
45
|
`string`
|
|
46
46
|
|
|
47
|
-
The network to use for
|
|
47
|
+
The network to use for connector.
|
|
48
48
|
|
|
49
49
|
## Returns
|
|
50
50
|
|
|
@@ -22,7 +22,7 @@ The private key for the controller.
|
|
|
22
22
|
|
|
23
23
|
The id of the verification method to remove.
|
|
24
24
|
|
|
25
|
-
#### connector
|
|
25
|
+
#### connector?
|
|
26
26
|
|
|
27
27
|
[`IdentityConnectorTypes`](../type-aliases/IdentityConnectorTypes.md)
|
|
28
28
|
|
|
@@ -34,11 +34,11 @@ The connector to perform the operations with.
|
|
|
34
34
|
|
|
35
35
|
The node URL.
|
|
36
36
|
|
|
37
|
-
#### network
|
|
37
|
+
#### network?
|
|
38
38
|
|
|
39
39
|
`string`
|
|
40
40
|
|
|
41
|
-
The network to use for
|
|
41
|
+
The network to use for connector.
|
|
42
42
|
|
|
43
43
|
#### explorer
|
|
44
44
|
|
|
@@ -16,19 +16,19 @@ The options for the identity connector.
|
|
|
16
16
|
|
|
17
17
|
The node endpoint.
|
|
18
18
|
|
|
19
|
-
#### network
|
|
19
|
+
#### network?
|
|
20
20
|
|
|
21
21
|
`string`
|
|
22
22
|
|
|
23
23
|
The network.
|
|
24
24
|
|
|
25
|
-
#### addressIndex
|
|
25
|
+
#### addressIndex?
|
|
26
26
|
|
|
27
27
|
`number`
|
|
28
28
|
|
|
29
29
|
The wallet index.
|
|
30
30
|
|
|
31
|
-
#### vaultSeedId
|
|
31
|
+
#### vaultSeedId?
|
|
32
32
|
|
|
33
33
|
`string`
|
|
34
34
|
|
|
@@ -12,8 +12,8 @@ The identity connector types.
|
|
|
12
12
|
|
|
13
13
|
IOTA.
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### IotaStardust
|
|
16
16
|
|
|
17
|
-
> `readonly` **
|
|
17
|
+
> `readonly` **IotaStardust**: `"iota-stardust"` = `"iota-stardust"`
|
|
18
18
|
|
|
19
|
-
IOTA
|
|
19
|
+
IOTA Stardust.
|
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.25",
|
|
4
4
|
"description": "A command line interface for interacting with the identity connectors",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,18 +22,18 @@
|
|
|
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-connector-iota-
|
|
27
|
-
"@twin.org/identity-models": "0.0.1-next.
|
|
25
|
+
"@twin.org/identity-connector-iota": "0.0.1-next.25",
|
|
26
|
+
"@twin.org/identity-connector-iota-stardust": "0.0.1-next.25",
|
|
27
|
+
"@twin.org/identity-models": "0.0.1-next.25",
|
|
28
28
|
"@twin.org/nameof": "next",
|
|
29
29
|
"@twin.org/standards-w3c-did": "next",
|
|
30
30
|
"@twin.org/vault-connector-entity-storage": "next",
|
|
31
31
|
"@twin.org/vault-models": "next",
|
|
32
32
|
"@twin.org/wallet-cli": "next",
|
|
33
33
|
"@twin.org/wallet-connector-iota": "next",
|
|
34
|
-
"@twin.org/wallet-connector-iota-
|
|
34
|
+
"@twin.org/wallet-connector-iota-stardust": "next",
|
|
35
35
|
"@twin.org/wallet-models": "next",
|
|
36
|
-
"commander": "13.
|
|
36
|
+
"commander": "13.1.0"
|
|
37
37
|
},
|
|
38
38
|
"main": "./dist/cjs/index.cjs",
|
|
39
39
|
"module": "./dist/esm/index.mjs",
|