@lightprotocol/zk-compression-cli 0.20.2 → 0.20.4

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
@@ -188,60 +188,90 @@
188
188
  "index.js"
189
189
  ]
190
190
  },
191
- "config:config": {
191
+ "create-mint": {
192
192
  "aliases": [],
193
193
  "args": {},
194
- "description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
195
194
  "examples": [
196
- "$ light config --solanaRpcUrl https://solana-api.example.com"
195
+ "$ light create-mint --mint-decimals 5"
197
196
  ],
198
197
  "flags": {
199
- "solanaRpcUrl": {
200
- "description": "Solana RPC url",
201
- "name": "solanaRpcUrl",
198
+ "mint-keypair": {
199
+ "description": "Provide a path to a mint keypair file. Defaults to a random keypair",
200
+ "name": "mint-keypair",
201
+ "required": false,
202
202
  "hasDynamicHelp": false,
203
203
  "multiple": false,
204
204
  "type": "option"
205
205
  },
206
- "indexerUrl": {
207
- "description": "Indexer url",
208
- "name": "indexerUrl",
206
+ "mint-authority": {
207
+ "description": "Address of the mint authority. Defaults to the fee payer",
208
+ "name": "mint-authority",
209
+ "required": false,
209
210
  "hasDynamicHelp": false,
210
211
  "multiple": false,
211
212
  "type": "option"
212
213
  },
213
- "proverUrl": {
214
- "description": "Prover url",
215
- "name": "proverUrl",
214
+ "mint-decimals": {
215
+ "description": "Number of base 10 digits to the right of the decimal place [default: 9]",
216
+ "name": "mint-decimals",
217
+ "required": false,
218
+ "default": 9,
216
219
  "hasDynamicHelp": false,
217
220
  "multiple": false,
218
221
  "type": "option"
219
- },
220
- "get": {
221
- "description": "Gets the current config values",
222
- "name": "get",
223
- "required": false,
224
- "allowNo": false,
225
- "type": "boolean"
226
222
  }
227
223
  },
228
224
  "hasDynamicHelp": false,
229
225
  "hiddenAliases": [],
230
- "id": "config:config",
226
+ "id": "create-mint",
227
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
228
+ "pluginName": "@lightprotocol/zk-compression-cli",
229
+ "pluginType": "core",
230
+ "strict": true,
231
+ "summary": "Create a new compressed token mint",
232
+ "enableJsonFlag": false,
233
+ "isESM": false,
234
+ "relativePath": [
235
+ "dist",
236
+ "commands",
237
+ "create-mint",
238
+ "index.js"
239
+ ]
240
+ },
241
+ "create-token-pool": {
242
+ "aliases": [],
243
+ "args": {},
244
+ "examples": [
245
+ "$ light create-token-pool --mint-decimals 5"
246
+ ],
247
+ "flags": {
248
+ "mint": {
249
+ "description": "Provide a base58 encoded mint address to register",
250
+ "name": "mint",
251
+ "required": true,
252
+ "hasDynamicHelp": false,
253
+ "multiple": false,
254
+ "type": "option"
255
+ }
256
+ },
257
+ "hasDynamicHelp": false,
258
+ "hiddenAliases": [],
259
+ "id": "create-token-pool",
231
260
  "pluginAlias": "@lightprotocol/zk-compression-cli",
232
261
  "pluginName": "@lightprotocol/zk-compression-cli",
233
262
  "pluginType": "core",
234
263
  "strict": true,
264
+ "summary": "Register an existing mint with the CompressedToken program",
235
265
  "enableJsonFlag": false,
236
266
  "isESM": false,
237
267
  "relativePath": [
238
268
  "dist",
239
269
  "commands",
240
- "config",
270
+ "create-token-pool",
241
271
  "index.js"
242
272
  ]
243
273
  },
244
- "config": {
274
+ "config:config": {
245
275
  "aliases": [],
246
276
  "args": {},
247
277
  "description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
@@ -280,7 +310,7 @@
280
310
  },
281
311
  "hasDynamicHelp": false,
282
312
  "hiddenAliases": [],
283
- "id": "config",
313
+ "id": "config:config",
284
314
  "pluginAlias": "@lightprotocol/zk-compression-cli",
285
315
  "pluginName": "@lightprotocol/zk-compression-cli",
286
316
  "pluginType": "core",
@@ -294,86 +324,56 @@
294
324
  "index.js"
295
325
  ]
296
326
  },
297
- "create-mint": {
327
+ "config": {
298
328
  "aliases": [],
299
329
  "args": {},
330
+ "description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
300
331
  "examples": [
301
- "$ light create-mint --mint-decimals 5"
332
+ "$ light config --solanaRpcUrl https://solana-api.example.com"
302
333
  ],
303
334
  "flags": {
304
- "mint-keypair": {
305
- "description": "Provide a path to a mint keypair file. Defaults to a random keypair",
306
- "name": "mint-keypair",
307
- "required": false,
335
+ "solanaRpcUrl": {
336
+ "description": "Solana RPC url",
337
+ "name": "solanaRpcUrl",
308
338
  "hasDynamicHelp": false,
309
339
  "multiple": false,
310
340
  "type": "option"
311
341
  },
312
- "mint-authority": {
313
- "description": "Address of the mint authority. Defaults to the fee payer",
314
- "name": "mint-authority",
315
- "required": false,
342
+ "indexerUrl": {
343
+ "description": "Indexer url",
344
+ "name": "indexerUrl",
316
345
  "hasDynamicHelp": false,
317
346
  "multiple": false,
318
347
  "type": "option"
319
348
  },
320
- "mint-decimals": {
321
- "description": "Number of base 10 digits to the right of the decimal place [default: 9]",
322
- "name": "mint-decimals",
323
- "required": false,
324
- "default": 9,
325
- "hasDynamicHelp": false,
326
- "multiple": false,
327
- "type": "option"
328
- }
329
- },
330
- "hasDynamicHelp": false,
331
- "hiddenAliases": [],
332
- "id": "create-mint",
333
- "pluginAlias": "@lightprotocol/zk-compression-cli",
334
- "pluginName": "@lightprotocol/zk-compression-cli",
335
- "pluginType": "core",
336
- "strict": true,
337
- "summary": "Create a new compressed token mint",
338
- "enableJsonFlag": false,
339
- "isESM": false,
340
- "relativePath": [
341
- "dist",
342
- "commands",
343
- "create-mint",
344
- "index.js"
345
- ]
346
- },
347
- "create-token-pool": {
348
- "aliases": [],
349
- "args": {},
350
- "examples": [
351
- "$ light create-token-pool --mint-decimals 5"
352
- ],
353
- "flags": {
354
- "mint": {
355
- "description": "Provide a base58 encoded mint address to register",
356
- "name": "mint",
357
- "required": true,
349
+ "proverUrl": {
350
+ "description": "Prover url",
351
+ "name": "proverUrl",
358
352
  "hasDynamicHelp": false,
359
353
  "multiple": false,
360
354
  "type": "option"
355
+ },
356
+ "get": {
357
+ "description": "Gets the current config values",
358
+ "name": "get",
359
+ "required": false,
360
+ "allowNo": false,
361
+ "type": "boolean"
361
362
  }
362
363
  },
363
364
  "hasDynamicHelp": false,
364
365
  "hiddenAliases": [],
365
- "id": "create-token-pool",
366
+ "id": "config",
366
367
  "pluginAlias": "@lightprotocol/zk-compression-cli",
367
368
  "pluginName": "@lightprotocol/zk-compression-cli",
368
369
  "pluginType": "core",
369
370
  "strict": true,
370
- "summary": "Register an existing mint with the CompressedToken program",
371
371
  "enableJsonFlag": false,
372
372
  "isESM": false,
373
373
  "relativePath": [
374
374
  "dist",
375
375
  "commands",
376
- "create-token-pool",
376
+ "config",
377
377
  "index.js"
378
378
  ]
379
379
  },
@@ -873,5 +873,5 @@
873
873
  ]
874
874
  }
875
875
  },
876
- "version": "0.20.2"
876
+ "version": "0.20.4"
877
877
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/zk-compression-cli",
3
- "version": "0.20.2",
3
+ "version": "0.20.4",
4
4
  "description": "ZK Compression: Secure Scaling on Solana",
5
5
  "maintainers": [
6
6
  {
@@ -55,9 +55,9 @@
55
55
  "tweetnacl": "^1.0.3",
56
56
  "wait-on": "^7.2.0",
57
57
  "which": "^4.0.0",
58
- "@lightprotocol/stateless.js": "0.15.1",
59
- "@lightprotocol/compressed-token": "0.15.2",
60
- "@lightprotocol/hasher.rs": "0.2.0"
58
+ "@lightprotocol/compressed-token": "0.15.4",
59
+ "@lightprotocol/hasher.rs": "0.2.0",
60
+ "@lightprotocol/stateless.js": "0.15.4"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@oclif/test": "2.3.9",