@twin.org/identity-cli 0.0.1 → 0.0.2-next.10
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 +63 -26
- package/dist/esm/index.mjs +63 -26
- package/dist/locales/en.json +110 -104
- package/dist/types/commands/proofCreate.d.ts +3 -0
- package/dist/types/commands/serviceAdd.d.ts +2 -0
- package/dist/types/commands/serviceRemove.d.ts +2 -0
- package/dist/types/commands/verifiableCredentialCreate.d.ts +2 -0
- package/dist/types/commands/verifiableCredentialRevoke.d.ts +2 -0
- package/dist/types/commands/verifiableCredentialUnrevoke.d.ts +2 -0
- package/dist/types/commands/verificationMethodAdd.d.ts +3 -0
- package/dist/types/commands/verificationMethodRemove.d.ts +2 -0
- package/docs/changelog.md +164 -0
- package/docs/reference/functions/actionCommandServiceRemove.md +6 -0
- package/docs/reference/functions/actionCommandVerifiableCredentialRevoke.md +6 -0
- package/docs/reference/functions/actionCommandVerifiableCredentialUnrevoke.md +6 -0
- package/docs/reference/functions/actionCommandVerificationMethodRemove.md +6 -0
- package/docs/reference/variables/IdentityConnectorTypes.md +1 -1
- package/docs/reference/variables/IdentityResolverConnectorTypes.md +1 -1
- package/locales/en.json +55 -13
- package/package.json +35 -20
package/dist/locales/en.json
CHANGED
|
@@ -39,11 +39,13 @@
|
|
|
39
39
|
"beUrl": "{fieldName} must be a correctly formatted url",
|
|
40
40
|
"beJSON": "{fieldName} must be correctly formatted JSON",
|
|
41
41
|
"beEmail": "{fieldName} must be a correctly formatted e-mail address",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
"minLengthRequired": "The value length should be at least {minLength}, it is {actualLength}",
|
|
43
|
+
"maxLengthRequired": "The value length should be at most {maxLength}, it is {actualLength}",
|
|
44
|
+
"repeatedCharacters": "The value should not contain repeated characters in sequence",
|
|
45
|
+
"atLeastOneLowerCase": "The value should contain at least one lowercase character",
|
|
46
|
+
"atLeastOneUpperCase": "The value should contain at least one uppercase character",
|
|
47
|
+
"atLeastOneNumber": "The value should contain at least one number",
|
|
48
|
+
"atLeastOneSpecialChar": "The value should contain at least one symbol",
|
|
47
49
|
"schema": {
|
|
48
50
|
"failedValidation": "The JSON schema failed validation, {message}",
|
|
49
51
|
"missingType": "Failed to validate as there is no handler for type \"{dataType}\""
|
|
@@ -80,9 +82,7 @@
|
|
|
80
82
|
"url": "Property \"{property}\" must be a Url formatted string, it is \"{value}\"",
|
|
81
83
|
"email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
|
|
82
84
|
"length32Multiple": "Property \"{property}\" should be a multiple of 32, it is {value}",
|
|
83
|
-
"lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}"
|
|
84
|
-
"length3Multiple": "Property \"{property}\" should be a multiple of 3, it is {value}",
|
|
85
|
-
"greaterThan0": "Property \"{property}\" must be greater than zero, it is {value}"
|
|
85
|
+
"lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}"
|
|
86
86
|
},
|
|
87
87
|
"objectHelper": {
|
|
88
88
|
"failedBytesToJSON": "Failed converting bytes to JSON",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"noGet": "The requested {typeName} \"{name}\" does not exist in the factory"
|
|
99
99
|
},
|
|
100
100
|
"bitString": {
|
|
101
|
-
"outOfRange": "The index should be >= 0 and less than the length of the bit string"
|
|
101
|
+
"outOfRange": "The index should be >= 0 and less than the length of the bit string, the index is \"{index}\" and the number of bit is \"{numberBits}\""
|
|
102
102
|
},
|
|
103
103
|
"base32": {
|
|
104
104
|
"invalidCharacter": "Data contains a character \"{invalidCharacter}\" which is not in the charset"
|
|
@@ -112,10 +112,6 @@
|
|
|
112
112
|
"jsonHelper": {
|
|
113
113
|
"failedPatch": "Failed to patch the JSON object, patch index \"{index}\" failed"
|
|
114
114
|
},
|
|
115
|
-
"bip39": {
|
|
116
|
-
"missingMnemonicWord": "The mnemonic contains a word not in the wordlist, \"{value}\"",
|
|
117
|
-
"checksumMismatch": "The checksum does not match \"{newChecksum}\" != \"{checksumBits}\""
|
|
118
|
-
},
|
|
119
115
|
"ed25519": {
|
|
120
116
|
"privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
|
|
121
117
|
"publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
|
|
@@ -124,13 +120,6 @@
|
|
|
124
120
|
"privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
|
|
125
121
|
"publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
|
|
126
122
|
},
|
|
127
|
-
"x25519": {
|
|
128
|
-
"invalidPublicKey": "Invalid Ed25519 Public Key"
|
|
129
|
-
},
|
|
130
|
-
"blake2b": {
|
|
131
|
-
"outputLength64": "The output length should be between 1 and 64, it is \"{outputLength}\"",
|
|
132
|
-
"keyLength64": "The key length should be between 1 and 64, it is \"{keyLength}\""
|
|
133
|
-
},
|
|
134
123
|
"sha512": {
|
|
135
124
|
"bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
|
|
136
125
|
},
|
|
@@ -153,17 +142,6 @@
|
|
|
153
142
|
"lowerUpper": "The address my use either lowercase or uppercase, \"{bech32}\"",
|
|
154
143
|
"dataTooShort": "The address does not contain enough data to decode, \"{bech32}\""
|
|
155
144
|
},
|
|
156
|
-
"pbkdf2": {
|
|
157
|
-
"keyTooLong": "The requested key length \"{keyLength}\" is too long, based on the \"{macLength}\""
|
|
158
|
-
},
|
|
159
|
-
"chaCha20Poly1305": {
|
|
160
|
-
"noAadWithData": "You can not set the aad when there is already data",
|
|
161
|
-
"noAuthTag": "Can not finalise when the auth tag is not set",
|
|
162
|
-
"authenticationFailed": "The data could not be authenticated",
|
|
163
|
-
"authTagDecrypting": "Can not get the auth tag when decrypting",
|
|
164
|
-
"authTagEncrypting": "Can not set the auth tag when encrypting",
|
|
165
|
-
"noAuthTagSet": "The auth tag has not been set"
|
|
166
|
-
},
|
|
167
145
|
"bip44": {
|
|
168
146
|
"unsupportedKeyType": "The key type \"{keyType}\" is not supported"
|
|
169
147
|
},
|
|
@@ -176,19 +154,16 @@
|
|
|
176
154
|
"optionInvalidHex": "The \"{option}\" does not appear to be hex. \"{value}\"",
|
|
177
155
|
"optionInvalidBase64": "The \"{option}\" does not appear to be base64. \"{value}\"",
|
|
178
156
|
"optionInvalidHexBase64": "The \"{option}\" does not appear to be hex or base64. \"{value}\"",
|
|
179
|
-
"optionInvalidBech32": "The \"{option}\" does not appear to be bech32. \"{value}\"",
|
|
180
157
|
"optionMinValue": "The \"{option}\" option must be greater than or equal to {minValue}, it is {value}.",
|
|
181
158
|
"optionMaxValue": "The \"{option}\" option must be less than or equal to {maxValue}, it is {value}."
|
|
182
159
|
},
|
|
183
|
-
"address": {
|
|
184
|
-
"seedMissingEnv": "The seed does not appear to be hex or base64, assuming it is an environment variable, but there is no environment variable with the name \"{env}\" set.",
|
|
185
|
-
"seedInvalidEnv": "The seed does not appear to be hex or base64, assuming it is an environment variable, but there the environment variable is neither hex or base64. \"{envValue}\"",
|
|
186
|
-
"seedInvalidFormat": "The seed does not appear to be hex, base64 or an environment variable. \"{seed}\""
|
|
187
|
-
},
|
|
188
160
|
"verifiable-credential-create": {
|
|
189
161
|
"subjectJsonFileNotFound": "The subject JSON file was not found."
|
|
190
162
|
},
|
|
191
163
|
"proof-create": {
|
|
164
|
+
"documentJsonFileNotFound": "The document JSON file was not found."
|
|
165
|
+
},
|
|
166
|
+
"proof-verify": {
|
|
192
167
|
"documentJsonFileNotFound": "The document JSON file was not found.",
|
|
193
168
|
"proofJsonFileNotFound": "The proof JSON file was not found."
|
|
194
169
|
}
|
|
@@ -209,11 +184,12 @@
|
|
|
209
184
|
"invalidEntityKeys": "The entity had additional properties that are not in the schema, \"{keys}\""
|
|
210
185
|
},
|
|
211
186
|
"fetchHelper": {
|
|
212
|
-
"decodingJSON": "Decoding JSON failed for route \"{
|
|
187
|
+
"decodingJSON": "Decoding JSON failed for route \"{url}\"",
|
|
213
188
|
"failureStatusText": "The request to the API failed: \"{statusText}\"",
|
|
214
189
|
"connectivity": "The request failed, the API could be offline, or there are other connectivity issues",
|
|
215
190
|
"timeout": "The request timed out",
|
|
216
|
-
"general": "A general failure occurred during the request"
|
|
191
|
+
"general": "A general failure occurred during the request",
|
|
192
|
+
"retryLimitExceeded": "The retry limit was exceeded for route \"{url}\""
|
|
217
193
|
},
|
|
218
194
|
"jwt": {
|
|
219
195
|
"noKeyOrSigner": "No key or signer was provided for JWT creation",
|
|
@@ -231,27 +207,25 @@
|
|
|
231
207
|
},
|
|
232
208
|
"verificationHelper": {
|
|
233
209
|
"jwtDecodeFailed": "Decoding the JWT failed",
|
|
234
|
-
"proofTypeNotSupported": "The proof type \"{proofType}\" is not supported",
|
|
235
210
|
"proofMissingVerificationMethod": "The proof is missing the verification method"
|
|
236
211
|
},
|
|
237
212
|
"documentHelper": {
|
|
238
213
|
"verificationMethodNotFound": "The verification method \"{methodName}\" of type \"{methodType}\" could not be found",
|
|
239
214
|
"verificationMethodJwkNotFound": "The verification method \"{methodName}\" of type \"{methodType}\" is missing the JWK"
|
|
240
215
|
},
|
|
216
|
+
"idHelper": {
|
|
217
|
+
"invalidDocumentId": "The document id \"{id}\" is invalid"
|
|
218
|
+
},
|
|
241
219
|
"proofHelper": {
|
|
242
|
-
"unsupportedProofType": "Proof type \"{proofType}\" not supported."
|
|
243
|
-
"proofMissing": "Proof is missing."
|
|
220
|
+
"unsupportedProofType": "Proof type \"{proofType}\" not supported."
|
|
244
221
|
},
|
|
245
222
|
"jsonWebSignature2020SignerVerifier": {
|
|
246
|
-
"
|
|
247
|
-
"missingPublicKey": "Public key is missing.",
|
|
248
|
-
"missingProofValue": "Proof value is missing."
|
|
223
|
+
"missingJws": "JWS is missing from proof."
|
|
249
224
|
},
|
|
250
225
|
"dataIntegrityProofSignerVerifier": {
|
|
251
|
-
"cryptosuiteNotSupported": "Cryptosuite \"{
|
|
226
|
+
"cryptosuiteNotSupported": "Cryptosuite \"{cryptoSuite}\" is not supported.",
|
|
252
227
|
"missingPrivateKey": "Private key is missing.",
|
|
253
|
-
"missingPublicKey": "Public key is missing."
|
|
254
|
-
"missingProofValue": "Proof value is missing."
|
|
228
|
+
"missingPublicKey": "Public key is missing."
|
|
255
229
|
},
|
|
256
230
|
"multikeyHelper": {
|
|
257
231
|
"invalidPublicKeyMultibase": "Public key multibase \"{publicKeyMultibase}\" is invalid.",
|
|
@@ -289,24 +263,14 @@
|
|
|
289
263
|
"verifyProofFailed": "Verifying the signature for the data failed",
|
|
290
264
|
"revokeVerifiableCredentialsFailed": "Revoking verifiable credentials failed",
|
|
291
265
|
"unrevokeVerifiableCredentialsFailed": "Unrevoking verifiable credentials failed",
|
|
292
|
-
"proofType": "The proof type must be DataIntegrityProof, it is currently {proofType}",
|
|
293
|
-
"integerNegative": "The value must be a positive integer, it is currently {value}",
|
|
294
|
-
"invalidDocumentIdFormat": "The document ID format is invalid, it is currently {documentId}",
|
|
295
266
|
"invalidSubjectId": "The subject id format is invalid it must be a Url or Urn, it is \"{subjectId}\"",
|
|
296
267
|
"missingControllerToken": "The controller token is missing",
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
"
|
|
302
|
-
"
|
|
303
|
-
"didExtractionFailed": "Failed to extract DID from transaction execution result",
|
|
304
|
-
"transactionConfirmationTimeout": "Transaction confirmation timed out",
|
|
305
|
-
"transactionBuildFailed": "Transaction build failed - unexpected build result format",
|
|
306
|
-
"didResolutionFailed": "DID resolution failed",
|
|
307
|
-
"didResolutionFailedAllRetries": "DID resolution failed after all retries",
|
|
308
|
-
"invalidMaxRetries": "The maximum number of retries must be a positive integer, it is currently {maxRetries}",
|
|
309
|
-
"invalidBaseDelay": "The base delay must be a positive integer, it is currently {baseDelay}"
|
|
268
|
+
"identityNotFound": "The identity could not be found \"{notFoundId}\"",
|
|
269
|
+
"revocationServiceNotFound": "The revocation service could not be found in the document",
|
|
270
|
+
"didExtractionFailed": "Extracting the DID from the document id failed",
|
|
271
|
+
"transactionConfirmationTimeout": "The transaction was not confirmed in the expected time",
|
|
272
|
+
"transactionBuildFailed": "Building the transaction failed",
|
|
273
|
+
"gasStationTransactionBuildFailed": "Building the gas station transaction failed"
|
|
310
274
|
},
|
|
311
275
|
"iota": {
|
|
312
276
|
"insufficientFunds": "There were insufficient funds to complete the operation",
|
|
@@ -316,8 +280,24 @@
|
|
|
316
280
|
"transactionFailed": "The transaction failed",
|
|
317
281
|
"addressNotFound": "The address is missing could not be found from the seed \"{address}\"",
|
|
318
282
|
"gasStationTransactionFailed": "The gas station transaction failed",
|
|
319
|
-
"
|
|
320
|
-
|
|
283
|
+
"dryRunFailed": "The dry run execution failed"
|
|
284
|
+
},
|
|
285
|
+
"iotaSmartContractUtils": {
|
|
286
|
+
"migrationFailed": "Smart contract migration failed",
|
|
287
|
+
"migrateSmartContractFailed": "Failed to migrate smart contract for object \"{objectId}\"",
|
|
288
|
+
"enableMigrationFailed": "Failed to enable migration for smart contract",
|
|
289
|
+
"disableMigrationFailed": "Failed to disable migration for smart contract",
|
|
290
|
+
"migrationStateNotReadable": "Cannot read migration state for ID \"{migrationStateId}\"",
|
|
291
|
+
"isMigrationActiveFailed": "Failed to check if migration is active",
|
|
292
|
+
"invalidVersionData": "Invalid version data received from smart contract",
|
|
293
|
+
"getCurrentContractVersionNoData": "No version data returned from contract",
|
|
294
|
+
"getCurrentContractVersionFailed": "Failed to get current contract version",
|
|
295
|
+
"objectNotReadable": "Cannot read object with ID \"{objectId}\"",
|
|
296
|
+
"objectInvalidFormat": "Object \"{objectId}\" has invalid format",
|
|
297
|
+
"validateObjectVersionFailed": "Failed to validate object version for \"{objectId}\"",
|
|
298
|
+
"getContractObjectIdsFailed": "Failed to get contract object IDs for namespace \"{namespace}\" on network \"{network}\"",
|
|
299
|
+
"adminCapNotFound": "AdminCap object not found for type \"{adminCapType}\" and address \"{adminAddress}\"",
|
|
300
|
+
"migrationStateNotFound": "MigrationState object not found for type \"{migrationStateType}\" and address \"{adminAddress}\""
|
|
321
301
|
},
|
|
322
302
|
"vaultConnectorHelper": {
|
|
323
303
|
"invalidSignature": "The JSON Web token signature could not be verified"
|
|
@@ -333,7 +313,8 @@
|
|
|
333
313
|
"transferFailed": "The wallet transfer failed."
|
|
334
314
|
},
|
|
335
315
|
"iotaFaucetConnector": {
|
|
336
|
-
"fundingFailed": "Fund the address from faucet failed"
|
|
316
|
+
"fundingFailed": "Fund the address from faucet failed",
|
|
317
|
+
"faucetRateLimit": "Faucet rate limit exceeded"
|
|
337
318
|
}
|
|
338
319
|
},
|
|
339
320
|
"errorNames": {
|
|
@@ -346,11 +327,17 @@
|
|
|
346
327
|
"alreadyExistsError": "Already Exists",
|
|
347
328
|
"notImplementedError": "Not Implemented",
|
|
348
329
|
"validationError": "Validation",
|
|
349
|
-
"unprocessableError": "Unprocessable"
|
|
330
|
+
"unprocessableError": "Unprocessable",
|
|
331
|
+
"unauthorizedError": "Unauthorized"
|
|
350
332
|
},
|
|
351
333
|
"validation": {
|
|
352
334
|
"defaultFieldName": "The field"
|
|
353
335
|
},
|
|
336
|
+
"warn": {
|
|
337
|
+
"common": {
|
|
338
|
+
"devOnlyTool": "This tool is intended to be used for development purposes, it is not recommended for use in production scenarios."
|
|
339
|
+
}
|
|
340
|
+
},
|
|
354
341
|
"cli": {
|
|
355
342
|
"progress": {
|
|
356
343
|
"done": "Done.",
|
|
@@ -406,27 +393,11 @@
|
|
|
406
393
|
"param": "--seed-format '<'format'>'",
|
|
407
394
|
"description": "The format to output the seed."
|
|
408
395
|
},
|
|
409
|
-
"no-console": {
|
|
410
|
-
"param": "--no-console",
|
|
411
|
-
"description": "Hides the mnemonic and seed in the console."
|
|
412
|
-
},
|
|
413
|
-
"json": {
|
|
414
|
-
"param": "--json '<'filename'>'",
|
|
415
|
-
"description": "Creates a JSON file containing the mnemonic and seed."
|
|
416
|
-
},
|
|
417
|
-
"env": {
|
|
418
|
-
"param": "--env '<'filename'>'",
|
|
419
|
-
"description": "Creates an env file containing the mnemonic and seed."
|
|
420
|
-
},
|
|
421
396
|
"env-prefix": {
|
|
422
397
|
"param": "--env-prefix '<'prefix'>'",
|
|
423
398
|
"description": "Prefixes the env variables with the value."
|
|
424
399
|
}
|
|
425
400
|
},
|
|
426
|
-
"progress": {
|
|
427
|
-
"writingJsonFile": "Writing JSON file",
|
|
428
|
-
"writingEnvFile": "Writing env file"
|
|
429
|
-
},
|
|
430
401
|
"labels": {
|
|
431
402
|
"mnemonic": "Mnemonic",
|
|
432
403
|
"seed": "Seed",
|
|
@@ -489,7 +460,7 @@
|
|
|
489
460
|
"options": {
|
|
490
461
|
"address": {
|
|
491
462
|
"param": "--address '<'address'>'",
|
|
492
|
-
"description": "The address to fill from the faucet
|
|
463
|
+
"description": "The address to fill from the faucet in hex format, or start with ! to read environment variable."
|
|
493
464
|
},
|
|
494
465
|
"faucet": {
|
|
495
466
|
"param": "--faucet '<'url'>'",
|
|
@@ -514,11 +485,11 @@
|
|
|
514
485
|
"options": {
|
|
515
486
|
"address": {
|
|
516
487
|
"param": "--address '<'address'>'",
|
|
517
|
-
"description": "The address to send the funds from
|
|
488
|
+
"description": "The address to send the funds from in hex format, or start with ! to read environment variable."
|
|
518
489
|
},
|
|
519
490
|
"dest-address": {
|
|
520
491
|
"param": "--dest-address '<'address'>'",
|
|
521
|
-
"description": "The address to send the funds to
|
|
492
|
+
"description": "The address to send the funds to in hex format, or start with ! to read environment variable."
|
|
522
493
|
},
|
|
523
494
|
"amount": {
|
|
524
495
|
"param": "--amount '<'amount'>'",
|
|
@@ -623,6 +594,10 @@
|
|
|
623
594
|
"id": {
|
|
624
595
|
"param": "--id '<'id'>'",
|
|
625
596
|
"description": "The optional id of verification method to add, if not provided one will be generated."
|
|
597
|
+
},
|
|
598
|
+
"addressIndex": {
|
|
599
|
+
"param": "--address-index '<'index'>'",
|
|
600
|
+
"description": "The address index to use for the identity controller."
|
|
626
601
|
}
|
|
627
602
|
},
|
|
628
603
|
"progress": {
|
|
@@ -635,7 +610,8 @@
|
|
|
635
610
|
"publicKeyBase64": "Public Key Base64",
|
|
636
611
|
"privateKeyHex": "Private Key Hex",
|
|
637
612
|
"publicKeyHex": "Public Key Hex",
|
|
638
|
-
"kid": "Key Id"
|
|
613
|
+
"kid": "Key Id",
|
|
614
|
+
"addressIndex": "Address Index"
|
|
639
615
|
}
|
|
640
616
|
},
|
|
641
617
|
"verification-method-remove": {
|
|
@@ -646,20 +622,21 @@
|
|
|
646
622
|
"param": "--seed '<'seed'>'",
|
|
647
623
|
"description": "The seed for the private key for the controller address of the document in hex or base64, or start with ! to read environment variable."
|
|
648
624
|
},
|
|
649
|
-
"did": {
|
|
650
|
-
"param": "--did '<'did'>'",
|
|
651
|
-
"description": "The identifier to remove the verification method from, or start with ! to read environment variable."
|
|
652
|
-
},
|
|
653
625
|
"id": {
|
|
654
626
|
"param": "--id '<'id'>'",
|
|
655
627
|
"description": "The id of verification method to remove."
|
|
628
|
+
},
|
|
629
|
+
"addressIndex": {
|
|
630
|
+
"param": "--address-index '<'index'>'",
|
|
631
|
+
"description": "The address index to use for the identity controller."
|
|
656
632
|
}
|
|
657
633
|
},
|
|
658
634
|
"progress": {
|
|
659
635
|
"removingVerificationMethod": "Removing Verification Method"
|
|
660
636
|
},
|
|
661
637
|
"labels": {
|
|
662
|
-
"verificationMethodId": "Verification Method Id"
|
|
638
|
+
"verificationMethodId": "Verification Method Id",
|
|
639
|
+
"addressIndex": "Address Index"
|
|
663
640
|
}
|
|
664
641
|
},
|
|
665
642
|
"service-add": {
|
|
@@ -685,6 +662,10 @@
|
|
|
685
662
|
"endpoint": {
|
|
686
663
|
"param": "--endpoint '<'endpoint'>'",
|
|
687
664
|
"description": "The service endpoint to add."
|
|
665
|
+
},
|
|
666
|
+
"addressIndex": {
|
|
667
|
+
"param": "--address-index '<'index'>'",
|
|
668
|
+
"description": "The address index to use for the identity controller."
|
|
688
669
|
}
|
|
689
670
|
},
|
|
690
671
|
"progress": {
|
|
@@ -693,7 +674,8 @@
|
|
|
693
674
|
"labels": {
|
|
694
675
|
"serviceId": "Service Id",
|
|
695
676
|
"serviceType": "Service Type",
|
|
696
|
-
"serviceEndpoint": "Service Endpoint"
|
|
677
|
+
"serviceEndpoint": "Service Endpoint",
|
|
678
|
+
"addressIndex": "Address Index"
|
|
697
679
|
}
|
|
698
680
|
},
|
|
699
681
|
"service-remove": {
|
|
@@ -707,13 +689,18 @@
|
|
|
707
689
|
"id": {
|
|
708
690
|
"param": "--id '<'id'>'",
|
|
709
691
|
"description": "The id of service to remove."
|
|
692
|
+
},
|
|
693
|
+
"addressIndex": {
|
|
694
|
+
"param": "--address-index '<'index'>'",
|
|
695
|
+
"description": "The address index to use for the identity controller."
|
|
710
696
|
}
|
|
711
697
|
},
|
|
712
698
|
"progress": {
|
|
713
699
|
"removingService": "Removing Service"
|
|
714
700
|
},
|
|
715
701
|
"labels": {
|
|
716
|
-
"serviceId": "Service Id"
|
|
702
|
+
"serviceId": "Service Id",
|
|
703
|
+
"addressIndex": "Address Index"
|
|
717
704
|
}
|
|
718
705
|
},
|
|
719
706
|
"verifiable-credential-create": {
|
|
@@ -739,6 +726,10 @@
|
|
|
739
726
|
"revocation-index": {
|
|
740
727
|
"param": "--revocation-index '<'revocation-index'>'",
|
|
741
728
|
"description": "The revocation index in the issuing document to use if revoking the credential."
|
|
729
|
+
},
|
|
730
|
+
"addressIndex": {
|
|
731
|
+
"param": "--address-index '<'index'>'",
|
|
732
|
+
"description": "The address index to use for the identity controller."
|
|
742
733
|
}
|
|
743
734
|
},
|
|
744
735
|
"progress": {
|
|
@@ -750,7 +741,8 @@
|
|
|
750
741
|
"credentialId": "Credential Id",
|
|
751
742
|
"subjectJson": "Subject JSON",
|
|
752
743
|
"revocationIndex": "Revocation Index",
|
|
753
|
-
"verifiableCredential": "Verifiable Credential"
|
|
744
|
+
"verifiableCredential": "Verifiable Credential",
|
|
745
|
+
"addressIndex": "Address Index"
|
|
754
746
|
}
|
|
755
747
|
},
|
|
756
748
|
"verifiable-credential-verify": {
|
|
@@ -786,13 +778,18 @@
|
|
|
786
778
|
"revocation-index": {
|
|
787
779
|
"param": "--revocation-index '<'revocation-index'>'",
|
|
788
780
|
"description": "The revocation index of the credential revoke."
|
|
781
|
+
},
|
|
782
|
+
"addressIndex": {
|
|
783
|
+
"param": "--address-index '<'index'>'",
|
|
784
|
+
"description": "The address index to use for the identity controller."
|
|
789
785
|
}
|
|
790
786
|
},
|
|
791
787
|
"progress": {
|
|
792
788
|
"revokingCredential": "Revoking Credential Index"
|
|
793
789
|
},
|
|
794
790
|
"labels": {
|
|
795
|
-
"revocationIndex": "Revocation Index"
|
|
791
|
+
"revocationIndex": "Revocation Index",
|
|
792
|
+
"addressIndex": "Address Index"
|
|
796
793
|
}
|
|
797
794
|
},
|
|
798
795
|
"verifiable-credential-unrevoke": {
|
|
@@ -810,13 +807,18 @@
|
|
|
810
807
|
"revocation-index": {
|
|
811
808
|
"param": "--revocation-index '<'revocation-index'>'",
|
|
812
809
|
"description": "The revocation index of the credential unrevoke."
|
|
810
|
+
},
|
|
811
|
+
"addressIndex": {
|
|
812
|
+
"param": "--address-index '<'index'>'",
|
|
813
|
+
"description": "The address index to use for the identity controller."
|
|
813
814
|
}
|
|
814
815
|
},
|
|
815
816
|
"progress": {
|
|
816
817
|
"unrevokingCredential": "Unrevoking Credential Index"
|
|
817
818
|
},
|
|
818
819
|
"labels": {
|
|
819
|
-
"revocationIndex": "Revocation Index"
|
|
820
|
+
"revocationIndex": "Revocation Index",
|
|
821
|
+
"addressIndex": "Address Index"
|
|
820
822
|
}
|
|
821
823
|
},
|
|
822
824
|
"proof-create": {
|
|
@@ -834,6 +836,10 @@
|
|
|
834
836
|
"document-filename": {
|
|
835
837
|
"param": "--document-filename '<'document-filename'>'",
|
|
836
838
|
"description": "The filename of a JSON-LD document to create the proof for."
|
|
839
|
+
},
|
|
840
|
+
"addressIndex": {
|
|
841
|
+
"param": "--address-index '<'index'>'",
|
|
842
|
+
"description": "The address index to use for the identity controller."
|
|
837
843
|
}
|
|
838
844
|
},
|
|
839
845
|
"progress": {
|
|
@@ -841,7 +847,8 @@
|
|
|
841
847
|
},
|
|
842
848
|
"labels": {
|
|
843
849
|
"documentFilename": "Document Filename",
|
|
844
|
-
"verificationMethodId": "Verification Method Id"
|
|
850
|
+
"verificationMethodId": "Verification Method Id",
|
|
851
|
+
"addressIndex": "Address Index"
|
|
845
852
|
}
|
|
846
853
|
},
|
|
847
854
|
"proof-verify": {
|
|
@@ -870,10 +877,9 @@
|
|
|
870
877
|
"errorMessages": {
|
|
871
878
|
"fetch": "Fetch"
|
|
872
879
|
},
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
"revoked": "Revoked"
|
|
880
|
+
"info": {
|
|
881
|
+
"iota": {
|
|
882
|
+
"transactionCosts": "Transaction costs for operation \"{operation}\", \"{cost}\""
|
|
883
|
+
}
|
|
878
884
|
}
|
|
879
885
|
}
|
|
@@ -11,6 +11,8 @@ export declare function buildCommandProofCreate(): Command;
|
|
|
11
11
|
* @param opts The options for the command.
|
|
12
12
|
* @param opts.id The id of the verification method to use for the credential.
|
|
13
13
|
* @param opts.privateKey The private key for the verification method.
|
|
14
|
+
* @param opts.documentFilename The filename of the document to create the proof for.
|
|
15
|
+
* @param opts.addressIndex The address index to use for key derivation (if applicable).
|
|
14
16
|
* @param opts.data The data to create the proof for.
|
|
15
17
|
* @param opts.connector The connector to perform the operations with.
|
|
16
18
|
* @param opts.node The node URL.
|
|
@@ -20,6 +22,7 @@ export declare function actionCommandProofCreate(opts: {
|
|
|
20
22
|
id: string;
|
|
21
23
|
privateKey: string;
|
|
22
24
|
documentFilename: string;
|
|
25
|
+
addressIndex?: string;
|
|
23
26
|
connector?: IdentityConnectorTypes;
|
|
24
27
|
node: string;
|
|
25
28
|
network?: string;
|
|
@@ -14,6 +14,7 @@ export declare function buildCommandServiceAdd(): Command;
|
|
|
14
14
|
* @param opts.id The id of the service to add.
|
|
15
15
|
* @param opts.type The type of the service to add.
|
|
16
16
|
* @param opts.endpoint The service endpoint.
|
|
17
|
+
* @param opts.addressIndex The address index to use for key derivation (if applicable).
|
|
17
18
|
* @param opts.connector The connector to perform the operations with.
|
|
18
19
|
* @param opts.node The node URL.
|
|
19
20
|
* @param opts.explorer The explorer URL.
|
|
@@ -24,6 +25,7 @@ export declare function actionCommandServiceAdd(opts: {
|
|
|
24
25
|
id: string;
|
|
25
26
|
type: string;
|
|
26
27
|
endpoint: string;
|
|
28
|
+
addressIndex?: string;
|
|
27
29
|
connector?: IdentityConnectorTypes;
|
|
28
30
|
node: string;
|
|
29
31
|
network?: string;
|
|
@@ -14,10 +14,12 @@ export declare function buildCommandServiceRemove(): Command;
|
|
|
14
14
|
* @param opts.node The node URL.
|
|
15
15
|
* @param opts.network The network to use for connector.
|
|
16
16
|
* @param opts.explorer The explorer URL.
|
|
17
|
+
* @param opts.addressIndex The address index to use for key derivation (if applicable).
|
|
17
18
|
*/
|
|
18
19
|
export declare function actionCommandServiceRemove(opts: {
|
|
19
20
|
seed: string;
|
|
20
21
|
id: string;
|
|
22
|
+
addressIndex?: string;
|
|
21
23
|
connector?: IdentityConnectorTypes;
|
|
22
24
|
node: string;
|
|
23
25
|
network?: string;
|
|
@@ -14,6 +14,7 @@ export declare function buildCommandVerifiableCredentialCreate(): Command;
|
|
|
14
14
|
* @param opts.credentialId The id of the credential.
|
|
15
15
|
* @param opts.subjectJson The JSON data for the subject.
|
|
16
16
|
* @param opts.revocationIndex The revocation index for the credential.
|
|
17
|
+
* @param opts.addressIndex The address index to use for key derivation (if applicable).
|
|
17
18
|
* @param opts.connector The connector to perform the operations with.
|
|
18
19
|
* @param opts.node The node URL.
|
|
19
20
|
*/
|
|
@@ -23,6 +24,7 @@ export declare function actionCommandVerifiableCredentialCreate(opts: {
|
|
|
23
24
|
credentialId?: string;
|
|
24
25
|
subjectJson: string;
|
|
25
26
|
revocationIndex?: string;
|
|
27
|
+
addressIndex?: string;
|
|
26
28
|
connector?: IdentityConnectorTypes;
|
|
27
29
|
node: string;
|
|
28
30
|
network?: string;
|
|
@@ -14,11 +14,13 @@ export declare function buildCommandVerifiableCredentialRevoke(): Command;
|
|
|
14
14
|
* @param opts.connector The connector to perform the operations with.
|
|
15
15
|
* @param opts.node The node URL.
|
|
16
16
|
* @param opts.network The network to use for connector.
|
|
17
|
+
* @param opts.addressIndex The address index to use for key derivation (if applicable).
|
|
17
18
|
*/
|
|
18
19
|
export declare function actionCommandVerifiableCredentialRevoke(opts: {
|
|
19
20
|
seed: string;
|
|
20
21
|
did: string;
|
|
21
22
|
revocationIndex: string;
|
|
23
|
+
addressIndex?: string;
|
|
22
24
|
connector?: IdentityConnectorTypes;
|
|
23
25
|
node: string;
|
|
24
26
|
network?: string;
|
|
@@ -14,11 +14,13 @@ export declare function buildCommandVerifiableCredentialUnrevoke(): Command;
|
|
|
14
14
|
* @param opts.connector The connector to perform the operations with.
|
|
15
15
|
* @param opts.node The node URL.
|
|
16
16
|
* @param opts.network The network to use for connector.
|
|
17
|
+
* @param opts.addressIndex The address index to use for key derivation (if applicable).
|
|
17
18
|
*/
|
|
18
19
|
export declare function actionCommandVerifiableCredentialUnrevoke(opts: {
|
|
19
20
|
seed: string;
|
|
20
21
|
did: string;
|
|
21
22
|
revocationIndex: string;
|
|
23
|
+
addressIndex?: string;
|
|
22
24
|
connector?: IdentityConnectorTypes;
|
|
23
25
|
node: string;
|
|
24
26
|
network?: string;
|
|
@@ -17,12 +17,15 @@ export declare function buildCommandVerificationMethodAdd(): Command;
|
|
|
17
17
|
* @param opts.connector The connector to perform the operations with.
|
|
18
18
|
* @param opts.node The node URL.
|
|
19
19
|
* @param opts.explorer The explorer URL.
|
|
20
|
+
* @param opts.network The network to use for connector.
|
|
21
|
+
* @param opts.addressIndex The address index to use for key derivation (if applicable).
|
|
20
22
|
*/
|
|
21
23
|
export declare function actionCommandVerificationMethodAdd(opts: {
|
|
22
24
|
seed: string;
|
|
23
25
|
did: string;
|
|
24
26
|
type: DidVerificationMethodType;
|
|
25
27
|
id?: string;
|
|
28
|
+
addressIndex?: string;
|
|
26
29
|
connector?: IdentityConnectorTypes;
|
|
27
30
|
node: string;
|
|
28
31
|
network?: string;
|
|
@@ -14,10 +14,12 @@ export declare function buildCommandVerificationMethodRemove(): Command;
|
|
|
14
14
|
* @param opts.node The node URL.
|
|
15
15
|
* @param opts.explorer The explorer URL.
|
|
16
16
|
* @param opts.network The network to use for connector.
|
|
17
|
+
* @param opts.addressIndex The address index to use for key derivation (if applicable).
|
|
17
18
|
*/
|
|
18
19
|
export declare function actionCommandVerificationMethodRemove(opts: {
|
|
19
20
|
seed: string;
|
|
20
21
|
id: string;
|
|
22
|
+
addressIndex?: string;
|
|
21
23
|
connector?: IdentityConnectorTypes;
|
|
22
24
|
node: string;
|
|
23
25
|
network?: string;
|