@twin.org/crypto-cli 0.9.1-next.1 → 0.9.1-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/es/cli.js CHANGED
@@ -21,7 +21,7 @@ export class CLI extends CLIBase {
21
21
  return this.execute({
22
22
  title: "TWIN Crypto",
23
23
  appName: "twin-crypto",
24
- version: "0.9.1-next.1", // x-release-please-version
24
+ version: "0.9.1-next.10", // x-release-please-version
25
25
  icon: "🔒",
26
26
  supportsEnvFiles: true,
27
27
  overrideOutputWidth: options?.overrideOutputWidth,
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,OAAO;IAC/B;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACf,IAAc,EACd,gBAAyB,EACzB,OAA0C;QAE1C,OAAO,IAAI,CAAC,OAAO,CAClB;YACC,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,aAAa;YACtB,OAAO,EAAE,cAAc,EAAE,2BAA2B;YACpD,IAAI,EAAE,IAAI;YACV,gBAAgB,EAAE,IAAI;YACtB,mBAAmB,EAAE,OAAO,EAAE,mBAAmB;YACjD,kBAAkB,EAAE,IAAI;SACxB,EACD,gBAAgB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,YAAY,CAAC,EACzF,IAAI,CACJ,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACO,WAAW,CAAC,OAAgB;QACrC,OAAO,CAAC,oBAAoB,EAAE,EAAE,mBAAmB,EAAE,CAAC,CAAC;IACxD,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { CLIBase } from \"@twin.org/cli-core\";\nimport type { Command } from \"commander\";\nimport { buildCommandAddress } from \"./commands/address.js\";\nimport { buildCommandMnemonic } from \"./commands/mnemonic.js\";\n\n/**\n * The main entry point for the CLI.\n */\nexport class CLI extends CLIBase {\n\t/**\n\t * Run the app.\n\t * @param argv The process arguments.\n\t * @param localesDirectory The directory for the locales, default to relative to the script.\n\t * @param options Additional options.\n\t * @param options.overrideOutputWidth Override the output width.\n\t * @returns The exit code.\n\t */\n\tpublic async run(\n\t\targv: string[],\n\t\tlocalesDirectory?: string,\n\t\toptions?: { overrideOutputWidth?: number }\n\t): Promise<number> {\n\t\treturn this.execute(\n\t\t\t{\n\t\t\t\ttitle: \"TWIN Crypto\",\n\t\t\t\tappName: \"twin-crypto\",\n\t\t\t\tversion: \"0.9.1-next.1\", // x-release-please-version\n\t\t\t\ticon: \"🔒\",\n\t\t\t\tsupportsEnvFiles: true,\n\t\t\t\toverrideOutputWidth: options?.overrideOutputWidth,\n\t\t\t\tshowDevToolWarning: true\n\t\t\t},\n\t\t\tlocalesDirectory ?? path.join(path.dirname(fileURLToPath(import.meta.url)), \"../locales\"),\n\t\t\targv\n\t\t);\n\t}\n\n\t/**\n\t * Get the commands for the CLI.\n\t * @param program The main program to add the commands to.\n\t * @returns The commands to register with the CLI program.\n\t * @internal\n\t */\n\tprotected getCommands(program: Command): Command[] {\n\t\treturn [buildCommandMnemonic(), buildCommandAddress()];\n\t}\n}\n"]}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,OAAO;IAC/B;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACf,IAAc,EACd,gBAAyB,EACzB,OAA0C;QAE1C,OAAO,IAAI,CAAC,OAAO,CAClB;YACC,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,aAAa;YACtB,OAAO,EAAE,eAAe,EAAE,2BAA2B;YACrD,IAAI,EAAE,IAAI;YACV,gBAAgB,EAAE,IAAI;YACtB,mBAAmB,EAAE,OAAO,EAAE,mBAAmB;YACjD,kBAAkB,EAAE,IAAI;SACxB,EACD,gBAAgB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,YAAY,CAAC,EACzF,IAAI,CACJ,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACO,WAAW,CAAC,OAAgB;QACrC,OAAO,CAAC,oBAAoB,EAAE,EAAE,mBAAmB,EAAE,CAAC,CAAC;IACxD,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { CLIBase } from \"@twin.org/cli-core\";\nimport type { Command } from \"commander\";\nimport { buildCommandAddress } from \"./commands/address.js\";\nimport { buildCommandMnemonic } from \"./commands/mnemonic.js\";\n\n/**\n * The main entry point for the CLI.\n */\nexport class CLI extends CLIBase {\n\t/**\n\t * Run the app.\n\t * @param argv The process arguments.\n\t * @param localesDirectory The directory for the locales, default to relative to the script.\n\t * @param options Additional options.\n\t * @param options.overrideOutputWidth Override the output width.\n\t * @returns The exit code.\n\t */\n\tpublic async run(\n\t\targv: string[],\n\t\tlocalesDirectory?: string,\n\t\toptions?: { overrideOutputWidth?: number }\n\t): Promise<number> {\n\t\treturn this.execute(\n\t\t\t{\n\t\t\t\ttitle: \"TWIN Crypto\",\n\t\t\t\tappName: \"twin-crypto\",\n\t\t\t\tversion: \"0.9.1-next.10\", // x-release-please-version\n\t\t\t\ticon: \"🔒\",\n\t\t\t\tsupportsEnvFiles: true,\n\t\t\t\toverrideOutputWidth: options?.overrideOutputWidth,\n\t\t\t\tshowDevToolWarning: true\n\t\t\t},\n\t\t\tlocalesDirectory ?? path.join(path.dirname(fileURLToPath(import.meta.url)), \"../locales\"),\n\t\t\targv\n\t\t);\n\t}\n\n\t/**\n\t * Get the commands for the CLI.\n\t * @param program The main program to add the commands to.\n\t * @returns The commands to register with the CLI program.\n\t * @internal\n\t */\n\tprotected getCommands(program: Command): Command[] {\n\t\treturn [buildCommandMnemonic(), buildCommandAddress()];\n\t}\n}\n"]}
@@ -88,6 +88,8 @@
88
88
  "uint8Array": "Property \"{property}\" must be a Uint8Array, it is \"{value}\"",
89
89
  "function": "Property \"{property}\" must be a function, it is \"{value}\"",
90
90
  "urn": "Property \"{property}\" must be a URN formatted string, it is \"{value}\"",
91
+ "urnNamespaceIdentifier": "Property \"{property}\" must be a URN with namespace identifier \"{options}\", it is \"{value}\"",
92
+ "urnNamespaceSpecific": "Property \"{property}\" must be a URN with namespace specific \"{options}\", it is \"{value}\"",
91
93
  "url": "Property \"{property}\" must be a URL formatted string, it is \"{value}\"",
92
94
  "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
93
95
  "uuidV7": "Property \"{property}\" must be a UUIDv7 formatted string, it is \"{value}\"",
package/docs/changelog.md CHANGED
@@ -1,5 +1,214 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.1-next.10](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.9...crypto-cli-v0.9.1-next.10) (2026-07-20)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **crypto-cli:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/cli-core bumped from 0.9.1-next.9 to 0.9.1-next.10
16
+ * @twin.org/core bumped from 0.9.1-next.9 to 0.9.1-next.10
17
+ * @twin.org/crypto bumped from 0.9.1-next.9 to 0.9.1-next.10
18
+ * @twin.org/nameof bumped from 0.9.1-next.9 to 0.9.1-next.10
19
+ * devDependencies
20
+ * @twin.org/merge-locales bumped from 0.9.1-next.9 to 0.9.1-next.10
21
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.9 to 0.9.1-next.10
22
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.9 to 0.9.1-next.10
23
+ * @twin.org/validate-locales bumped from 0.9.1-next.9 to 0.9.1-next.10
24
+
25
+ ## [0.9.1-next.9](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.8...crypto-cli-v0.9.1-next.9) (2026-07-20)
26
+
27
+
28
+ ### Miscellaneous Chores
29
+
30
+ * **crypto-cli:** Synchronize repo versions
31
+
32
+
33
+ ### Dependencies
34
+
35
+ * The following workspace dependencies were updated
36
+ * dependencies
37
+ * @twin.org/cli-core bumped from 0.9.1-next.8 to 0.9.1-next.9
38
+ * @twin.org/core bumped from 0.9.1-next.8 to 0.9.1-next.9
39
+ * @twin.org/crypto bumped from 0.9.1-next.8 to 0.9.1-next.9
40
+ * @twin.org/nameof bumped from 0.9.1-next.8 to 0.9.1-next.9
41
+ * devDependencies
42
+ * @twin.org/merge-locales bumped from 0.9.1-next.8 to 0.9.1-next.9
43
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.8 to 0.9.1-next.9
44
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.8 to 0.9.1-next.9
45
+ * @twin.org/validate-locales bumped from 0.9.1-next.8 to 0.9.1-next.9
46
+
47
+ ## [0.9.1-next.8](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.7...crypto-cli-v0.9.1-next.8) (2026-07-20)
48
+
49
+
50
+ ### Miscellaneous Chores
51
+
52
+ * **crypto-cli:** Synchronize repo versions
53
+
54
+
55
+ ### Dependencies
56
+
57
+ * The following workspace dependencies were updated
58
+ * dependencies
59
+ * @twin.org/cli-core bumped from 0.9.1-next.7 to 0.9.1-next.8
60
+ * @twin.org/core bumped from 0.9.1-next.7 to 0.9.1-next.8
61
+ * @twin.org/crypto bumped from 0.9.1-next.7 to 0.9.1-next.8
62
+ * @twin.org/nameof bumped from 0.9.1-next.7 to 0.9.1-next.8
63
+ * devDependencies
64
+ * @twin.org/merge-locales bumped from 0.9.1-next.7 to 0.9.1-next.8
65
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.7 to 0.9.1-next.8
66
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.7 to 0.9.1-next.8
67
+ * @twin.org/validate-locales bumped from 0.9.1-next.7 to 0.9.1-next.8
68
+
69
+ ## [0.9.1-next.7](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.6...crypto-cli-v0.9.1-next.7) (2026-07-09)
70
+
71
+
72
+ ### Miscellaneous Chores
73
+
74
+ * **crypto-cli:** Synchronize repo versions
75
+
76
+
77
+ ### Dependencies
78
+
79
+ * The following workspace dependencies were updated
80
+ * dependencies
81
+ * @twin.org/cli-core bumped from 0.9.1-next.6 to 0.9.1-next.7
82
+ * @twin.org/core bumped from 0.9.1-next.6 to 0.9.1-next.7
83
+ * @twin.org/crypto bumped from 0.9.1-next.6 to 0.9.1-next.7
84
+ * @twin.org/nameof bumped from 0.9.1-next.6 to 0.9.1-next.7
85
+ * devDependencies
86
+ * @twin.org/merge-locales bumped from 0.9.1-next.6 to 0.9.1-next.7
87
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.6 to 0.9.1-next.7
88
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.6 to 0.9.1-next.7
89
+ * @twin.org/validate-locales bumped from 0.9.1-next.6 to 0.9.1-next.7
90
+
91
+ ## [0.9.1-next.6](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.5...crypto-cli-v0.9.1-next.6) (2026-07-03)
92
+
93
+
94
+ ### Miscellaneous Chores
95
+
96
+ * **crypto-cli:** Synchronize repo versions
97
+
98
+
99
+ ### Dependencies
100
+
101
+ * The following workspace dependencies were updated
102
+ * dependencies
103
+ * @twin.org/cli-core bumped from 0.9.1-next.5 to 0.9.1-next.6
104
+ * @twin.org/core bumped from 0.9.1-next.5 to 0.9.1-next.6
105
+ * @twin.org/crypto bumped from 0.9.1-next.5 to 0.9.1-next.6
106
+ * @twin.org/nameof bumped from 0.9.1-next.5 to 0.9.1-next.6
107
+ * devDependencies
108
+ * @twin.org/merge-locales bumped from 0.9.1-next.5 to 0.9.1-next.6
109
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.5 to 0.9.1-next.6
110
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.5 to 0.9.1-next.6
111
+ * @twin.org/validate-locales bumped from 0.9.1-next.5 to 0.9.1-next.6
112
+
113
+ ## [0.9.1-next.5](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.4...crypto-cli-v0.9.1-next.5) (2026-06-29)
114
+
115
+
116
+ ### Miscellaneous Chores
117
+
118
+ * **crypto-cli:** Synchronize repo versions
119
+
120
+
121
+ ### Dependencies
122
+
123
+ * The following workspace dependencies were updated
124
+ * dependencies
125
+ * @twin.org/cli-core bumped from 0.9.1-next.4 to 0.9.1-next.5
126
+ * @twin.org/core bumped from 0.9.1-next.4 to 0.9.1-next.5
127
+ * @twin.org/crypto bumped from 0.9.1-next.4 to 0.9.1-next.5
128
+ * @twin.org/nameof bumped from 0.9.1-next.4 to 0.9.1-next.5
129
+ * devDependencies
130
+ * @twin.org/merge-locales bumped from 0.9.1-next.4 to 0.9.1-next.5
131
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.4 to 0.9.1-next.5
132
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.4 to 0.9.1-next.5
133
+ * @twin.org/validate-locales bumped from 0.9.1-next.4 to 0.9.1-next.5
134
+
135
+ ## [0.9.1-next.4](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.3...crypto-cli-v0.9.1-next.4) (2026-06-26)
136
+
137
+
138
+ ### Miscellaneous Chores
139
+
140
+ * **crypto-cli:** Synchronize repo versions
141
+
142
+
143
+ ### Dependencies
144
+
145
+ * The following workspace dependencies were updated
146
+ * dependencies
147
+ * @twin.org/cli-core bumped from 0.9.1-next.3 to 0.9.1-next.4
148
+ * @twin.org/core bumped from 0.9.1-next.3 to 0.9.1-next.4
149
+ * @twin.org/crypto bumped from 0.9.1-next.3 to 0.9.1-next.4
150
+ * @twin.org/nameof bumped from 0.9.1-next.3 to 0.9.1-next.4
151
+ * devDependencies
152
+ * @twin.org/merge-locales bumped from 0.9.1-next.3 to 0.9.1-next.4
153
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.3 to 0.9.1-next.4
154
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.3 to 0.9.1-next.4
155
+ * @twin.org/validate-locales bumped from 0.9.1-next.3 to 0.9.1-next.4
156
+
157
+ ## [0.9.1-next.3](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.2...crypto-cli-v0.9.1-next.3) (2026-06-26)
158
+
159
+
160
+ ### Features
161
+
162
+ * add context id features ([#206](https://github.com/iotaledger/twin-framework/issues/206)) ([ef0d4ee](https://github.com/iotaledger/twin-framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
163
+ * eslint migration to flat config ([74427d7](https://github.com/iotaledger/twin-framework/commit/74427d78d342167f7850e49ab87269326355befe))
164
+ * locales validation ([#197](https://github.com/iotaledger/twin-framework/issues/197)) ([55fdadb](https://github.com/iotaledger/twin-framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
165
+ * typescript 6 update ([1d10f31](https://github.com/iotaledger/twin-framework/commit/1d10f31e6516ec622773f45e88af82fe749b384a))
166
+ * update dependencies ([4da77ab](https://github.com/iotaledger/twin-framework/commit/4da77ab30f499e52825ac5a76f51436ceb59c26e))
167
+ * update dependencies ([f3bd015](https://github.com/iotaledger/twin-framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
168
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/iotaledger/twin-framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/iotaledger/twin-framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
174
+
175
+
176
+ ### Dependencies
177
+
178
+ * The following workspace dependencies were updated
179
+ * dependencies
180
+ * @twin.org/cli-core bumped from 0.9.1-next.2 to 0.9.1-next.3
181
+ * @twin.org/core bumped from 0.9.1-next.2 to 0.9.1-next.3
182
+ * @twin.org/crypto bumped from 0.9.1-next.2 to 0.9.1-next.3
183
+ * @twin.org/nameof bumped from 0.9.1-next.2 to 0.9.1-next.3
184
+ * devDependencies
185
+ * @twin.org/merge-locales bumped from 0.9.1-next.2 to 0.9.1-next.3
186
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.2 to 0.9.1-next.3
187
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.2 to 0.9.1-next.3
188
+ * @twin.org/validate-locales bumped from 0.9.1-next.2 to 0.9.1-next.3
189
+
190
+ ## [0.9.1-next.2](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.1...crypto-cli-v0.9.1-next.2) (2026-06-26)
191
+
192
+
193
+ ### Miscellaneous Chores
194
+
195
+ * **crypto-cli:** Synchronize repo versions
196
+
197
+
198
+ ### Dependencies
199
+
200
+ * The following workspace dependencies were updated
201
+ * dependencies
202
+ * @twin.org/cli-core bumped from 0.9.1-next.1 to 0.9.1-next.2
203
+ * @twin.org/core bumped from 0.9.1-next.1 to 0.9.1-next.2
204
+ * @twin.org/crypto bumped from 0.9.1-next.1 to 0.9.1-next.2
205
+ * @twin.org/nameof bumped from 0.9.1-next.1 to 0.9.1-next.2
206
+ * devDependencies
207
+ * @twin.org/merge-locales bumped from 0.9.1-next.1 to 0.9.1-next.2
208
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.1 to 0.9.1-next.2
209
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.1 to 0.9.1-next.2
210
+ * @twin.org/validate-locales bumped from 0.9.1-next.1 to 0.9.1-next.2
211
+
3
212
  ## [0.9.1-next.1](https://github.com/iotaledger/twin-framework/compare/crypto-cli-v0.9.1-next.0...crypto-cli-v0.9.1-next.1) (2026-06-25)
4
213
 
5
214
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/crypto-cli",
3
- "version": "0.9.1-next.1",
3
+ "version": "0.9.1-next.10",
4
4
  "description": "Command line interface for interacting with the crypto tools",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,10 +14,10 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/cli-core": "0.9.1-next.1",
18
- "@twin.org/core": "0.9.1-next.1",
19
- "@twin.org/crypto": "0.9.1-next.1",
20
- "@twin.org/nameof": "0.9.1-next.1",
17
+ "@twin.org/cli-core": "0.9.1-next.10",
18
+ "@twin.org/core": "0.9.1-next.10",
19
+ "@twin.org/crypto": "0.9.1-next.10",
20
+ "@twin.org/nameof": "0.9.1-next.10",
21
21
  "commander": "15.0.0"
22
22
  },
23
23
  "main": "./dist/es/index.js",