@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/docs/changelog.md CHANGED
@@ -1,5 +1,169 @@
1
1
  # @twin.org/identity-cli - Changelog
2
2
 
3
+ ## [0.0.2-next.10](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.9...identity-cli-v0.0.2-next.10) (2025-10-27)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **identity-cli:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/identity-models bumped from 0.0.2-next.9 to 0.0.2-next.10
16
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.9 to 0.0.2-next.10
17
+
18
+ ## [0.0.2-next.9](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.8...identity-cli-v0.0.2-next.9) (2025-10-09)
19
+
20
+
21
+ ### Features
22
+
23
+ * add validate-locales ([04d74b4](https://github.com/twinfoundation/identity/commit/04d74b4d1ebe42672e8ca75a7bdb8e3556afd0be))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * The following workspace dependencies were updated
29
+ * dependencies
30
+ * @twin.org/identity-models bumped from 0.0.2-next.8 to 0.0.2-next.9
31
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.8 to 0.0.2-next.9
32
+
33
+ ## [0.0.2-next.8](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.7...identity-cli-v0.0.2-next.8) (2025-09-25)
34
+
35
+
36
+ ### Miscellaneous Chores
37
+
38
+ * **identity-cli:** Synchronize repo versions
39
+
40
+
41
+ ### Dependencies
42
+
43
+ * The following workspace dependencies were updated
44
+ * dependencies
45
+ * @twin.org/identity-models bumped from 0.0.2-next.7 to 0.0.2-next.8
46
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.7 to 0.0.2-next.8
47
+
48
+ ## [0.0.2-next.7](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.6...identity-cli-v0.0.2-next.7) (2025-09-23)
49
+
50
+
51
+ ### Miscellaneous Chores
52
+
53
+ * **identity-cli:** Synchronize repo versions
54
+
55
+
56
+ ### Dependencies
57
+
58
+ * The following workspace dependencies were updated
59
+ * dependencies
60
+ * @twin.org/identity-models bumped from 0.0.2-next.6 to 0.0.2-next.7
61
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.6 to 0.0.2-next.7
62
+
63
+ ## [0.0.2-next.6](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.5...identity-cli-v0.0.2-next.6) (2025-09-23)
64
+
65
+
66
+ ### Miscellaneous Chores
67
+
68
+ * **identity-cli:** Synchronize repo versions
69
+
70
+
71
+ ### Dependencies
72
+
73
+ * The following workspace dependencies were updated
74
+ * dependencies
75
+ * @twin.org/identity-models bumped from 0.0.2-next.5 to 0.0.2-next.6
76
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.5 to 0.0.2-next.6
77
+
78
+ ## [0.0.2-next.5](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.4...identity-cli-v0.0.2-next.5) (2025-09-15)
79
+
80
+
81
+ ### Features
82
+
83
+ * add addressIndex option to all commands ([a644674](https://github.com/twinfoundation/identity/commit/a644674017d1a8fe5d8685950316bec922a9b195))
84
+
85
+
86
+ ### Dependencies
87
+
88
+ * The following workspace dependencies were updated
89
+ * dependencies
90
+ * @twin.org/identity-models bumped from 0.0.2-next.4 to 0.0.2-next.5
91
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.4 to 0.0.2-next.5
92
+
93
+ ## [0.0.2-next.4](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.3...identity-cli-v0.0.2-next.4) (2025-09-12)
94
+
95
+
96
+ ### Features
97
+
98
+ * add expiration date option to vc creation ([73e05e1](https://github.com/twinfoundation/identity/commit/73e05e1ae61112c7e056889969751f4ff82d9f29))
99
+
100
+
101
+ ### Dependencies
102
+
103
+ * The following workspace dependencies were updated
104
+ * dependencies
105
+ * @twin.org/identity-models bumped from 0.0.2-next.3 to 0.0.2-next.4
106
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.3 to 0.0.2-next.4
107
+
108
+ ## [0.0.2-next.3](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.2...identity-cli-v0.0.2-next.3) (2025-08-29)
109
+
110
+
111
+ ### Features
112
+
113
+ * eslint migration to flat config ([fd6246d](https://github.com/twinfoundation/identity/commit/fd6246d566280b6d5d10a108eb1e92c4b510f2f2))
114
+
115
+
116
+ ### Dependencies
117
+
118
+ * The following workspace dependencies were updated
119
+ * dependencies
120
+ * @twin.org/identity-models bumped from 0.0.2-next.2 to 0.0.2-next.3
121
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.2 to 0.0.2-next.3
122
+
123
+ ## [0.0.2-next.2](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.1...identity-cli-v0.0.2-next.2) (2025-08-20)
124
+
125
+
126
+ ### Features
127
+
128
+ * update framework core ([c824497](https://github.com/twinfoundation/identity/commit/c82449709af0215eb7af496cf687c93fb30b5ae0))
129
+
130
+
131
+ ### Dependencies
132
+
133
+ * The following workspace dependencies were updated
134
+ * dependencies
135
+ * @twin.org/identity-models bumped from 0.0.2-next.1 to 0.0.2-next.2
136
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.1 to 0.0.2-next.2
137
+
138
+ ## [0.0.2-next.1](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.2-next.0...identity-cli-v0.0.2-next.1) (2025-08-18)
139
+
140
+
141
+ ### Features
142
+
143
+ * add mainnet support ([af56a38](https://github.com/twinfoundation/identity/commit/af56a382837896cd4e13d5814c0924c46658b99c))
144
+ * identity key separator use slash ([1319d0d](https://github.com/twinfoundation/identity/commit/1319d0d07164a36b3ec279e6421b8835ffefc3d3))
145
+ * iota rebased release ([5d14674](https://github.com/twinfoundation/identity/commit/5d146744ca9eed622ef7eb34a7fa935216f9e975))
146
+ * support mainnet for alias extraction ([1114e0f](https://github.com/twinfoundation/identity/commit/1114e0f518070ef930d7d6ed73a616cce647206c))
147
+ * use new generateKid method ([f0fe779](https://github.com/twinfoundation/identity/commit/f0fe779323b675575bb9f80aa74f1957dc57a094))
148
+ * use shared store mechanism ([#27](https://github.com/twinfoundation/identity/issues/27)) ([ce41f3f](https://github.com/twinfoundation/identity/commit/ce41f3fc3da1b206ec06da7ea5b2c968f788804d))
149
+ * verification method output JWK and hex on CLI ([49db9da](https://github.com/twinfoundation/identity/commit/49db9da2371eafdcd7176ce44303961b9b8b8380))
150
+
151
+
152
+ ### Bug Fixes
153
+
154
+ * correctly display mainnet explorer urls ([45a9f3c](https://github.com/twinfoundation/identity/commit/45a9f3cc041cce7b40a86e98df306931a95f48ea))
155
+ * explorer urls in CLI ([82a745d](https://github.com/twinfoundation/identity/commit/82a745d536e8fe42554e7ad92a7468a653fc0cfb))
156
+ * Import path and bump version ([#21](https://github.com/twinfoundation/identity/issues/21)) ([ccea845](https://github.com/twinfoundation/identity/commit/ccea845bf32562267280bc1b3dde1c9af1a00360))
157
+ * Install sdk-wasm ([#20](https://github.com/twinfoundation/identity/issues/20)) ([75ec14e](https://github.com/twinfoundation/identity/commit/75ec14e072f8c219863a1c028a3b0783802086e9))
158
+
159
+
160
+ ### Dependencies
161
+
162
+ * The following workspace dependencies were updated
163
+ * dependencies
164
+ * @twin.org/identity-models bumped from 0.0.2-next.0 to 0.0.2-next.1
165
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.0 to 0.0.2-next.1
166
+
3
167
  ## 0.0.1 (2025-07-08)
4
168
 
5
169
 
@@ -22,6 +22,12 @@ The private key for the controller.
22
22
 
23
23
  The id of the service to remove.
24
24
 
25
+ #### addressIndex?
26
+
27
+ `string`
28
+
29
+ The address index to use for key derivation (if applicable).
30
+
25
31
  #### connector?
26
32
 
27
33
  `"iota"`
@@ -28,6 +28,12 @@ The id of the document to revoke the index.
28
28
 
29
29
  The revocation index for the credential.
30
30
 
31
+ #### addressIndex?
32
+
33
+ `string`
34
+
35
+ The address index to use for key derivation (if applicable).
36
+
31
37
  #### connector?
32
38
 
33
39
  `"iota"`
@@ -28,6 +28,12 @@ The id of the document to unrevoke the index.
28
28
 
29
29
  The revocation index for the credential.
30
30
 
31
+ #### addressIndex?
32
+
33
+ `string`
34
+
35
+ The address index to use for key derivation (if applicable).
36
+
31
37
  #### connector?
32
38
 
33
39
  `"iota"`
@@ -22,6 +22,12 @@ The private key for the controller.
22
22
 
23
23
  The id of the verification method to remove.
24
24
 
25
+ #### addressIndex?
26
+
27
+ `string`
28
+
29
+ The address index to use for key derivation (if applicable).
30
+
25
31
  #### connector?
26
32
 
27
33
  `"iota"`
@@ -4,7 +4,7 @@
4
4
 
5
5
  The identity connector types.
6
6
 
7
- ## Type declaration
7
+ ## Type Declaration
8
8
 
9
9
  ### Iota
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  The identity resolver connector types.
6
6
 
7
- ## Type declaration
7
+ ## Type Declaration
8
8
 
9
9
  ### Iota
10
10
 
package/locales/en.json CHANGED
@@ -5,6 +5,9 @@
5
5
  "subjectJsonFileNotFound": "The subject JSON file was not found."
6
6
  },
7
7
  "proof-create": {
8
+ "documentJsonFileNotFound": "The document JSON file was not found."
9
+ },
10
+ "proof-verify": {
8
11
  "documentJsonFileNotFound": "The document JSON file was not found.",
9
12
  "proofJsonFileNotFound": "The proof JSON file was not found."
10
13
  }
@@ -67,6 +70,10 @@
67
70
  "id": {
68
71
  "param": "--id '<'id'>'",
69
72
  "description": "The optional id of verification method to add, if not provided one will be generated."
73
+ },
74
+ "addressIndex": {
75
+ "param": "--address-index '<'index'>'",
76
+ "description": "The address index to use for the identity controller."
70
77
  }
71
78
  },
72
79
  "progress": {
@@ -79,7 +86,8 @@
79
86
  "publicKeyBase64": "Public Key Base64",
80
87
  "privateKeyHex": "Private Key Hex",
81
88
  "publicKeyHex": "Public Key Hex",
82
- "kid": "Key Id"
89
+ "kid": "Key Id",
90
+ "addressIndex": "Address Index"
83
91
  }
84
92
  },
85
93
  "verification-method-remove": {
@@ -90,20 +98,21 @@
90
98
  "param": "--seed '<'seed'>'",
91
99
  "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."
92
100
  },
93
- "did": {
94
- "param": "--did '<'did'>'",
95
- "description": "The identifier to remove the verification method from, or start with ! to read environment variable."
96
- },
97
101
  "id": {
98
102
  "param": "--id '<'id'>'",
99
103
  "description": "The id of verification method to remove."
104
+ },
105
+ "addressIndex": {
106
+ "param": "--address-index '<'index'>'",
107
+ "description": "The address index to use for the identity controller."
100
108
  }
101
109
  },
102
110
  "progress": {
103
111
  "removingVerificationMethod": "Removing Verification Method"
104
112
  },
105
113
  "labels": {
106
- "verificationMethodId": "Verification Method Id"
114
+ "verificationMethodId": "Verification Method Id",
115
+ "addressIndex": "Address Index"
107
116
  }
108
117
  },
109
118
  "service-add": {
@@ -129,6 +138,10 @@
129
138
  "endpoint": {
130
139
  "param": "--endpoint '<'endpoint'>'",
131
140
  "description": "The service endpoint to add."
141
+ },
142
+ "addressIndex": {
143
+ "param": "--address-index '<'index'>'",
144
+ "description": "The address index to use for the identity controller."
132
145
  }
133
146
  },
134
147
  "progress": {
@@ -137,7 +150,8 @@
137
150
  "labels": {
138
151
  "serviceId": "Service Id",
139
152
  "serviceType": "Service Type",
140
- "serviceEndpoint": "Service Endpoint"
153
+ "serviceEndpoint": "Service Endpoint",
154
+ "addressIndex": "Address Index"
141
155
  }
142
156
  },
143
157
  "service-remove": {
@@ -151,13 +165,18 @@
151
165
  "id": {
152
166
  "param": "--id '<'id'>'",
153
167
  "description": "The id of service to remove."
168
+ },
169
+ "addressIndex": {
170
+ "param": "--address-index '<'index'>'",
171
+ "description": "The address index to use for the identity controller."
154
172
  }
155
173
  },
156
174
  "progress": {
157
175
  "removingService": "Removing Service"
158
176
  },
159
177
  "labels": {
160
- "serviceId": "Service Id"
178
+ "serviceId": "Service Id",
179
+ "addressIndex": "Address Index"
161
180
  }
162
181
  },
163
182
  "verifiable-credential-create": {
@@ -183,6 +202,10 @@
183
202
  "revocation-index": {
184
203
  "param": "--revocation-index '<'revocation-index'>'",
185
204
  "description": "The revocation index in the issuing document to use if revoking the credential."
205
+ },
206
+ "addressIndex": {
207
+ "param": "--address-index '<'index'>'",
208
+ "description": "The address index to use for the identity controller."
186
209
  }
187
210
  },
188
211
  "progress": {
@@ -194,7 +217,8 @@
194
217
  "credentialId": "Credential Id",
195
218
  "subjectJson": "Subject JSON",
196
219
  "revocationIndex": "Revocation Index",
197
- "verifiableCredential": "Verifiable Credential"
220
+ "verifiableCredential": "Verifiable Credential",
221
+ "addressIndex": "Address Index"
198
222
  }
199
223
  },
200
224
  "verifiable-credential-verify": {
@@ -230,13 +254,18 @@
230
254
  "revocation-index": {
231
255
  "param": "--revocation-index '<'revocation-index'>'",
232
256
  "description": "The revocation index of the credential revoke."
257
+ },
258
+ "addressIndex": {
259
+ "param": "--address-index '<'index'>'",
260
+ "description": "The address index to use for the identity controller."
233
261
  }
234
262
  },
235
263
  "progress": {
236
264
  "revokingCredential": "Revoking Credential Index"
237
265
  },
238
266
  "labels": {
239
- "revocationIndex": "Revocation Index"
267
+ "revocationIndex": "Revocation Index",
268
+ "addressIndex": "Address Index"
240
269
  }
241
270
  },
242
271
  "verifiable-credential-unrevoke": {
@@ -254,13 +283,18 @@
254
283
  "revocation-index": {
255
284
  "param": "--revocation-index '<'revocation-index'>'",
256
285
  "description": "The revocation index of the credential unrevoke."
286
+ },
287
+ "addressIndex": {
288
+ "param": "--address-index '<'index'>'",
289
+ "description": "The address index to use for the identity controller."
257
290
  }
258
291
  },
259
292
  "progress": {
260
293
  "unrevokingCredential": "Unrevoking Credential Index"
261
294
  },
262
295
  "labels": {
263
- "revocationIndex": "Revocation Index"
296
+ "revocationIndex": "Revocation Index",
297
+ "addressIndex": "Address Index"
264
298
  }
265
299
  },
266
300
  "proof-create": {
@@ -278,6 +312,10 @@
278
312
  "document-filename": {
279
313
  "param": "--document-filename '<'document-filename'>'",
280
314
  "description": "The filename of a JSON-LD document to create the proof for."
315
+ },
316
+ "addressIndex": {
317
+ "param": "--address-index '<'index'>'",
318
+ "description": "The address index to use for the identity controller."
281
319
  }
282
320
  },
283
321
  "progress": {
@@ -285,7 +323,8 @@
285
323
  },
286
324
  "labels": {
287
325
  "documentFilename": "Document Filename",
288
- "verificationMethodId": "Verification Method Id"
326
+ "verificationMethodId": "Verification Method Id",
327
+ "addressIndex": "Address Index"
289
328
  }
290
329
  },
291
330
  "proof-verify": {
@@ -323,6 +362,10 @@
323
362
  "network": {
324
363
  "param": "--network '<'network'>'",
325
364
  "description": "The network to use for the identity operation."
365
+ },
366
+ "explorer": {
367
+ "param": "--explorer '<'url'>'",
368
+ "description": "The url for the explorer endpoint, or an environment variable name containing the url."
326
369
  }
327
370
  },
328
371
  "labels": {
@@ -330,7 +373,6 @@
330
373
  "node": "Node",
331
374
  "explorer": "Explorer",
332
375
  "explore": "Explore",
333
- "connector": "Connector",
334
376
  "network": "Network"
335
377
  }
336
378
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/identity-cli",
3
- "version": "0.0.1",
3
+ "version": "0.0.2-next.10",
4
4
  "description": "A command line interface for interacting with the identity connectors",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,24 +14,24 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/cli-core": "^0.0.1",
18
- "@twin.org/core": "^0.0.1",
19
- "@twin.org/crypto": "^0.0.1",
20
- "@twin.org/crypto-cli": "^0.0.1",
21
- "@twin.org/data-json-ld": "^0.0.1",
22
- "@twin.org/entity": "^0.0.1",
23
- "@twin.org/entity-storage-connector-memory": "^0.0.1",
24
- "@twin.org/identity-connector-iota": "^0.0.1",
25
- "@twin.org/identity-models": "^0.0.1",
26
- "@twin.org/nameof": "^0.0.1",
27
- "@twin.org/standards-w3c-did": "^0.0.1",
28
- "@twin.org/vault-connector-entity-storage": "^0.0.1",
29
- "@twin.org/vault-models": "^0.0.1",
30
- "@twin.org/wallet-cli": "^0.0.1",
31
- "@twin.org/wallet-connector-iota": "^0.0.1",
32
- "@twin.org/wallet-models": "^0.0.1",
33
- "@twin.org/web": "^0.0.1",
34
- "commander": "14.0.0"
17
+ "@twin.org/cli-core": "next",
18
+ "@twin.org/core": "next",
19
+ "@twin.org/crypto": "next",
20
+ "@twin.org/crypto-cli": "next",
21
+ "@twin.org/data-json-ld": "next",
22
+ "@twin.org/entity": "next",
23
+ "@twin.org/entity-storage-connector-memory": "next",
24
+ "@twin.org/identity-connector-iota": "0.0.2-next.10",
25
+ "@twin.org/identity-models": "0.0.2-next.10",
26
+ "@twin.org/nameof": "next",
27
+ "@twin.org/standards-w3c-did": "next",
28
+ "@twin.org/vault-connector-entity-storage": "next",
29
+ "@twin.org/vault-models": "next",
30
+ "@twin.org/wallet-cli": "next",
31
+ "@twin.org/wallet-connector-iota": "next",
32
+ "@twin.org/wallet-models": "next",
33
+ "@twin.org/web": "next",
34
+ "commander": "14.0.1"
35
35
  },
36
36
  "main": "./dist/cjs/index.cjs",
37
37
  "module": "./dist/esm/index.mjs",
@@ -54,5 +54,20 @@
54
54
  ],
55
55
  "bin": {
56
56
  "twin-identity": "bin/index.js"
57
- }
57
+ },
58
+ "keywords": [
59
+ "twin",
60
+ "trade",
61
+ "iota",
62
+ "framework",
63
+ "blockchain",
64
+ "identity",
65
+ "did",
66
+ "credentials",
67
+ "authentication"
68
+ ],
69
+ "bugs": {
70
+ "url": "git+https://github.com/twinfoundation/identity/issues"
71
+ },
72
+ "homepage": "https://twindev.org"
58
73
  }