@twin.org/identity-cli 0.0.1-next.43 → 0.0.1-next.45
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 +10 -59
- package/dist/esm/index.mjs +10 -59
- package/dist/locales/en.json +3 -48
- package/dist/types/models/identityConnectorTypes.d.ts +0 -4
- package/dist/types/models/identityResolverConnectorTypes.d.ts +0 -4
- package/docs/changelog.md +30 -4
- package/docs/reference/functions/actionCommandServiceRemove.md +1 -1
- package/docs/reference/functions/actionCommandVerifiableCredentialRevoke.md +1 -1
- package/docs/reference/functions/actionCommandVerifiableCredentialUnrevoke.md +1 -1
- package/docs/reference/functions/actionCommandVerificationMethodRemove.md +1 -1
- package/docs/reference/functions/setupIdentityConnector.md +1 -1
- package/docs/reference/functions/setupIdentityResolverConnector.md +1 -1
- package/docs/reference/variables/IdentityConnectorTypes.md +0 -6
- package/docs/reference/variables/IdentityResolverConnectorTypes.md +0 -6
- package/package.json +3 -5
package/dist/cjs/index.cjs
CHANGED
|
@@ -6,7 +6,6 @@ var cliCore = require('@twin.org/cli-core');
|
|
|
6
6
|
var cryptoCli = require('@twin.org/crypto-cli');
|
|
7
7
|
var walletCli = require('@twin.org/wallet-cli');
|
|
8
8
|
var core = require('@twin.org/core');
|
|
9
|
-
var identityConnectorIotaStardust = require('@twin.org/identity-connector-iota-stardust');
|
|
10
9
|
var vaultModels = require('@twin.org/vault-models');
|
|
11
10
|
var walletModels = require('@twin.org/wallet-models');
|
|
12
11
|
var commander = require('commander');
|
|
@@ -28,11 +27,7 @@ const IdentityConnectorTypes = {
|
|
|
28
27
|
/**
|
|
29
28
|
* IOTA.
|
|
30
29
|
*/
|
|
31
|
-
Iota: "iota"
|
|
32
|
-
/**
|
|
33
|
-
* IOTA Stardust.
|
|
34
|
-
*/
|
|
35
|
-
IotaStardust: "iota-stardust"
|
|
30
|
+
Iota: "iota"
|
|
36
31
|
};
|
|
37
32
|
|
|
38
33
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -45,11 +40,7 @@ const IdentityResolverConnectorTypes = {
|
|
|
45
40
|
/**
|
|
46
41
|
* IOTA.
|
|
47
42
|
*/
|
|
48
|
-
Iota: "iota"
|
|
49
|
-
/**
|
|
50
|
-
* IOTA Stardust.
|
|
51
|
-
*/
|
|
52
|
-
IotaStardust: "iota-stardust"
|
|
43
|
+
Iota: "iota"
|
|
53
44
|
};
|
|
54
45
|
|
|
55
46
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -80,24 +71,12 @@ function setupVault() {
|
|
|
80
71
|
*/
|
|
81
72
|
function setupIdentityConnector(options, connector) {
|
|
82
73
|
connector ??= IdentityConnectorTypes.Iota;
|
|
83
|
-
|
|
84
|
-
return new identityConnectorIota.IotaIdentityConnector({
|
|
85
|
-
config: {
|
|
86
|
-
clientOptions: {
|
|
87
|
-
url: options.nodeEndpoint
|
|
88
|
-
},
|
|
89
|
-
network: options.network ?? "",
|
|
90
|
-
vaultSeedId: options.vaultSeedId,
|
|
91
|
-
walletAddressIndex: options.addressIndex
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
return new identityConnectorIotaStardust.IotaStardustIdentityConnector({
|
|
74
|
+
return new identityConnectorIota.IotaIdentityConnector({
|
|
96
75
|
config: {
|
|
97
76
|
clientOptions: {
|
|
98
|
-
|
|
99
|
-
localPow: true
|
|
77
|
+
url: options.nodeEndpoint
|
|
100
78
|
},
|
|
79
|
+
network: options.network ?? "",
|
|
101
80
|
vaultSeedId: options.vaultSeedId,
|
|
102
81
|
walletAddressIndex: options.addressIndex
|
|
103
82
|
}
|
|
@@ -113,22 +92,12 @@ function setupIdentityConnector(options, connector) {
|
|
|
113
92
|
*/
|
|
114
93
|
function setupIdentityResolverConnector(options, connector) {
|
|
115
94
|
connector ??= IdentityResolverConnectorTypes.Iota;
|
|
116
|
-
|
|
117
|
-
return new identityConnectorIota.IotaIdentityResolverConnector({
|
|
118
|
-
config: {
|
|
119
|
-
clientOptions: {
|
|
120
|
-
url: options.nodeEndpoint
|
|
121
|
-
},
|
|
122
|
-
network: options.network ?? ""
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
return new identityConnectorIotaStardust.IotaStardustIdentityResolverConnector({
|
|
95
|
+
return new identityConnectorIota.IotaIdentityResolverConnector({
|
|
127
96
|
config: {
|
|
128
97
|
clientOptions: {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
98
|
+
url: options.nodeEndpoint
|
|
99
|
+
},
|
|
100
|
+
network: options.network ?? ""
|
|
132
101
|
}
|
|
133
102
|
});
|
|
134
103
|
}
|
|
@@ -217,9 +186,6 @@ async function actionCommandIdentityCreate(opts) {
|
|
|
217
186
|
const objectId = didParts[3];
|
|
218
187
|
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
219
188
|
}
|
|
220
|
-
else {
|
|
221
|
-
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${identityConnectorIotaStardust.IotaStardustIdentityUtils.didToAddress(document.id)}?tab=DID`);
|
|
222
|
-
}
|
|
223
189
|
cliCore.CLIDisplay.break();
|
|
224
190
|
cliCore.CLIDisplay.done();
|
|
225
191
|
}
|
|
@@ -300,9 +266,6 @@ async function actionCommandIdentityResolve(opts) {
|
|
|
300
266
|
const objectId = didParts[3];
|
|
301
267
|
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
302
268
|
}
|
|
303
|
-
else {
|
|
304
|
-
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${identityConnectorIotaStardust.IotaStardustIdentityUtils.didToAddress(document.id)}?tab=DID`);
|
|
305
|
-
}
|
|
306
269
|
cliCore.CLIDisplay.break();
|
|
307
270
|
cliCore.CLIDisplay.done();
|
|
308
271
|
}
|
|
@@ -573,9 +536,6 @@ async function actionCommandServiceAdd(opts) {
|
|
|
573
536
|
const objectId = didParts[3];
|
|
574
537
|
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
575
538
|
}
|
|
576
|
-
else {
|
|
577
|
-
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${identityConnectorIotaStardust.IotaStardustIdentityUtils.didToAddress(did)}?tab=DID`);
|
|
578
|
-
}
|
|
579
539
|
cliCore.CLIDisplay.break();
|
|
580
540
|
cliCore.CLIDisplay.done();
|
|
581
541
|
}
|
|
@@ -656,9 +616,6 @@ async function actionCommandServiceRemove(opts) {
|
|
|
656
616
|
const objectId = didParts[3];
|
|
657
617
|
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
658
618
|
}
|
|
659
|
-
else {
|
|
660
|
-
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${identityConnectorIotaStardust.IotaStardustIdentityUtils.didToAddress(did)}?tab=DID`);
|
|
661
|
-
}
|
|
662
619
|
cliCore.CLIDisplay.break();
|
|
663
620
|
cliCore.CLIDisplay.done();
|
|
664
621
|
}
|
|
@@ -1073,9 +1030,6 @@ async function actionCommandVerificationMethodAdd(opts) {
|
|
|
1073
1030
|
const objectId = didParts[3];
|
|
1074
1031
|
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
1075
1032
|
}
|
|
1076
|
-
else {
|
|
1077
|
-
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${identityConnectorIotaStardust.IotaStardustIdentityUtils.didToAddress(did)}?tab=DID`);
|
|
1078
|
-
}
|
|
1079
1033
|
cliCore.CLIDisplay.break();
|
|
1080
1034
|
cliCore.CLIDisplay.done();
|
|
1081
1035
|
}
|
|
@@ -1156,9 +1110,6 @@ async function actionCommandVerificationMethodRemove(opts) {
|
|
|
1156
1110
|
const objectId = didParts[3];
|
|
1157
1111
|
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
1158
1112
|
}
|
|
1159
|
-
else {
|
|
1160
|
-
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.common.labels.explore"), `${core.StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${identityConnectorIotaStardust.IotaStardustIdentityUtils.didToAddress(did)}?tab=DID`);
|
|
1161
|
-
}
|
|
1162
1113
|
cliCore.CLIDisplay.break();
|
|
1163
1114
|
cliCore.CLIDisplay.done();
|
|
1164
1115
|
}
|
|
@@ -1181,7 +1132,7 @@ class CLI extends cliCore.CLIBase {
|
|
|
1181
1132
|
return this.execute({
|
|
1182
1133
|
title: "TWIN Identity",
|
|
1183
1134
|
appName: "twin-identity",
|
|
1184
|
-
version: "0.0.1-next.
|
|
1135
|
+
version: "0.0.1-next.45", // x-release-please-version
|
|
1185
1136
|
icon: "🌍",
|
|
1186
1137
|
supportsEnvFiles: true,
|
|
1187
1138
|
overrideOutputWidth: options?.overrideOutputWidth
|
package/dist/esm/index.mjs
CHANGED
|
@@ -4,7 +4,6 @@ import { CLIOptions, CLIParam, CLIDisplay, CLIUtils, CLIBase } from '@twin.org/c
|
|
|
4
4
|
import { buildCommandMnemonic, buildCommandAddress } from '@twin.org/crypto-cli';
|
|
5
5
|
import { setupWalletConnector, buildCommandFaucet, buildCommandTransfer } from '@twin.org/wallet-cli';
|
|
6
6
|
import { I18n, Is, Converter, Urn, StringHelper, GeneralError, Coerce } from '@twin.org/core';
|
|
7
|
-
import { IotaStardustIdentityConnector, IotaStardustIdentityResolverConnector, IotaStardustIdentityUtils } from '@twin.org/identity-connector-iota-stardust';
|
|
8
7
|
import { VaultConnectorFactory, VaultKeyType } from '@twin.org/vault-models';
|
|
9
8
|
import { WalletConnectorFactory } from '@twin.org/wallet-models';
|
|
10
9
|
import { Command, Option } from 'commander';
|
|
@@ -25,11 +24,7 @@ const IdentityConnectorTypes = {
|
|
|
25
24
|
/**
|
|
26
25
|
* IOTA.
|
|
27
26
|
*/
|
|
28
|
-
Iota: "iota"
|
|
29
|
-
/**
|
|
30
|
-
* IOTA Stardust.
|
|
31
|
-
*/
|
|
32
|
-
IotaStardust: "iota-stardust"
|
|
27
|
+
Iota: "iota"
|
|
33
28
|
};
|
|
34
29
|
|
|
35
30
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -42,11 +37,7 @@ const IdentityResolverConnectorTypes = {
|
|
|
42
37
|
/**
|
|
43
38
|
* IOTA.
|
|
44
39
|
*/
|
|
45
|
-
Iota: "iota"
|
|
46
|
-
/**
|
|
47
|
-
* IOTA Stardust.
|
|
48
|
-
*/
|
|
49
|
-
IotaStardust: "iota-stardust"
|
|
40
|
+
Iota: "iota"
|
|
50
41
|
};
|
|
51
42
|
|
|
52
43
|
// Copyright 2024 IOTA Stiftung.
|
|
@@ -77,24 +68,12 @@ function setupVault() {
|
|
|
77
68
|
*/
|
|
78
69
|
function setupIdentityConnector(options, connector) {
|
|
79
70
|
connector ??= IdentityConnectorTypes.Iota;
|
|
80
|
-
|
|
81
|
-
return new IotaIdentityConnector({
|
|
82
|
-
config: {
|
|
83
|
-
clientOptions: {
|
|
84
|
-
url: options.nodeEndpoint
|
|
85
|
-
},
|
|
86
|
-
network: options.network ?? "",
|
|
87
|
-
vaultSeedId: options.vaultSeedId,
|
|
88
|
-
walletAddressIndex: options.addressIndex
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
return new IotaStardustIdentityConnector({
|
|
71
|
+
return new IotaIdentityConnector({
|
|
93
72
|
config: {
|
|
94
73
|
clientOptions: {
|
|
95
|
-
|
|
96
|
-
localPow: true
|
|
74
|
+
url: options.nodeEndpoint
|
|
97
75
|
},
|
|
76
|
+
network: options.network ?? "",
|
|
98
77
|
vaultSeedId: options.vaultSeedId,
|
|
99
78
|
walletAddressIndex: options.addressIndex
|
|
100
79
|
}
|
|
@@ -110,22 +89,12 @@ function setupIdentityConnector(options, connector) {
|
|
|
110
89
|
*/
|
|
111
90
|
function setupIdentityResolverConnector(options, connector) {
|
|
112
91
|
connector ??= IdentityResolverConnectorTypes.Iota;
|
|
113
|
-
|
|
114
|
-
return new IotaIdentityResolverConnector({
|
|
115
|
-
config: {
|
|
116
|
-
clientOptions: {
|
|
117
|
-
url: options.nodeEndpoint
|
|
118
|
-
},
|
|
119
|
-
network: options.network ?? ""
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
return new IotaStardustIdentityResolverConnector({
|
|
92
|
+
return new IotaIdentityResolverConnector({
|
|
124
93
|
config: {
|
|
125
94
|
clientOptions: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
95
|
+
url: options.nodeEndpoint
|
|
96
|
+
},
|
|
97
|
+
network: options.network ?? ""
|
|
129
98
|
}
|
|
130
99
|
});
|
|
131
100
|
}
|
|
@@ -214,9 +183,6 @@ async function actionCommandIdentityCreate(opts) {
|
|
|
214
183
|
const objectId = didParts[3];
|
|
215
184
|
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
216
185
|
}
|
|
217
|
-
else {
|
|
218
|
-
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${IotaStardustIdentityUtils.didToAddress(document.id)}?tab=DID`);
|
|
219
|
-
}
|
|
220
186
|
CLIDisplay.break();
|
|
221
187
|
CLIDisplay.done();
|
|
222
188
|
}
|
|
@@ -297,9 +263,6 @@ async function actionCommandIdentityResolve(opts) {
|
|
|
297
263
|
const objectId = didParts[3];
|
|
298
264
|
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
299
265
|
}
|
|
300
|
-
else {
|
|
301
|
-
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${IotaStardustIdentityUtils.didToAddress(document.id)}?tab=DID`);
|
|
302
|
-
}
|
|
303
266
|
CLIDisplay.break();
|
|
304
267
|
CLIDisplay.done();
|
|
305
268
|
}
|
|
@@ -570,9 +533,6 @@ async function actionCommandServiceAdd(opts) {
|
|
|
570
533
|
const objectId = didParts[3];
|
|
571
534
|
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
572
535
|
}
|
|
573
|
-
else {
|
|
574
|
-
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${IotaStardustIdentityUtils.didToAddress(did)}?tab=DID`);
|
|
575
|
-
}
|
|
576
536
|
CLIDisplay.break();
|
|
577
537
|
CLIDisplay.done();
|
|
578
538
|
}
|
|
@@ -653,9 +613,6 @@ async function actionCommandServiceRemove(opts) {
|
|
|
653
613
|
const objectId = didParts[3];
|
|
654
614
|
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
655
615
|
}
|
|
656
|
-
else {
|
|
657
|
-
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${IotaStardustIdentityUtils.didToAddress(did)}?tab=DID`);
|
|
658
|
-
}
|
|
659
616
|
CLIDisplay.break();
|
|
660
617
|
CLIDisplay.done();
|
|
661
618
|
}
|
|
@@ -1070,9 +1027,6 @@ async function actionCommandVerificationMethodAdd(opts) {
|
|
|
1070
1027
|
const objectId = didParts[3];
|
|
1071
1028
|
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
1072
1029
|
}
|
|
1073
|
-
else {
|
|
1074
|
-
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${IotaStardustIdentityUtils.didToAddress(did)}?tab=DID`);
|
|
1075
|
-
}
|
|
1076
1030
|
CLIDisplay.break();
|
|
1077
1031
|
CLIDisplay.done();
|
|
1078
1032
|
}
|
|
@@ -1153,9 +1107,6 @@ async function actionCommandVerificationMethodRemove(opts) {
|
|
|
1153
1107
|
const objectId = didParts[3];
|
|
1154
1108
|
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/object/${objectId}?network=${network}`);
|
|
1155
1109
|
}
|
|
1156
|
-
else {
|
|
1157
|
-
CLIDisplay.value(I18n.formatMessage("commands.common.labels.explore"), `${StringHelper.trimTrailingSlashes(explorerEndpoint)}/addr/${IotaStardustIdentityUtils.didToAddress(did)}?tab=DID`);
|
|
1158
|
-
}
|
|
1159
1110
|
CLIDisplay.break();
|
|
1160
1111
|
CLIDisplay.done();
|
|
1161
1112
|
}
|
|
@@ -1178,7 +1129,7 @@ class CLI extends CLIBase {
|
|
|
1178
1129
|
return this.execute({
|
|
1179
1130
|
title: "TWIN Identity",
|
|
1180
1131
|
appName: "twin-identity",
|
|
1181
|
-
version: "0.0.1-next.
|
|
1132
|
+
version: "0.0.1-next.45", // x-release-please-version
|
|
1182
1133
|
icon: "🌍",
|
|
1183
1134
|
supportsEnvFiles: true,
|
|
1184
1135
|
overrideOutputWidth: options?.overrideOutputWidth
|
package/dist/locales/en.json
CHANGED
|
@@ -287,7 +287,9 @@
|
|
|
287
287
|
"unrevokeVerifiableCredentialsFailed": "Unrevoking verifiable credentials failed",
|
|
288
288
|
"proofType": "The proof type must be DataIntegrityProof, it is currently {proofType}",
|
|
289
289
|
"integerNegative": "The value must be a positive integer, it is currently {value}",
|
|
290
|
-
"invalidDocumentIdFormat": "The document ID format is invalid, it is currently {documentId}"
|
|
290
|
+
"invalidDocumentIdFormat": "The document ID format is invalid, it is currently {documentId}",
|
|
291
|
+
"invalidSubjectId": "The subject id format is invalid it must be a Url or Urn, it is \"{subjectId}\"",
|
|
292
|
+
"missingControllerToken": "The controller token is missing"
|
|
291
293
|
},
|
|
292
294
|
"iota": {
|
|
293
295
|
"insufficientFunds": "There were insufficient funds to complete the operation",
|
|
@@ -299,44 +301,6 @@
|
|
|
299
301
|
"vaultConnectorHelper": {
|
|
300
302
|
"invalidSignature": "The JSON Web token signature could not be verified"
|
|
301
303
|
},
|
|
302
|
-
"iotaStardustIdentityResolverConnector": {
|
|
303
|
-
"documentNotFound": "The document could not be found",
|
|
304
|
-
"resolveDocumentFailed": "Resolving the document failed"
|
|
305
|
-
},
|
|
306
|
-
"iotaStardustIdentityConnector": {
|
|
307
|
-
"createDocumentFailed": "Creating the document failed",
|
|
308
|
-
"missingDid": "The full id including DID is required",
|
|
309
|
-
"addVerificationMethodFailed": "Adding the verification method failed",
|
|
310
|
-
"removeVerificationMethodFailed": "Removing the verification method failed",
|
|
311
|
-
"addServiceFailed": "Adding the service failed",
|
|
312
|
-
"removeServiceFailed": "Removing the service failed",
|
|
313
|
-
"documentNotFound": "The document could not be found",
|
|
314
|
-
"stateControllerMissing": "The state controller address is missing from the metadata",
|
|
315
|
-
"verificationMethodNotFound": "The verification method could not be found",
|
|
316
|
-
"serviceNotFound": "The service could not be found",
|
|
317
|
-
"publicKeyJwkMissing": "The verification method contains no publicKeyJwk in method \"{method}\"",
|
|
318
|
-
"verificationKeyMissing": "The verification key is missing from the vault for method \"{method}\"",
|
|
319
|
-
"createVerifiableCredentialFailed": "Creating the verifiable credential failed",
|
|
320
|
-
"checkingVerifiableCredentialFailed": "Checking the verifiable credential failed",
|
|
321
|
-
"createVerifiablePresentationFailed": "Creating the verifiable presentation failed",
|
|
322
|
-
"checkingVerifiablePresentationFailed": "Checking the verifiable presentation failed",
|
|
323
|
-
"expectingJwtCredential": "Expecting JWT credential in the presentation",
|
|
324
|
-
"keyIndexOutOfRange": "The supplied keyIndex is not in the range of the key list",
|
|
325
|
-
"createProofFailed": "Creating the signature for the data failed",
|
|
326
|
-
"methodMissing": "The verification method specified does not exist \"{method}\"",
|
|
327
|
-
"verifyProofFailed": "Verifying the signature for the data failed",
|
|
328
|
-
"revokeVerifiableCredentialsFailed": "Revoking verifiable credentials failed",
|
|
329
|
-
"unrevokeVerifiableCredentialsFailed": "Unrevoking verifiable credentials failed",
|
|
330
|
-
"inclusionFailed": "The transaction generated for the identity was not included in a reasonable amount of time",
|
|
331
|
-
"insufficientFunds": "There were insufficient funds to complete the operation",
|
|
332
|
-
"walletConnectorMissing": "The wallet connector must be available to perform this operation",
|
|
333
|
-
"proofType": "The proof type must be DataIntegrityProof, it is currently {proofType}",
|
|
334
|
-
"cryptosuite": "The proof cryptosuite must be eddsa-jcs-2022, it is currently {cryptosuite}"
|
|
335
|
-
},
|
|
336
|
-
"iotaStardust": {
|
|
337
|
-
"inclusionFailed": "The transaction generated was not included in a reasonable amount of time",
|
|
338
|
-
"insufficientFunds": "There were insufficient funds to complete the operation"
|
|
339
|
-
},
|
|
340
304
|
"entityStorageVaultConnector": {
|
|
341
305
|
"keyAlreadyExists": "The key \"{existingId}\" already exists in the vault",
|
|
342
306
|
"keyNotFound": "The key \"{notFoundId}\" was not found in the vault",
|
|
@@ -349,15 +313,6 @@
|
|
|
349
313
|
},
|
|
350
314
|
"iotaFaucetConnector": {
|
|
351
315
|
"fundingFailed": "Fund the address from faucet failed"
|
|
352
|
-
},
|
|
353
|
-
"iotaStardustWalletConnector": {
|
|
354
|
-
"transferFailed": "The wallet transfer failed.",
|
|
355
|
-
"inclusionFailed": "The transaction generated was not included in a reasonable amount of time",
|
|
356
|
-
"insufficientFunds": "There were insufficient funds to complete the operation"
|
|
357
|
-
},
|
|
358
|
-
"iotaStardustFaucetConnector": {
|
|
359
|
-
"fundingFailed": "Fund the address from faucet failed",
|
|
360
|
-
"insufficientFunds": "There were insufficient funds to complete the operation"
|
|
361
316
|
}
|
|
362
317
|
},
|
|
363
318
|
"errorNames": {
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @twin.org/identity-cli - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.45](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.1-next.44...identity-cli-v0.0.1-next.45) (2025-05-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* iota rebased release ([5d14674](https://github.com/twinfoundation/identity/commit/5d146744ca9eed622ef7eb34a7fa935216f9e975))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/identity-models bumped from 0.0.1-next.44 to 0.0.1-next.45
|
|
16
|
+
* @twin.org/identity-connector-iota bumped from 0.0.1-next.44 to 0.0.1-next.45
|
|
17
|
+
|
|
18
|
+
## [0.0.1-next.44](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.1-next.43...identity-cli-v0.0.1-next.44) (2025-04-30)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Miscellaneous Chores
|
|
22
|
+
|
|
23
|
+
* **identity-cli:** Synchronize repo versions
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/identity-models bumped from 0.0.1-next.43 to 0.0.1-next.44
|
|
31
|
+
* @twin.org/identity-connector-iota bumped from 0.0.1-next.43 to 0.0.1-next.44
|
|
32
|
+
|
|
3
33
|
## [0.0.1-next.43](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.1-next.42...identity-cli-v0.0.1-next.43) (2025-04-25)
|
|
4
34
|
|
|
5
35
|
|
|
@@ -14,7 +44,6 @@
|
|
|
14
44
|
* dependencies
|
|
15
45
|
* @twin.org/identity-models bumped from 0.0.1-next.42 to 0.0.1-next.43
|
|
16
46
|
* @twin.org/identity-connector-iota bumped from 0.0.1-next.42 to 0.0.1-next.43
|
|
17
|
-
* @twin.org/identity-connector-iota-stardust bumped from 0.0.1-next.42 to 0.0.1-next.43
|
|
18
47
|
|
|
19
48
|
## [0.0.1-next.42](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.1-next.41...identity-cli-v0.0.1-next.42) (2025-04-17)
|
|
20
49
|
|
|
@@ -30,7 +59,6 @@
|
|
|
30
59
|
* dependencies
|
|
31
60
|
* @twin.org/identity-models bumped from 0.0.1-next.41 to 0.0.1-next.42
|
|
32
61
|
* @twin.org/identity-connector-iota bumped from 0.0.1-next.41 to 0.0.1-next.42
|
|
33
|
-
* @twin.org/identity-connector-iota-stardust bumped from 0.0.1-next.41 to 0.0.1-next.42
|
|
34
62
|
|
|
35
63
|
## [0.0.1-next.41](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.1-next.40...identity-cli-v0.0.1-next.41) (2025-04-09)
|
|
36
64
|
|
|
@@ -46,7 +74,6 @@
|
|
|
46
74
|
* dependencies
|
|
47
75
|
* @twin.org/identity-models bumped from 0.0.1-next.40 to 0.0.1-next.41
|
|
48
76
|
* @twin.org/identity-connector-iota bumped from 0.0.1-next.40 to 0.0.1-next.41
|
|
49
|
-
* @twin.org/identity-connector-iota-stardust bumped from 0.0.1-next.40 to 0.0.1-next.41
|
|
50
77
|
|
|
51
78
|
## [0.0.1-next.40](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.1-next.39...identity-cli-v0.0.1-next.40) (2025-03-28)
|
|
52
79
|
|
|
@@ -63,7 +90,6 @@
|
|
|
63
90
|
* dependencies
|
|
64
91
|
* @twin.org/identity-models bumped from 0.0.1-next.39 to 0.0.1-next.40
|
|
65
92
|
* @twin.org/identity-connector-iota bumped from 0.0.1-next.39 to 0.0.1-next.40
|
|
66
|
-
* @twin.org/identity-connector-iota-stardust bumped from 0.0.1-next.39 to 0.0.1-next.40
|
|
67
93
|
|
|
68
94
|
## v0.0.1-next.39
|
|
69
95
|
|
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.45",
|
|
4
4
|
"description": "A command line interface for interacting with the identity connectors",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,16 +21,14 @@
|
|
|
21
21
|
"@twin.org/data-json-ld": "next",
|
|
22
22
|
"@twin.org/entity": "next",
|
|
23
23
|
"@twin.org/entity-storage-connector-memory": "next",
|
|
24
|
-
"@twin.org/identity-connector-iota": "0.0.1-next.
|
|
25
|
-
"@twin.org/identity-
|
|
26
|
-
"@twin.org/identity-models": "0.0.1-next.43",
|
|
24
|
+
"@twin.org/identity-connector-iota": "0.0.1-next.45",
|
|
25
|
+
"@twin.org/identity-models": "0.0.1-next.45",
|
|
27
26
|
"@twin.org/nameof": "next",
|
|
28
27
|
"@twin.org/standards-w3c-did": "next",
|
|
29
28
|
"@twin.org/vault-connector-entity-storage": "next",
|
|
30
29
|
"@twin.org/vault-models": "next",
|
|
31
30
|
"@twin.org/wallet-cli": "next",
|
|
32
31
|
"@twin.org/wallet-connector-iota": "next",
|
|
33
|
-
"@twin.org/wallet-connector-iota-stardust": "next",
|
|
34
32
|
"@twin.org/wallet-models": "next",
|
|
35
33
|
"commander": "13.1.0"
|
|
36
34
|
},
|