@twin.org/identity-cli 0.0.1-next.49 → 0.0.1-next.50

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.
@@ -1022,7 +1022,12 @@ async function actionCommandVerificationMethodAdd(opts) {
1022
1022
  cliCore.CLIDisplay.break();
1023
1023
  }
1024
1024
  if (core.Is.stringValue(opts?.json)) {
1025
- await cliCore.CLIUtils.writeJsonFile(opts.json, await web.Jwk.fromEd25519Private(keyPair.privateKey), opts.mergeJson);
1025
+ const jwk = await web.Jwk.fromEd25519Private(keyPair.privateKey);
1026
+ const kid = await web.Jwk.generateKid(jwk);
1027
+ await cliCore.CLIUtils.writeJsonFile(opts.json, {
1028
+ kid,
1029
+ ...jwk
1030
+ }, opts.mergeJson);
1026
1031
  }
1027
1032
  if (core.Is.stringValue(opts?.env)) {
1028
1033
  await cliCore.CLIUtils.writeEnvFile(opts.env, [
@@ -1139,7 +1144,7 @@ class CLI extends cliCore.CLIBase {
1139
1144
  return this.execute({
1140
1145
  title: "TWIN Identity",
1141
1146
  appName: "twin-identity",
1142
- version: "0.0.1-next.49", // x-release-please-version
1147
+ version: "0.0.1-next.50", // x-release-please-version
1143
1148
  icon: "🌍",
1144
1149
  supportsEnvFiles: true,
1145
1150
  overrideOutputWidth: options?.overrideOutputWidth
@@ -1019,7 +1019,12 @@ async function actionCommandVerificationMethodAdd(opts) {
1019
1019
  CLIDisplay.break();
1020
1020
  }
1021
1021
  if (Is.stringValue(opts?.json)) {
1022
- await CLIUtils.writeJsonFile(opts.json, await Jwk.fromEd25519Private(keyPair.privateKey), opts.mergeJson);
1022
+ const jwk = await Jwk.fromEd25519Private(keyPair.privateKey);
1023
+ const kid = await Jwk.generateKid(jwk);
1024
+ await CLIUtils.writeJsonFile(opts.json, {
1025
+ kid,
1026
+ ...jwk
1027
+ }, opts.mergeJson);
1023
1028
  }
1024
1029
  if (Is.stringValue(opts?.env)) {
1025
1030
  await CLIUtils.writeEnvFile(opts.env, [
@@ -1136,7 +1141,7 @@ class CLI extends CLIBase {
1136
1141
  return this.execute({
1137
1142
  title: "TWIN Identity",
1138
1143
  appName: "twin-identity",
1139
- version: "0.0.1-next.49", // x-release-please-version
1144
+ version: "0.0.1-next.50", // x-release-please-version
1140
1145
  icon: "🌍",
1141
1146
  supportsEnvFiles: true,
1142
1147
  overrideOutputWidth: options?.overrideOutputWidth
@@ -300,7 +300,10 @@
300
300
  "packageObjectError": "Failed to fetch the package object \"{packageId}\"",
301
301
  "valueTransactionFailed": "The value transaction failed",
302
302
  "transactionFailed": "The transaction failed",
303
- "addressNotFound": "The address is missing could not be found from the seed \"{address}\""
303
+ "addressNotFound": "The address is missing could not be found from the seed \"{address}\"",
304
+ "gasStationTransactionFailed": "The gas station transaction failed",
305
+ "gasReservationFailed": "The gas reservation failed",
306
+ "gasStationExecutionFailed": "The gas station execution failed"
304
307
  },
305
308
  "vaultConnectorHelper": {
306
309
  "invalidSignature": "The JSON Web token signature could not be verified"
package/docs/changelog.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @twin.org/identity-cli - Changelog
2
2
 
3
+ ## [0.0.1-next.50](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.1-next.49...identity-cli-v0.0.1-next.50) (2025-06-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * use new generateKid method ([f0fe779](https://github.com/twinfoundation/identity/commit/f0fe779323b675575bb9f80aa74f1957dc57a094))
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.49 to 0.0.1-next.50
16
+ * @twin.org/identity-connector-iota bumped from 0.0.1-next.49 to 0.0.1-next.50
17
+
3
18
  ## [0.0.1-next.49](https://github.com/twinfoundation/identity/compare/identity-cli-v0.0.1-next.48...identity-cli-v0.0.1-next.49) (2025-06-18)
4
19
 
5
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/identity-cli",
3
- "version": "0.0.1-next.49",
3
+ "version": "0.0.1-next.50",
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.1-next.49",
25
- "@twin.org/identity-models": "0.0.1-next.49",
24
+ "@twin.org/identity-connector-iota": "0.0.1-next.50",
25
+ "@twin.org/identity-models": "0.0.1-next.50",
26
26
  "@twin.org/nameof": "next",
27
27
  "@twin.org/standards-w3c-did": "next",
28
28
  "@twin.org/vault-connector-entity-storage": "next",