@lightprotocol/zk-compression-cli 0.15.2 → 0.16.0

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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -29,4 +29,4 @@ export declare const LIGHT_CLIENT_VERSION = "0.9.1";
29
29
  export declare const LIGHT_TEST_UTILS_VERSION = "1.2.1";
30
30
  export declare const SOLANA_PROGRAM_TEST_VERSION = "1.18.22";
31
31
  export declare const TOKIO_VERSION = "1.36.0";
32
- export declare const COMPRESSED_PROGRAM_TEMPLATE_TAG = "v0.1.1";
32
+ export declare const COMPRESSED_PROGRAM_TEMPLATE_TAG = "v0.1.2";
@@ -34,4 +34,4 @@ exports.LIGHT_CLIENT_VERSION = "0.9.1";
34
34
  exports.LIGHT_TEST_UTILS_VERSION = "1.2.1";
35
35
  exports.SOLANA_PROGRAM_TEST_VERSION = "1.18.22";
36
36
  exports.TOKIO_VERSION = "1.36.0";
37
- exports.COMPRESSED_PROGRAM_TEMPLATE_TAG = "v0.1.1";
37
+ exports.COMPRESSED_PROGRAM_TEMPLATE_TAG = "v0.1.2";
@@ -1,100 +1,100 @@
1
1
  {
2
2
  "commands": {
3
- "approve-and-mint-to": {
3
+ "balance": {
4
4
  "aliases": [],
5
5
  "args": {},
6
6
  "examples": [
7
- "$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
7
+ "$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
8
8
  ],
9
9
  "flags": {
10
- "mint-authority": {
11
- "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
12
- "name": "mint-authority",
13
- "required": false,
10
+ "owner": {
11
+ "description": "Address of the compressed token owner.",
12
+ "name": "owner",
13
+ "required": true,
14
14
  "hasDynamicHelp": false,
15
15
  "multiple": false,
16
16
  "type": "option"
17
17
  },
18
18
  "mint": {
19
- "description": "Specify the mint address.",
19
+ "description": "Mint address of the compressed token account.",
20
20
  "name": "mint",
21
21
  "required": true,
22
22
  "hasDynamicHelp": false,
23
23
  "multiple": false,
24
24
  "type": "option"
25
- },
26
- "to": {
27
- "description": "Specify the recipient address.",
28
- "name": "to",
29
- "required": true,
30
- "hasDynamicHelp": false,
31
- "multiple": false,
32
- "type": "option"
33
- },
34
- "amount": {
35
- "description": "Amount to mint, in tokens.",
36
- "name": "amount",
37
- "required": true,
38
- "hasDynamicHelp": false,
39
- "multiple": false,
40
- "type": "option"
41
25
  }
42
26
  },
43
27
  "hasDynamicHelp": false,
44
28
  "hiddenAliases": [],
45
- "id": "approve-and-mint-to",
29
+ "id": "balance",
46
30
  "pluginAlias": "@lightprotocol/zk-compression-cli",
47
31
  "pluginName": "@lightprotocol/zk-compression-cli",
48
32
  "pluginType": "core",
49
33
  "strict": true,
50
- "summary": "Mint tokens to a compressed account via external mint authority",
34
+ "summary": "Get balance",
51
35
  "enableJsonFlag": false,
52
36
  "isESM": false,
53
37
  "relativePath": [
54
38
  "dist",
55
39
  "commands",
56
- "approve-and-mint-to",
40
+ "balance",
57
41
  "index.js"
58
42
  ]
59
43
  },
60
- "balance": {
44
+ "approve-and-mint-to": {
61
45
  "aliases": [],
62
46
  "args": {},
63
47
  "examples": [
64
- "$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
48
+ "$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
65
49
  ],
66
50
  "flags": {
67
- "owner": {
68
- "description": "Address of the compressed token owner.",
69
- "name": "owner",
70
- "required": true,
51
+ "mint-authority": {
52
+ "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
53
+ "name": "mint-authority",
54
+ "required": false,
71
55
  "hasDynamicHelp": false,
72
56
  "multiple": false,
73
57
  "type": "option"
74
58
  },
75
59
  "mint": {
76
- "description": "Mint address of the compressed token account.",
60
+ "description": "Specify the mint address.",
77
61
  "name": "mint",
78
62
  "required": true,
79
63
  "hasDynamicHelp": false,
80
64
  "multiple": false,
81
65
  "type": "option"
66
+ },
67
+ "to": {
68
+ "description": "Specify the recipient address.",
69
+ "name": "to",
70
+ "required": true,
71
+ "hasDynamicHelp": false,
72
+ "multiple": false,
73
+ "type": "option"
74
+ },
75
+ "amount": {
76
+ "description": "Amount to mint, in tokens.",
77
+ "name": "amount",
78
+ "required": true,
79
+ "hasDynamicHelp": false,
80
+ "multiple": false,
81
+ "type": "option"
82
82
  }
83
83
  },
84
84
  "hasDynamicHelp": false,
85
85
  "hiddenAliases": [],
86
- "id": "balance",
86
+ "id": "approve-and-mint-to",
87
87
  "pluginAlias": "@lightprotocol/zk-compression-cli",
88
88
  "pluginName": "@lightprotocol/zk-compression-cli",
89
89
  "pluginType": "core",
90
90
  "strict": true,
91
- "summary": "Get balance",
91
+ "summary": "Mint tokens to a compressed account via external mint authority",
92
92
  "enableJsonFlag": false,
93
93
  "isESM": false,
94
94
  "relativePath": [
95
95
  "dist",
96
96
  "commands",
97
- "balance",
97
+ "approve-and-mint-to",
98
98
  "index.js"
99
99
  ]
100
100
  },
@@ -831,5 +831,5 @@
831
831
  ]
832
832
  }
833
833
  },
834
- "version": "0.15.2"
834
+ "version": "0.16.0"
835
835
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/zk-compression-cli",
3
- "version": "0.15.2",
3
+ "version": "0.16.0",
4
4
  "description": "ZK Compression: Secure Scaling on Solana",
5
5
  "maintainers": [
6
6
  {
@@ -44,9 +44,9 @@
44
44
  "tweetnacl": "^1.0.3",
45
45
  "wait-on": "^7.2.0",
46
46
  "which": "^4.0.0",
47
+ "@lightprotocol/compressed-token": "0.13.0",
47
48
  "@lightprotocol/hasher.rs": "0.2.0",
48
- "@lightprotocol/stateless.js": "0.13.0",
49
- "@lightprotocol/compressed-token": "0.13.0"
49
+ "@lightprotocol/stateless.js": "0.13.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@oclif/test": "2.3.9",