@twin.org/identity-cli 0.0.2-next.2 → 0.0.2-next.4

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.
@@ -701,7 +701,9 @@ async function actionCommandVerifiableCredentialCreate(opts) {
701
701
  cliCore.CLIDisplay.task(core.I18n.formatMessage("commands.verifiable-credential-create.progress.creatingVerifiableCredential"));
702
702
  cliCore.CLIDisplay.break();
703
703
  cliCore.CLIDisplay.spinnerStart();
704
- const verifiableCredential = await identityConnector.createVerifiableCredential(localIdentity, id, credentialId, jsonData, revocationIndex);
704
+ const verifiableCredential = await identityConnector.createVerifiableCredential(localIdentity, id, credentialId, jsonData, {
705
+ revocationIndex
706
+ });
705
707
  cliCore.CLIDisplay.spinnerStop();
706
708
  if (opts.console) {
707
709
  cliCore.CLIDisplay.section(core.I18n.formatMessage("commands.verifiable-credential-create.labels.verifiableCredential"));
@@ -1146,7 +1148,7 @@ class CLI extends cliCore.CLIBase {
1146
1148
  return this.execute({
1147
1149
  title: "TWIN Identity",
1148
1150
  appName: "twin-identity",
1149
- version: "0.0.2-next.2", // x-release-please-version
1151
+ version: "0.0.2-next.4", // x-release-please-version
1150
1152
  icon: "🌍",
1151
1153
  supportsEnvFiles: true,
1152
1154
  overrideOutputWidth: options?.overrideOutputWidth,
@@ -698,7 +698,9 @@ async function actionCommandVerifiableCredentialCreate(opts) {
698
698
  CLIDisplay.task(I18n.formatMessage("commands.verifiable-credential-create.progress.creatingVerifiableCredential"));
699
699
  CLIDisplay.break();
700
700
  CLIDisplay.spinnerStart();
701
- const verifiableCredential = await identityConnector.createVerifiableCredential(localIdentity, id, credentialId, jsonData, revocationIndex);
701
+ const verifiableCredential = await identityConnector.createVerifiableCredential(localIdentity, id, credentialId, jsonData, {
702
+ revocationIndex
703
+ });
702
704
  CLIDisplay.spinnerStop();
703
705
  if (opts.console) {
704
706
  CLIDisplay.section(I18n.formatMessage("commands.verifiable-credential-create.labels.verifiableCredential"));
@@ -1143,7 +1145,7 @@ class CLI extends CLIBase {
1143
1145
  return this.execute({
1144
1146
  title: "TWIN Identity",
1145
1147
  appName: "twin-identity",
1146
- version: "0.0.2-next.2", // x-release-please-version
1148
+ version: "0.0.2-next.4", // x-release-please-version
1147
1149
  icon: "🌍",
1148
1150
  supportsEnvFiles: true,
1149
1151
  overrideOutputWidth: options?.overrideOutputWidth,
@@ -323,6 +323,23 @@
323
323
  "gasReservationFailed": "The gas reservation failed",
324
324
  "gasStationExecutionFailed": "The gas station execution failed"
325
325
  },
326
+ "iotaSmartContractUtils": {
327
+ "migrationFailed": "Smart contract migration failed",
328
+ "migrateSmartContractFailed": "Failed to migrate smart contract for object \"{objectId}\"",
329
+ "enableMigrationFailed": "Failed to enable migration for smart contract",
330
+ "disableMigrationFailed": "Failed to disable migration for smart contract",
331
+ "migrationStateNotReadable": "Cannot read migration state for ID \"{migrationStateId}\"",
332
+ "isMigrationActiveFailed": "Failed to check if migration is active",
333
+ "invalidVersionData": "Invalid version data received from smart contract",
334
+ "getCurrentContractVersionNoData": "No version data returned from contract",
335
+ "getCurrentContractVersionFailed": "Failed to get current contract version",
336
+ "objectNotReadable": "Cannot read object with ID \"{objectId}\"",
337
+ "objectInvalidFormat": "Object \"{objectId}\" has invalid format",
338
+ "validateObjectVersionFailed": "Failed to validate object version for \"{objectId}\"",
339
+ "getContractObjectIdsFailed": "Failed to get contract object IDs for namespace \"{namespace}\" on network \"{network}\"",
340
+ "adminCapNotFound": "AdminCap object not found for type \"{adminCapType}\" and address \"{adminAddress}\"",
341
+ "migrationStateNotFound": "MigrationState object not found for type \"{migrationStateType}\" and address \"{adminAddress}\""
342
+ },
326
343
  "vaultConnectorHelper": {
327
344
  "invalidSignature": "The JSON Web token signature could not be verified"
328
345
  },
package/docs/changelog.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @twin.org/identity-cli - Changelog
2
2
 
3
+ ## [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)
4
+
5
+
6
+ ### Features
7
+
8
+ * add expiration date option to vc creation ([73e05e1](https://github.com/twinfoundation/identity/commit/73e05e1ae61112c7e056889969751f4ff82d9f29))
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.3 to 0.0.2-next.4
16
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.3 to 0.0.2-next.4
17
+
18
+ ## [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)
19
+
20
+
21
+ ### Features
22
+
23
+ * eslint migration to flat config ([fd6246d](https://github.com/twinfoundation/identity/commit/fd6246d566280b6d5d10a108eb1e92c4b510f2f2))
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.2 to 0.0.2-next.3
31
+ * @twin.org/identity-connector-iota bumped from 0.0.2-next.2 to 0.0.2-next.3
32
+
3
33
  ## [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)
4
34
 
5
35
 
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/identity-cli",
3
- "version": "0.0.2-next.2",
3
+ "version": "0.0.2-next.4",
4
4
  "description": "A command line interface for interacting with the identity connectors",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,8 +21,8 @@
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.2-next.2",
25
- "@twin.org/identity-models": "0.0.2-next.2",
24
+ "@twin.org/identity-connector-iota": "0.0.2-next.4",
25
+ "@twin.org/identity-models": "0.0.2-next.4",
26
26
  "@twin.org/nameof": "next",
27
27
  "@twin.org/standards-w3c-did": "next",
28
28
  "@twin.org/vault-connector-entity-storage": "next",