@twin.org/nft-cli 0.0.1-next.15 → 0.0.1-next.17
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 +13 -21
- package/dist/esm/index.mjs +14 -22
- package/dist/locales/en.json +601 -601
- package/dist/types/commands/nftBurn.d.ts +0 -2
- package/dist/types/commands/nftMint.d.ts +0 -2
- package/dist/types/commands/nftTransfer.d.ts +4 -2
- package/docs/changelog.md +1 -1
- package/docs/reference/functions/actionCommandNftBurn.md +0 -6
- package/docs/reference/functions/actionCommandNftTransfer.md +7 -1
- package/locales/en.json +8 -12
- package/package.json +3 -3
|
@@ -9,7 +9,6 @@ export declare function buildCommandNftBurn(): Command;
|
|
|
9
9
|
* Action the nft burn command.
|
|
10
10
|
* @param opts The options for the command.
|
|
11
11
|
* @param opts.seed The seed required for signing by the issuer.
|
|
12
|
-
* @param opts.issuer The issuer address of the NFT.
|
|
13
12
|
* @param opts.id The id of the NFT to burn in urn format.
|
|
14
13
|
* @param opts.connector The connector to perform the operations with.
|
|
15
14
|
* @param opts.node The node URL.
|
|
@@ -18,7 +17,6 @@ export declare function buildCommandNftBurn(): Command;
|
|
|
18
17
|
*/
|
|
19
18
|
export declare function actionCommandNftBurn(opts: {
|
|
20
19
|
seed: string;
|
|
21
|
-
issuer: string;
|
|
22
20
|
id: string;
|
|
23
21
|
connector?: NftConnectorTypes;
|
|
24
22
|
node: string;
|
|
@@ -10,7 +10,6 @@ export declare function buildCommandNftMint(): Command;
|
|
|
10
10
|
* Action the nft mint command.
|
|
11
11
|
* @param opts The options for the command.
|
|
12
12
|
* @param opts.seed The seed required for signing by the issuer.
|
|
13
|
-
* @param opts.issuer The issuer address of the NFT.
|
|
14
13
|
* @param opts.tag The tag for the NFT.
|
|
15
14
|
* @param opts.immutableJson Filename of the immutable JSON data.
|
|
16
15
|
* @param opts.mutableJson Filename of the mutable JSON data.
|
|
@@ -21,7 +20,6 @@ export declare function buildCommandNftMint(): Command;
|
|
|
21
20
|
*/
|
|
22
21
|
export declare function actionCommandNftMint(opts: {
|
|
23
22
|
seed: string;
|
|
24
|
-
issuer: string;
|
|
25
23
|
tag: string;
|
|
26
24
|
immutableJson?: string;
|
|
27
25
|
mutableJson?: string;
|
|
@@ -10,7 +10,8 @@ export declare function buildCommandNftTransfer(): Command;
|
|
|
10
10
|
* @param opts The options for the command.
|
|
11
11
|
* @param opts.seed The seed required for signing by the issuer.
|
|
12
12
|
* @param opts.id The id of the NFT to transfer in urn format.
|
|
13
|
-
* @param opts.
|
|
13
|
+
* @param opts.recipientIdentity The recipient address of the NFT.
|
|
14
|
+
* @param opts.recipientAddress The recipient address of the NFT.
|
|
14
15
|
* @param opts.connector The connector to perform the operations with.
|
|
15
16
|
* @param opts.node The node URL.
|
|
16
17
|
* @param opts.network The network to use for rebased connector.
|
|
@@ -19,7 +20,8 @@ export declare function buildCommandNftTransfer(): Command;
|
|
|
19
20
|
export declare function actionCommandNftTransfer(opts: {
|
|
20
21
|
seed: string;
|
|
21
22
|
id: string;
|
|
22
|
-
|
|
23
|
+
recipientIdentity: string;
|
|
24
|
+
recipientAddress: string;
|
|
23
25
|
connector?: NftConnectorTypes;
|
|
24
26
|
node: string;
|
|
25
27
|
network?: string;
|
package/docs/changelog.md
CHANGED
package/locales/en.json
CHANGED
|
@@ -8,10 +8,6 @@
|
|
|
8
8
|
"param": "--seed '<'seed'>'",
|
|
9
9
|
"description": "The seed for the issuer address in hex or base64 used to fund the minting, or start with ! to read environment variable."
|
|
10
10
|
},
|
|
11
|
-
"issuer": {
|
|
12
|
-
"param": "--issuer '<'issuer'>'",
|
|
13
|
-
"description": "The address of the NFT issuer, or start with ! to read environment variable."
|
|
14
|
-
},
|
|
15
11
|
"tag": {
|
|
16
12
|
"param": "--tag '<'tag'>'",
|
|
17
13
|
"description": "The tag for the NFT."
|
|
@@ -29,7 +25,6 @@
|
|
|
29
25
|
"mintingNft": "Minting NFT"
|
|
30
26
|
},
|
|
31
27
|
"labels": {
|
|
32
|
-
"issuer": "Issuer",
|
|
33
28
|
"tag": "Tag",
|
|
34
29
|
"immutableJsonFilename": "Immutable JSON Filename",
|
|
35
30
|
"mutableJsonFilename": "Mutable JSON Filename",
|
|
@@ -63,10 +58,6 @@
|
|
|
63
58
|
"param": "--seed '<'seed'>'",
|
|
64
59
|
"description": "The seed for the issuer address in hex or base64 used to fund the burning, or start with ! to read environment variable."
|
|
65
60
|
},
|
|
66
|
-
"issuer": {
|
|
67
|
-
"param": "--issuer '<'issuer'>'",
|
|
68
|
-
"description": "The address of the NFT issuer, or start with ! to read environment variable."
|
|
69
|
-
},
|
|
70
61
|
"id": {
|
|
71
62
|
"param": "--id '<'id'>'",
|
|
72
63
|
"description": "The id for the NFT in urn format."
|
|
@@ -92,8 +83,12 @@
|
|
|
92
83
|
"param": "--id '<'id'>'",
|
|
93
84
|
"description": "The id for the NFT in urn format."
|
|
94
85
|
},
|
|
95
|
-
"
|
|
96
|
-
"param": "--
|
|
86
|
+
"recipientIdentity": {
|
|
87
|
+
"param": "--recipientIdentity '<'recipientIdentity'>'",
|
|
88
|
+
"description": "The identity of the NFT issuer, or start with ! to read environment variable."
|
|
89
|
+
},
|
|
90
|
+
"recipientAddress": {
|
|
91
|
+
"param": "--recipientAddress '<'recipientAddress'>'",
|
|
97
92
|
"description": "The address of the NFT recipient, or start with ! to read environment variable."
|
|
98
93
|
}
|
|
99
94
|
},
|
|
@@ -101,7 +96,8 @@
|
|
|
101
96
|
"transferringNft": "Transferring NFT"
|
|
102
97
|
},
|
|
103
98
|
"labels": {
|
|
104
|
-
"
|
|
99
|
+
"recipientAddress": "Recipient Address",
|
|
100
|
+
"recipientIdentity": "Recipient Identity",
|
|
105
101
|
"nftId": "NFT Id"
|
|
106
102
|
}
|
|
107
103
|
},
|
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.17",
|
|
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-rebased": "0.0.1-next.
|
|
24
|
+
"@twin.org/nft-connector-iota": "0.0.1-next.17",
|
|
25
|
+
"@twin.org/nft-connector-iota-rebased": "0.0.1-next.17",
|
|
26
26
|
"@twin.org/vault-connector-entity-storage": "next",
|
|
27
27
|
"@twin.org/vault-models": "next",
|
|
28
28
|
"@twin.org/wallet-cli": "next",
|