@twin.org/nft-cli 0.0.3-next.5 → 0.0.3-next.7
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 +1 -1
- package/dist/es/cli.js.map +1 -1
- package/dist/locales/en.json +20 -2
- package/docs/changelog.md +28 -0
- package/package.json +2 -2
package/dist/es/cli.js
CHANGED
|
@@ -25,7 +25,7 @@ export class CLI extends CLIBase {
|
|
|
25
25
|
return this.execute({
|
|
26
26
|
title: "TWIN NFT",
|
|
27
27
|
appName: "twin-nft",
|
|
28
|
-
version: "0.0.3-next.
|
|
28
|
+
version: "0.0.3-next.7", // x-release-please-version
|
|
29
29
|
icon: "🌍",
|
|
30
30
|
supportsEnvFiles: true,
|
|
31
31
|
overrideOutputWidth: options?.overrideOutputWidth,
|
package/dist/es/cli.js.map
CHANGED
|
@@ -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;AAC7C,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE;;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,UAAU;YACjB,OAAO,EAAE,UAAU;YACnB,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;;;;OAIG;IACO,WAAW,CAAC,OAAgB;QACrC,OAAO;YACN,oBAAoB,EAAE;YACtB,mBAAmB,EAAE;YACrB,kBAAkB,EAAE;YACpB,mBAAmB,EAAE;YACrB,sBAAsB,EAAE;YACxB,mBAAmB,EAAE;YACrB,uBAAuB,EAAE;SACzB,CAAC;IACH,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 { buildCommandAddress, buildCommandMnemonic } from \"@twin.org/crypto-cli\";\nimport { buildCommandFaucet } from \"@twin.org/wallet-cli\";\nimport type { Command } from \"commander\";\nimport { buildCommandNftBurn } from \"./commands/nftBurn.js\";\nimport { buildCommandNftMint } from \"./commands/nftMint.js\";\nimport { buildCommandNftResolve } from \"./commands/nftResolve.js\";\nimport { buildCommandNftTransfer } from \"./commands/nftTransfer.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 for the CLI.\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 NFT\",\n\t\t\t\tappName: \"twin-nft\",\n\t\t\t\tversion: \"0.0.3-next.
|
|
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;AAC7C,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE;;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,UAAU;YACjB,OAAO,EAAE,UAAU;YACnB,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;;;;OAIG;IACO,WAAW,CAAC,OAAgB;QACrC,OAAO;YACN,oBAAoB,EAAE;YACtB,mBAAmB,EAAE;YACrB,kBAAkB,EAAE;YACpB,mBAAmB,EAAE;YACrB,sBAAsB,EAAE;YACxB,mBAAmB,EAAE;YACrB,uBAAuB,EAAE;SACzB,CAAC;IACH,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 { buildCommandAddress, buildCommandMnemonic } from \"@twin.org/crypto-cli\";\nimport { buildCommandFaucet } from \"@twin.org/wallet-cli\";\nimport type { Command } from \"commander\";\nimport { buildCommandNftBurn } from \"./commands/nftBurn.js\";\nimport { buildCommandNftMint } from \"./commands/nftMint.js\";\nimport { buildCommandNftResolve } from \"./commands/nftResolve.js\";\nimport { buildCommandNftTransfer } from \"./commands/nftTransfer.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 for the CLI.\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 NFT\",\n\t\t\t\tappName: \"twin-nft\",\n\t\t\t\tversion: \"0.0.3-next.7\", // 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 * @internal\n\t */\n\tprotected getCommands(program: Command): Command[] {\n\t\treturn [\n\t\t\tbuildCommandMnemonic(),\n\t\t\tbuildCommandAddress(),\n\t\t\tbuildCommandFaucet(),\n\t\t\tbuildCommandNftMint(),\n\t\t\tbuildCommandNftResolve(),\n\t\t\tbuildCommandNftBurn(),\n\t\t\tbuildCommandNftTransfer()\n\t\t];\n\t}\n}\n"]}
|
package/dist/locales/en.json
CHANGED
|
@@ -62,6 +62,9 @@
|
|
|
62
62
|
"bigint": "Property \"{property}\" must be a bigint, it is \"{value}\"",
|
|
63
63
|
"boolean": "Property \"{property}\" must be a boolean, it is \"{value}\"",
|
|
64
64
|
"date": "Property \"{property}\" must be a date, it is \"{value}\"",
|
|
65
|
+
"dateString": "Property \"{property}\" must be a date-only string in ISO 8601 format, it is \"{value}\"",
|
|
66
|
+
"dateTimeString": "Property \"{property}\" must be a date-time string in ISO 8601 format, it is \"{value}\"",
|
|
67
|
+
"timeString": "Property \"{property}\" must be a time string in ISO 8601 format, it is \"{value}\"",
|
|
65
68
|
"timestampMilliseconds": "Property \"{property}\" must be a timestamp in milliseconds, it is \"{value}\"",
|
|
66
69
|
"timestampSeconds": "Property \"{property}\" must be a timestamp in seconds, it is \"{value}\"",
|
|
67
70
|
"objectUndefined": "Property \"{property}\" must be an object, it is \"undefined\"",
|
|
@@ -74,8 +77,8 @@
|
|
|
74
77
|
"arrayEndsWith": "Property \"{property}\" must be an array ending with [{endValues}], it is \"{value}\"",
|
|
75
78
|
"uint8Array": "Property \"{property}\" must be a Uint8Array, it is \"{value}\"",
|
|
76
79
|
"function": "Property \"{property}\" must be a function, it is \"{value}\"",
|
|
77
|
-
"urn": "Property \"{property}\" must be a
|
|
78
|
-
"url": "Property \"{property}\" must be a
|
|
80
|
+
"urn": "Property \"{property}\" must be a URN formatted string, it is \"{value}\"",
|
|
81
|
+
"url": "Property \"{property}\" must be a URL formatted string, it is \"{value}\"",
|
|
79
82
|
"email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
|
|
80
83
|
"uuidV7": "Property \"{property}\" must be a UUIDv7 formatted string, it is \"{value}\"",
|
|
81
84
|
"uuidV7Compact": "Property \"{property}\" must be a UUIDv7 formatted string in compact mode, it is \"{value}\"",
|
|
@@ -111,6 +114,12 @@
|
|
|
111
114
|
"jsonHelper": {
|
|
112
115
|
"failedPatch": "Failed to patch the JSON object, patch index \"{index}\" failed"
|
|
113
116
|
},
|
|
117
|
+
"mutex": {
|
|
118
|
+
"lockNotFound": "The key \"{key}\" has no active lock",
|
|
119
|
+
"lockAlreadyReleased": "The key \"{key}\" is not currently locked",
|
|
120
|
+
"lockTimeout": "Failed to acquire lock for key \"{key}\" within the timeout of {timeout} milliseconds",
|
|
121
|
+
"bufferFetchFailed": "Failed to retrieve shared buffer for key \"{key}\" from the main thread"
|
|
122
|
+
},
|
|
114
123
|
"ed25519": {
|
|
115
124
|
"privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
|
|
116
125
|
"publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
|
|
@@ -160,6 +169,10 @@
|
|
|
160
169
|
"optionMaxValue": "The \"{option}\" option must be less than or equal to {maxValue}, it is {value}."
|
|
161
170
|
}
|
|
162
171
|
},
|
|
172
|
+
"entitySchemaDiffHelper": {
|
|
173
|
+
"duplicateOldProperty": "The oldProperties array contains a duplicate property key \"{property}\"",
|
|
174
|
+
"duplicateNewProperty": "The newProperties array contains a duplicate property key \"{property}\""
|
|
175
|
+
},
|
|
163
176
|
"entitySchemaHelper": {
|
|
164
177
|
"noIsPrimary": "Property \"entitySchema.properties\" must contain a value with isPrimary set",
|
|
165
178
|
"multipleIsPrimary": "Property \"entitySchema.properties\" contains more than one property with isPrimary set",
|
|
@@ -175,6 +188,11 @@
|
|
|
175
188
|
"contextIdStore": {
|
|
176
189
|
"asyncHooksNotAvailable": "Async Hooks are not available in this environment, please ensure you are running in Node.js"
|
|
177
190
|
},
|
|
191
|
+
"migrationHelper": {
|
|
192
|
+
"migrationFailed": "Migration failed.",
|
|
193
|
+
"transformRequiredForProperty": "A transformation function is required to migrate property \"{from}\" to \"{to}\" of type \"{type}\"",
|
|
194
|
+
"coercionProducedUndefined": "Coercion of property \"{property}\" to type \"{type}\" produced undefined but the property is not optional"
|
|
195
|
+
},
|
|
178
196
|
"iotaNftConnector": {
|
|
179
197
|
"mintingFailed": "Minting the NFT failed",
|
|
180
198
|
"resolvingFailed": "Resolving the NFT failed",
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.7](https://github.com/iotaledger/twin-nft/compare/nft-cli-v0.0.3-next.6...nft-cli-v0.0.3-next.7) (2026-05-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **nft-cli:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/nft-connector-iota bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.6](https://github.com/iotaledger/twin-nft/compare/nft-cli-v0.0.3-next.5...nft-cli-v0.0.3-next.6) (2026-05-20)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* update dependencies ([2f40b97](https://github.com/iotaledger/twin-nft/commit/2f40b97a7d77d6614d064ad0caf8a0cccc81f1a5))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/nft-connector-iota bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
30
|
+
|
|
3
31
|
## [0.0.3-next.5](https://github.com/iotaledger/twin-nft/compare/nft-cli-v0.0.3-next.4...nft-cli-v0.0.3-next.5) (2026-05-12)
|
|
4
32
|
|
|
5
33
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/nft-cli",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.7",
|
|
4
4
|
"description": "Command line application for running end-to-end NFT operations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@twin.org/entity": "next",
|
|
22
22
|
"@twin.org/entity-storage-connector-memory": "next",
|
|
23
23
|
"@twin.org/nameof": "next",
|
|
24
|
-
"@twin.org/nft-connector-iota": "0.0.3-next.
|
|
24
|
+
"@twin.org/nft-connector-iota": "0.0.3-next.7",
|
|
25
25
|
"@twin.org/vault-connector-entity-storage": "next",
|
|
26
26
|
"@twin.org/vault-models": "next",
|
|
27
27
|
"@twin.org/wallet-cli": "next",
|