@twin.org/nft-cli 0.0.1-next.20 → 0.0.1-next.21
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/cjs/index.cjs +4 -4
- package/dist/esm/index.mjs +4 -4
- package/dist/locales/en.json +3 -1
- package/docs/changelog.md +1 -1
- package/package.json +3 -3
package/dist/cjs/index.cjs
CHANGED
|
@@ -228,10 +228,10 @@ async function actionCommandNftMint(opts) {
|
|
|
228
228
|
: undefined;
|
|
229
229
|
const explorerEndpoint = cliCore.CLIParam.url("explorer", opts.explorer);
|
|
230
230
|
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.nft-mint.labels.issuer"), issuer);
|
|
231
|
-
if (core.Is.
|
|
232
|
-
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.nft-mint.labels.
|
|
231
|
+
if (core.Is.integer(walletAddressIndex)) {
|
|
232
|
+
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.nft-mint.labels.walletAddressIndex"), walletAddressIndex);
|
|
233
233
|
}
|
|
234
|
-
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.nft-mint.labels.
|
|
234
|
+
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.nft-mint.labels.tag"), tag);
|
|
235
235
|
if (core.Is.stringValue(immutableJson)) {
|
|
236
236
|
cliCore.CLIDisplay.value(core.I18n.formatMessage("commands.nft-mint.labels.immutableJsonFilename"), immutableJson);
|
|
237
237
|
}
|
|
@@ -467,7 +467,7 @@ class CLI extends cliCore.CLIBase {
|
|
|
467
467
|
return this.execute({
|
|
468
468
|
title: "TWIN NFT",
|
|
469
469
|
appName: "twin-nft",
|
|
470
|
-
version: "0.0.1-next.
|
|
470
|
+
version: "0.0.1-next.21",
|
|
471
471
|
icon: "🌍",
|
|
472
472
|
supportsEnvFiles: true,
|
|
473
473
|
overrideOutputWidth: options?.overrideOutputWidth
|
package/dist/esm/index.mjs
CHANGED
|
@@ -225,10 +225,10 @@ async function actionCommandNftMint(opts) {
|
|
|
225
225
|
: undefined;
|
|
226
226
|
const explorerEndpoint = CLIParam.url("explorer", opts.explorer);
|
|
227
227
|
CLIDisplay.value(I18n.formatMessage("commands.nft-mint.labels.issuer"), issuer);
|
|
228
|
-
if (Is.
|
|
229
|
-
CLIDisplay.value(I18n.formatMessage("commands.nft-mint.labels.
|
|
228
|
+
if (Is.integer(walletAddressIndex)) {
|
|
229
|
+
CLIDisplay.value(I18n.formatMessage("commands.nft-mint.labels.walletAddressIndex"), walletAddressIndex);
|
|
230
230
|
}
|
|
231
|
-
CLIDisplay.value(I18n.formatMessage("commands.nft-mint.labels.
|
|
231
|
+
CLIDisplay.value(I18n.formatMessage("commands.nft-mint.labels.tag"), tag);
|
|
232
232
|
if (Is.stringValue(immutableJson)) {
|
|
233
233
|
CLIDisplay.value(I18n.formatMessage("commands.nft-mint.labels.immutableJsonFilename"), immutableJson);
|
|
234
234
|
}
|
|
@@ -464,7 +464,7 @@ class CLI extends CLIBase {
|
|
|
464
464
|
return this.execute({
|
|
465
465
|
title: "TWIN NFT",
|
|
466
466
|
appName: "twin-nft",
|
|
467
|
-
version: "0.0.1-next.
|
|
467
|
+
version: "0.0.1-next.21",
|
|
468
468
|
icon: "🌍",
|
|
469
469
|
supportsEnvFiles: true,
|
|
470
470
|
overrideOutputWidth: options?.overrideOutputWidth
|
package/dist/locales/en.json
CHANGED
|
@@ -190,7 +190,9 @@
|
|
|
190
190
|
"nftOwnerNftFound": "The owner for NFT \"{nftId}\" was not found",
|
|
191
191
|
"startFailed": "Failed to start the IOTA NFT connector",
|
|
192
192
|
"deployTransactionFailed": "Deploying the contract failed with error: \"{error}\"",
|
|
193
|
-
"connectorNotStarted": "Please call start() before using this connector. Package ID: \"{packageId}\" is missing."
|
|
193
|
+
"connectorNotStarted": "Please call start() before using this connector. Package ID: \"{packageId}\" is missing.",
|
|
194
|
+
"invalidImmutableMetadata": "The immutable metadata for NFT \"{nftId}\" is invalid",
|
|
195
|
+
"invalidMetadata": "The metadata for NFT \"{nftId}\" is invalid"
|
|
194
196
|
},
|
|
195
197
|
"iotaNftUtils": {
|
|
196
198
|
"invalidNftIdFormat": "The NFT ID \"{id}\" has an invalid format"
|
package/docs/changelog.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/nft-cli",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.21",
|
|
4
4
|
"description": "A command line interface for interacting with the nft connectors",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,8 +21,8 @@
|
|
|
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.1-next.
|
|
25
|
-
"@twin.org/nft-connector-iota-stardust": "0.0.1-next.
|
|
24
|
+
"@twin.org/nft-connector-iota": "0.0.1-next.21",
|
|
25
|
+
"@twin.org/nft-connector-iota-stardust": "0.0.1-next.21",
|
|
26
26
|
"@twin.org/vault-connector-entity-storage": "next",
|
|
27
27
|
"@twin.org/vault-models": "next",
|
|
28
28
|
"@twin.org/wallet-cli": "next",
|