@lightprotocol/zk-compression-cli 0.19.1 → 0.19.3

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
@@ -12,7 +12,7 @@ export declare const CARGO_GENERATE_TAG = "v0.18.4";
12
12
  export declare const SOLANA_VALIDATOR_PROCESS_NAME = "solana-test-validator";
13
13
  export declare const LIGHT_PROVER_PROCESS_NAME = "light-prover";
14
14
  export declare const INDEXER_PROCESS_NAME = "photon";
15
- export declare const PHOTON_VERSION = "0.46.0";
15
+ export declare const PHOTON_VERSION = "0.47.0";
16
16
  export declare const LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
17
17
  export declare const BASE_PATH = "../../bin/";
18
18
  export declare const PROGRAM_ID = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS";
@@ -17,7 +17,7 @@ exports.CARGO_GENERATE_TAG = "v0.18.4";
17
17
  exports.SOLANA_VALIDATOR_PROCESS_NAME = "solana-test-validator";
18
18
  exports.LIGHT_PROVER_PROCESS_NAME = "light-prover";
19
19
  exports.INDEXER_PROCESS_NAME = "photon";
20
- exports.PHOTON_VERSION = "0.46.0";
20
+ exports.PHOTON_VERSION = "0.47.0";
21
21
  exports.LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
22
22
  exports.BASE_PATH = "../../bin/";
23
23
  exports.PROGRAM_ID = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS";
@@ -188,90 +188,60 @@
188
188
  "index.js"
189
189
  ]
190
190
  },
191
- "create-mint": {
191
+ "config:config": {
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",
194
195
  "examples": [
195
- "$ light create-mint --mint-decimals 5"
196
+ "$ light config --solanaRpcUrl https://solana-api.example.com"
196
197
  ],
197
198
  "flags": {
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,
199
+ "solanaRpcUrl": {
200
+ "description": "Solana RPC url",
201
+ "name": "solanaRpcUrl",
202
202
  "hasDynamicHelp": false,
203
203
  "multiple": false,
204
204
  "type": "option"
205
205
  },
206
- "mint-authority": {
207
- "description": "Address of the mint authority. Defaults to the fee payer",
208
- "name": "mint-authority",
209
- "required": false,
206
+ "indexerUrl": {
207
+ "description": "Indexer url",
208
+ "name": "indexerUrl",
210
209
  "hasDynamicHelp": false,
211
210
  "multiple": false,
212
211
  "type": "option"
213
212
  },
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,
219
- "hasDynamicHelp": false,
220
- "multiple": false,
221
- "type": "option"
222
- }
223
- },
224
- "hasDynamicHelp": false,
225
- "hiddenAliases": [],
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,
213
+ "proverUrl": {
214
+ "description": "Prover url",
215
+ "name": "proverUrl",
252
216
  "hasDynamicHelp": false,
253
217
  "multiple": false,
254
218
  "type": "option"
219
+ },
220
+ "get": {
221
+ "description": "Gets the current config values",
222
+ "name": "get",
223
+ "required": false,
224
+ "allowNo": false,
225
+ "type": "boolean"
255
226
  }
256
227
  },
257
228
  "hasDynamicHelp": false,
258
229
  "hiddenAliases": [],
259
- "id": "create-token-pool",
230
+ "id": "config:config",
260
231
  "pluginAlias": "@lightprotocol/zk-compression-cli",
261
232
  "pluginName": "@lightprotocol/zk-compression-cli",
262
233
  "pluginType": "core",
263
234
  "strict": true,
264
- "summary": "Register an existing mint with the CompressedToken program",
265
235
  "enableJsonFlag": false,
266
236
  "isESM": false,
267
237
  "relativePath": [
268
238
  "dist",
269
239
  "commands",
270
- "create-token-pool",
240
+ "config",
271
241
  "index.js"
272
242
  ]
273
243
  },
274
- "config:config": {
244
+ "config": {
275
245
  "aliases": [],
276
246
  "args": {},
277
247
  "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",
@@ -310,7 +280,7 @@
310
280
  },
311
281
  "hasDynamicHelp": false,
312
282
  "hiddenAliases": [],
313
- "id": "config:config",
283
+ "id": "config",
314
284
  "pluginAlias": "@lightprotocol/zk-compression-cli",
315
285
  "pluginName": "@lightprotocol/zk-compression-cli",
316
286
  "pluginType": "core",
@@ -324,56 +294,86 @@
324
294
  "index.js"
325
295
  ]
326
296
  },
327
- "config": {
297
+ "create-mint": {
328
298
  "aliases": [],
329
299
  "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",
331
300
  "examples": [
332
- "$ light config --solanaRpcUrl https://solana-api.example.com"
301
+ "$ light create-mint --mint-decimals 5"
333
302
  ],
334
303
  "flags": {
335
- "solanaRpcUrl": {
336
- "description": "Solana RPC url",
337
- "name": "solanaRpcUrl",
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,
338
308
  "hasDynamicHelp": false,
339
309
  "multiple": false,
340
310
  "type": "option"
341
311
  },
342
- "indexerUrl": {
343
- "description": "Indexer url",
344
- "name": "indexerUrl",
312
+ "mint-authority": {
313
+ "description": "Address of the mint authority. Defaults to the fee payer",
314
+ "name": "mint-authority",
315
+ "required": false,
345
316
  "hasDynamicHelp": false,
346
317
  "multiple": false,
347
318
  "type": "option"
348
319
  },
349
- "proverUrl": {
350
- "description": "Prover url",
351
- "name": "proverUrl",
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,
352
325
  "hasDynamicHelp": false,
353
326
  "multiple": false,
354
327
  "type": "option"
355
- },
356
- "get": {
357
- "description": "Gets the current config values",
358
- "name": "get",
359
- "required": false,
360
- "allowNo": false,
361
- "type": "boolean"
362
328
  }
363
329
  },
364
330
  "hasDynamicHelp": false,
365
331
  "hiddenAliases": [],
366
- "id": "config",
332
+ "id": "create-mint",
367
333
  "pluginAlias": "@lightprotocol/zk-compression-cli",
368
334
  "pluginName": "@lightprotocol/zk-compression-cli",
369
335
  "pluginType": "core",
370
336
  "strict": true,
337
+ "summary": "Create a new compressed token mint",
371
338
  "enableJsonFlag": false,
372
339
  "isESM": false,
373
340
  "relativePath": [
374
341
  "dist",
375
342
  "commands",
376
- "config",
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,
358
+ "hasDynamicHelp": false,
359
+ "multiple": false,
360
+ "type": "option"
361
+ }
362
+ },
363
+ "hasDynamicHelp": false,
364
+ "hiddenAliases": [],
365
+ "id": "create-token-pool",
366
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
367
+ "pluginName": "@lightprotocol/zk-compression-cli",
368
+ "pluginType": "core",
369
+ "strict": true,
370
+ "summary": "Register an existing mint with the CompressedToken program",
371
+ "enableJsonFlag": false,
372
+ "isESM": false,
373
+ "relativePath": [
374
+ "dist",
375
+ "commands",
376
+ "create-token-pool",
377
377
  "index.js"
378
378
  ]
379
379
  },
@@ -871,5 +871,5 @@
871
871
  ]
872
872
  }
873
873
  },
874
- "version": "0.19.1"
874
+ "version": "0.19.3"
875
875
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/zk-compression-cli",
3
- "version": "0.19.1",
3
+ "version": "0.19.3",
4
4
  "description": "ZK Compression: Secure Scaling on Solana",
5
5
  "maintainers": [
6
6
  {
@@ -51,8 +51,8 @@
51
51
  "tweetnacl": "^1.0.3",
52
52
  "wait-on": "^7.2.0",
53
53
  "which": "^4.0.0",
54
- "@lightprotocol/stateless.js": "0.14.2",
55
- "@lightprotocol/compressed-token": "0.14.1",
54
+ "@lightprotocol/compressed-token": "0.14.3",
55
+ "@lightprotocol/stateless.js": "0.14.4",
56
56
  "@lightprotocol/hasher.rs": "0.2.0"
57
57
  },
58
58
  "devDependencies": {