@lightprotocol/zk-compression-cli 0.27.1-alpha.8 → 0.27.1-alpha.9

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.
Files changed (2) hide show
  1. package/oclif.manifest.json +61 -61
  2. package/package.json +3 -3
@@ -90,15 +90,23 @@
90
90
  "index.js"
91
91
  ]
92
92
  },
93
- "compress-sol": {
93
+ "compress-spl": {
94
94
  "aliases": [],
95
95
  "args": {},
96
96
  "examples": [
97
- "$ light compress-sol --to PublicKey --amount 10"
97
+ "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
98
98
  ],
99
99
  "flags": {
100
+ "mint": {
101
+ "description": "Specify the mint address.",
102
+ "name": "mint",
103
+ "required": true,
104
+ "hasDynamicHelp": false,
105
+ "multiple": false,
106
+ "type": "option"
107
+ },
100
108
  "to": {
101
- "description": "Specify the recipient address.",
109
+ "description": "Specify the recipient address (owner of destination compressed token account).",
102
110
  "name": "to",
103
111
  "required": true,
104
112
  "hasDynamicHelp": false,
@@ -106,7 +114,7 @@
106
114
  "type": "option"
107
115
  },
108
116
  "amount": {
109
- "description": "Amount to compress, in lamports.",
117
+ "description": "Amount to compress, in tokens.",
110
118
  "name": "amount",
111
119
  "required": true,
112
120
  "hasDynamicHelp": false,
@@ -116,38 +124,30 @@
116
124
  },
117
125
  "hasDynamicHelp": false,
118
126
  "hiddenAliases": [],
119
- "id": "compress-sol",
127
+ "id": "compress-spl",
120
128
  "pluginAlias": "@lightprotocol/zk-compression-cli",
121
129
  "pluginName": "@lightprotocol/zk-compression-cli",
122
130
  "pluginType": "core",
123
131
  "strict": true,
124
- "summary": "Compress SOL.",
132
+ "summary": "Compress SPL tokens.",
125
133
  "enableJsonFlag": false,
126
134
  "isESM": false,
127
135
  "relativePath": [
128
136
  "dist",
129
137
  "commands",
130
- "compress-sol",
138
+ "compress-spl",
131
139
  "index.js"
132
140
  ]
133
141
  },
134
- "compress-spl": {
142
+ "compress-sol": {
135
143
  "aliases": [],
136
144
  "args": {},
137
145
  "examples": [
138
- "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
146
+ "$ light compress-sol --to PublicKey --amount 10"
139
147
  ],
140
148
  "flags": {
141
- "mint": {
142
- "description": "Specify the mint address.",
143
- "name": "mint",
144
- "required": true,
145
- "hasDynamicHelp": false,
146
- "multiple": false,
147
- "type": "option"
148
- },
149
149
  "to": {
150
- "description": "Specify the recipient address (owner of destination compressed token account).",
150
+ "description": "Specify the recipient address.",
151
151
  "name": "to",
152
152
  "required": true,
153
153
  "hasDynamicHelp": false,
@@ -155,7 +155,7 @@
155
155
  "type": "option"
156
156
  },
157
157
  "amount": {
158
- "description": "Amount to compress, in tokens.",
158
+ "description": "Amount to compress, in lamports.",
159
159
  "name": "amount",
160
160
  "required": true,
161
161
  "hasDynamicHelp": false,
@@ -165,18 +165,18 @@
165
165
  },
166
166
  "hasDynamicHelp": false,
167
167
  "hiddenAliases": [],
168
- "id": "compress-spl",
168
+ "id": "compress-sol",
169
169
  "pluginAlias": "@lightprotocol/zk-compression-cli",
170
170
  "pluginName": "@lightprotocol/zk-compression-cli",
171
171
  "pluginType": "core",
172
172
  "strict": true,
173
- "summary": "Compress SPL tokens.",
173
+ "summary": "Compress SOL.",
174
174
  "enableJsonFlag": false,
175
175
  "isESM": false,
176
176
  "relativePath": [
177
177
  "dist",
178
178
  "commands",
179
- "compress-spl",
179
+ "compress-sol",
180
180
  "index.js"
181
181
  ]
182
182
  },
@@ -809,104 +809,104 @@
809
809
  "index.js"
810
810
  ]
811
811
  },
812
- "transfer": {
812
+ "token-balance": {
813
813
  "aliases": [],
814
814
  "args": {},
815
815
  "examples": [
816
- "$ light transfer --mint PublicKey --to PublicKey --amount 1000"
816
+ "$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
817
817
  ],
818
818
  "flags": {
819
- "mint": {
820
- "description": "Mint to transfer",
821
- "name": "mint",
822
- "required": true,
823
- "hasDynamicHelp": false,
824
- "multiple": false,
825
- "type": "option"
826
- },
827
- "to": {
828
- "description": "Recipient address",
829
- "name": "to",
819
+ "owner": {
820
+ "description": "Address of the compressed token owner.",
821
+ "name": "owner",
830
822
  "required": true,
831
823
  "hasDynamicHelp": false,
832
824
  "multiple": false,
833
825
  "type": "option"
834
826
  },
835
- "amount": {
836
- "description": "Amount to send, in tokens",
837
- "name": "amount",
827
+ "mint": {
828
+ "description": "Mint address of the compressed token account.",
829
+ "name": "mint",
838
830
  "required": true,
839
831
  "hasDynamicHelp": false,
840
832
  "multiple": false,
841
833
  "type": "option"
842
- },
843
- "fee-payer": {
844
- "description": "Specify the fee-payer account. Defaults to the client keypair.",
845
- "name": "fee-payer",
846
- "required": false,
847
- "hasDynamicHelp": false,
848
- "multiple": false,
849
- "type": "option"
850
834
  }
851
835
  },
852
836
  "hasDynamicHelp": false,
853
837
  "hiddenAliases": [],
854
- "id": "transfer",
838
+ "id": "token-balance",
855
839
  "pluginAlias": "@lightprotocol/zk-compression-cli",
856
840
  "pluginName": "@lightprotocol/zk-compression-cli",
857
841
  "pluginType": "core",
858
842
  "strict": true,
859
- "summary": "Transfer tokens from one account to another.",
843
+ "summary": "Get balance",
860
844
  "enableJsonFlag": false,
861
845
  "isESM": false,
862
846
  "relativePath": [
863
847
  "dist",
864
848
  "commands",
865
- "transfer",
849
+ "token-balance",
866
850
  "index.js"
867
851
  ]
868
852
  },
869
- "token-balance": {
853
+ "transfer": {
870
854
  "aliases": [],
871
855
  "args": {},
872
856
  "examples": [
873
- "$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
857
+ "$ light transfer --mint PublicKey --to PublicKey --amount 1000"
874
858
  ],
875
859
  "flags": {
876
- "owner": {
877
- "description": "Address of the compressed token owner.",
878
- "name": "owner",
860
+ "mint": {
861
+ "description": "Mint to transfer",
862
+ "name": "mint",
879
863
  "required": true,
880
864
  "hasDynamicHelp": false,
881
865
  "multiple": false,
882
866
  "type": "option"
883
867
  },
884
- "mint": {
885
- "description": "Mint address of the compressed token account.",
886
- "name": "mint",
868
+ "to": {
869
+ "description": "Recipient address",
870
+ "name": "to",
871
+ "required": true,
872
+ "hasDynamicHelp": false,
873
+ "multiple": false,
874
+ "type": "option"
875
+ },
876
+ "amount": {
877
+ "description": "Amount to send, in tokens",
878
+ "name": "amount",
887
879
  "required": true,
888
880
  "hasDynamicHelp": false,
889
881
  "multiple": false,
890
882
  "type": "option"
883
+ },
884
+ "fee-payer": {
885
+ "description": "Specify the fee-payer account. Defaults to the client keypair.",
886
+ "name": "fee-payer",
887
+ "required": false,
888
+ "hasDynamicHelp": false,
889
+ "multiple": false,
890
+ "type": "option"
891
891
  }
892
892
  },
893
893
  "hasDynamicHelp": false,
894
894
  "hiddenAliases": [],
895
- "id": "token-balance",
895
+ "id": "transfer",
896
896
  "pluginAlias": "@lightprotocol/zk-compression-cli",
897
897
  "pluginName": "@lightprotocol/zk-compression-cli",
898
898
  "pluginType": "core",
899
899
  "strict": true,
900
- "summary": "Get balance",
900
+ "summary": "Transfer tokens from one account to another.",
901
901
  "enableJsonFlag": false,
902
902
  "isESM": false,
903
903
  "relativePath": [
904
904
  "dist",
905
905
  "commands",
906
- "token-balance",
906
+ "transfer",
907
907
  "index.js"
908
908
  ]
909
909
  }
910
910
  },
911
- "version": "0.27.1-alpha.8"
911
+ "version": "0.27.1-alpha.9"
912
912
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/zk-compression-cli",
3
- "version": "0.27.1-alpha.8",
3
+ "version": "0.27.1-alpha.9",
4
4
  "description": "ZK Compression: Secure Scaling on Solana",
5
5
  "maintainers": [
6
6
  {
@@ -49,8 +49,8 @@
49
49
  "tweetnacl": "^1.0.3",
50
50
  "wait-on": "^7.2.0",
51
51
  "which": "^5.0.0",
52
- "@lightprotocol/compressed-token": "0.22.1-alpha.6",
53
- "@lightprotocol/stateless.js": "0.22.1-alpha.5"
52
+ "@lightprotocol/compressed-token": "0.22.1-alpha.7",
53
+ "@lightprotocol/stateless.js": "0.22.1-alpha.6"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@eslint/js": "9.36.0",