@twin.org/nft-cli 0.0.1-next.6 → 0.0.1-next.8
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/bin/index.js +0 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/docs/changelog.md +1 -1
- package/docs/reference/classes/CLI.md +10 -4
- package/docs/reference/functions/actionCommandNftBurn.md +16 -6
- package/docs/reference/functions/actionCommandNftMint.md +3 -1
- package/docs/reference/functions/actionCommandNftResolve.md +3 -1
- package/docs/reference/functions/actionCommandNftTransfer.md +16 -6
- package/package.json +3 -3
package/bin/index.js
CHANGED
|
File without changes
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -357,7 +357,7 @@ class CLI extends cliCore.CLIBase {
|
|
|
357
357
|
return this.execute({
|
|
358
358
|
title: "TWIN NFT",
|
|
359
359
|
appName: "twin-nft",
|
|
360
|
-
version: "0.0.1-next.
|
|
360
|
+
version: "0.0.1-next.8",
|
|
361
361
|
icon: "🌍",
|
|
362
362
|
supportsEnvFiles: true,
|
|
363
363
|
overrideOutputWidth: options?.overrideOutputWidth
|
package/dist/esm/index.mjs
CHANGED
|
@@ -354,7 +354,7 @@ class CLI extends CLIBase {
|
|
|
354
354
|
return this.execute({
|
|
355
355
|
title: "TWIN NFT",
|
|
356
356
|
appName: "twin-nft",
|
|
357
|
-
version: "0.0.1-next.
|
|
357
|
+
version: "0.0.1-next.8",
|
|
358
358
|
icon: "🌍",
|
|
359
359
|
supportsEnvFiles: true,
|
|
360
360
|
overrideOutputWidth: options?.overrideOutputWidth
|
package/docs/changelog.md
CHANGED
|
@@ -30,19 +30,25 @@ Run the app.
|
|
|
30
30
|
|
|
31
31
|
#### Parameters
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
##### argv
|
|
34
|
+
|
|
35
|
+
`string`[]
|
|
34
36
|
|
|
35
37
|
The process arguments.
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
##### localesDirectory?
|
|
40
|
+
|
|
41
|
+
`string`
|
|
38
42
|
|
|
39
43
|
The directory for the locales, default to relative to the script.
|
|
40
44
|
|
|
41
|
-
|
|
45
|
+
##### options?
|
|
42
46
|
|
|
43
47
|
Additional options for the CLI.
|
|
44
48
|
|
|
45
|
-
|
|
49
|
+
###### overrideOutputWidth
|
|
50
|
+
|
|
51
|
+
`number`
|
|
46
52
|
|
|
47
53
|
Override the output width.
|
|
48
54
|
|
|
@@ -6,27 +6,37 @@ Action the nft burn command.
|
|
|
6
6
|
|
|
7
7
|
## Parameters
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### opts
|
|
10
10
|
|
|
11
11
|
The options for the command.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
#### seed
|
|
14
|
+
|
|
15
|
+
`string`
|
|
14
16
|
|
|
15
17
|
The seed required for signing by the issuer.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
#### issuer
|
|
20
|
+
|
|
21
|
+
`string`
|
|
18
22
|
|
|
19
23
|
The issuer address of the NFT.
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
#### id
|
|
26
|
+
|
|
27
|
+
`string`
|
|
22
28
|
|
|
23
29
|
The id of the NFT to burn in urn format.
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
#### node
|
|
32
|
+
|
|
33
|
+
`string`
|
|
26
34
|
|
|
27
35
|
The node URL.
|
|
28
36
|
|
|
29
|
-
|
|
37
|
+
#### explorer
|
|
38
|
+
|
|
39
|
+
`string`
|
|
30
40
|
|
|
31
41
|
The explorer URL.
|
|
32
42
|
|
|
@@ -6,7 +6,9 @@ Action the nft mint command.
|
|
|
6
6
|
|
|
7
7
|
## Parameters
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### opts
|
|
10
|
+
|
|
11
|
+
`object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
|
|
10
12
|
|
|
11
13
|
The options for the command.
|
|
12
14
|
|
|
@@ -6,7 +6,9 @@ Action the nft resolve command.
|
|
|
6
6
|
|
|
7
7
|
## Parameters
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### opts
|
|
10
|
+
|
|
11
|
+
`object` & `ICliOutputOptionsConsole` & `ICliOutputOptionsEnv` & `ICliOutputOptionsJson`
|
|
10
12
|
|
|
11
13
|
The options for the command.
|
|
12
14
|
|
|
@@ -6,27 +6,37 @@ Action the nft transfer command.
|
|
|
6
6
|
|
|
7
7
|
## Parameters
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### opts
|
|
10
10
|
|
|
11
11
|
The options for the command.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
#### seed
|
|
14
|
+
|
|
15
|
+
`string`
|
|
14
16
|
|
|
15
17
|
The seed required for signing by the issuer.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
#### id
|
|
20
|
+
|
|
21
|
+
`string`
|
|
18
22
|
|
|
19
23
|
The id of the NFT to transfer in urn format.
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
#### recipient
|
|
26
|
+
|
|
27
|
+
`string`
|
|
22
28
|
|
|
23
29
|
The recipient address of the NFT.
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
#### node
|
|
32
|
+
|
|
33
|
+
`string`
|
|
26
34
|
|
|
27
35
|
The node URL.
|
|
28
36
|
|
|
29
|
-
|
|
37
|
+
#### explorer
|
|
38
|
+
|
|
39
|
+
`string`
|
|
30
40
|
|
|
31
41
|
The explorer URL.
|
|
32
42
|
|
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.8",
|
|
4
4
|
"description": "A command line interface for interacting with the nft connectors",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,11 +21,11 @@
|
|
|
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.
|
|
24
|
+
"@twin.org/nft-connector-iota": "0.0.1-next.8",
|
|
25
25
|
"@twin.org/vault-connector-entity-storage": "next",
|
|
26
26
|
"@twin.org/vault-models": "next",
|
|
27
27
|
"@twin.org/wallet-cli": "next",
|
|
28
|
-
"commander": "
|
|
28
|
+
"commander": "13.0.0"
|
|
29
29
|
},
|
|
30
30
|
"main": "./dist/cjs/index.cjs",
|
|
31
31
|
"module": "./dist/esm/index.mjs",
|