@lightprotocol/zk-compression-cli 0.28.0-beta.9 → 0.28.1

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.
@@ -14,8 +14,8 @@ export declare const SURFPOOL_PROCESS_NAME = "surfpool";
14
14
  export declare const LIGHT_PROVER_PROCESS_NAME = "light-prover";
15
15
  export declare const INDEXER_PROCESS_NAME = "photon";
16
16
  export declare const FORESTER_PROCESS_NAME = "forester";
17
- export declare const SURFPOOL_VERSION = "1.0.1";
18
- export declare const SURFPOOL_RELEASE_TAG = "v1.0.1-light";
17
+ export declare const SURFPOOL_VERSION = "1.1.1";
18
+ export declare const SURFPOOL_RELEASE_TAG = "v1.1.1-light";
19
19
  export declare const LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
20
20
  export declare const BASE_PATH = "../../bin/";
21
21
  export declare const PROGRAM_ID = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS";
@@ -19,8 +19,8 @@ exports.SURFPOOL_PROCESS_NAME = "surfpool";
19
19
  exports.LIGHT_PROVER_PROCESS_NAME = "light-prover";
20
20
  exports.INDEXER_PROCESS_NAME = "photon";
21
21
  exports.FORESTER_PROCESS_NAME = "forester";
22
- exports.SURFPOOL_VERSION = "1.0.1";
23
- exports.SURFPOOL_RELEASE_TAG = "v1.0.1-light";
22
+ exports.SURFPOOL_VERSION = "1.1.1";
23
+ exports.SURFPOOL_RELEASE_TAG = "v1.1.1-light";
24
24
  // PHOTON_VERSION, PHOTON_GIT_COMMIT, and PHOTON_GIT_REPO are auto-generated
25
25
  // from the external/photon submodule at build time. See photonVersion.generated.ts.
26
26
  exports.LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
@@ -1,3 +1,3 @@
1
1
  export declare const PHOTON_VERSION = "0.51.2";
2
- export declare const PHOTON_GIT_COMMIT = "84ddfc0f586806373567faf75f45158076a4f133";
2
+ export declare const PHOTON_GIT_COMMIT = "52ca110cf8e3d5aca6e65e1ef8e98b7632d3a16f";
3
3
  export declare const PHOTON_GIT_REPO = "https://github.com/lightprotocol/photon.git";
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PHOTON_GIT_REPO = exports.PHOTON_GIT_COMMIT = exports.PHOTON_VERSION = void 0;
4
4
  // Auto-generated from external/photon submodule - do not edit manually
5
5
  exports.PHOTON_VERSION = "0.51.2";
6
- exports.PHOTON_GIT_COMMIT = "84ddfc0f586806373567faf75f45158076a4f133";
6
+ exports.PHOTON_GIT_COMMIT = "52ca110cf8e3d5aca6e65e1ef8e98b7632d3a16f";
7
7
  exports.PHOTON_GIT_REPO = "https://github.com/lightprotocol/photon.git";
@@ -131,60 +131,56 @@
131
131
  "index.js"
132
132
  ]
133
133
  },
134
- "config:config": {
134
+ "compress-spl": {
135
135
  "aliases": [],
136
136
  "args": {},
137
- "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",
138
137
  "examples": [
139
- "$ light config --solanaRpcUrl https://solana-api.example.com"
138
+ "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
140
139
  ],
141
140
  "flags": {
142
- "solanaRpcUrl": {
143
- "description": "Solana RPC url",
144
- "name": "solanaRpcUrl",
141
+ "mint": {
142
+ "description": "Specify the mint address.",
143
+ "name": "mint",
144
+ "required": true,
145
145
  "hasDynamicHelp": false,
146
146
  "multiple": false,
147
147
  "type": "option"
148
148
  },
149
- "indexerUrl": {
150
- "description": "Indexer url",
151
- "name": "indexerUrl",
149
+ "to": {
150
+ "description": "Specify the recipient address (owner of destination compressed token account).",
151
+ "name": "to",
152
+ "required": true,
152
153
  "hasDynamicHelp": false,
153
154
  "multiple": false,
154
155
  "type": "option"
155
156
  },
156
- "proverUrl": {
157
- "description": "Prover url",
158
- "name": "proverUrl",
157
+ "amount": {
158
+ "description": "Amount to compress, in tokens.",
159
+ "name": "amount",
160
+ "required": true,
159
161
  "hasDynamicHelp": false,
160
162
  "multiple": false,
161
163
  "type": "option"
162
- },
163
- "get": {
164
- "description": "Gets the current config values",
165
- "name": "get",
166
- "required": false,
167
- "allowNo": false,
168
- "type": "boolean"
169
164
  }
170
165
  },
171
166
  "hasDynamicHelp": false,
172
167
  "hiddenAliases": [],
173
- "id": "config:config",
168
+ "id": "compress-spl",
174
169
  "pluginAlias": "@lightprotocol/zk-compression-cli",
175
170
  "pluginName": "@lightprotocol/zk-compression-cli",
176
171
  "pluginType": "core",
177
172
  "strict": true,
173
+ "summary": "Compress SPL tokens.",
178
174
  "enableJsonFlag": false,
179
175
  "isESM": false,
180
176
  "relativePath": [
181
177
  "dist",
182
178
  "commands",
183
- "config",
179
+ "compress-spl",
184
180
  "index.js"
185
181
  ]
186
182
  },
187
- "config": {
183
+ "config:config": {
188
184
  "aliases": [],
189
185
  "args": {},
190
186
  "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",
@@ -223,7 +219,7 @@
223
219
  },
224
220
  "hasDynamicHelp": false,
225
221
  "hiddenAliases": [],
226
- "id": "config",
222
+ "id": "config:config",
227
223
  "pluginAlias": "@lightprotocol/zk-compression-cli",
228
224
  "pluginName": "@lightprotocol/zk-compression-cli",
229
225
  "pluginType": "core",
@@ -237,52 +233,56 @@
237
233
  "index.js"
238
234
  ]
239
235
  },
240
- "compress-spl": {
236
+ "config": {
241
237
  "aliases": [],
242
238
  "args": {},
239
+ "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",
243
240
  "examples": [
244
- "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
241
+ "$ light config --solanaRpcUrl https://solana-api.example.com"
245
242
  ],
246
243
  "flags": {
247
- "mint": {
248
- "description": "Specify the mint address.",
249
- "name": "mint",
250
- "required": true,
244
+ "solanaRpcUrl": {
245
+ "description": "Solana RPC url",
246
+ "name": "solanaRpcUrl",
251
247
  "hasDynamicHelp": false,
252
248
  "multiple": false,
253
249
  "type": "option"
254
250
  },
255
- "to": {
256
- "description": "Specify the recipient address (owner of destination compressed token account).",
257
- "name": "to",
258
- "required": true,
251
+ "indexerUrl": {
252
+ "description": "Indexer url",
253
+ "name": "indexerUrl",
259
254
  "hasDynamicHelp": false,
260
255
  "multiple": false,
261
256
  "type": "option"
262
257
  },
263
- "amount": {
264
- "description": "Amount to compress, in tokens.",
265
- "name": "amount",
266
- "required": true,
258
+ "proverUrl": {
259
+ "description": "Prover url",
260
+ "name": "proverUrl",
267
261
  "hasDynamicHelp": false,
268
262
  "multiple": false,
269
263
  "type": "option"
264
+ },
265
+ "get": {
266
+ "description": "Gets the current config values",
267
+ "name": "get",
268
+ "required": false,
269
+ "allowNo": false,
270
+ "type": "boolean"
270
271
  }
271
272
  },
272
273
  "hasDynamicHelp": false,
273
274
  "hiddenAliases": [],
274
- "id": "compress-spl",
275
+ "id": "config",
275
276
  "pluginAlias": "@lightprotocol/zk-compression-cli",
276
277
  "pluginName": "@lightprotocol/zk-compression-cli",
277
278
  "pluginType": "core",
278
279
  "strict": true,
279
- "summary": "Compress SPL tokens.",
280
280
  "enableJsonFlag": false,
281
281
  "isESM": false,
282
282
  "relativePath": [
283
283
  "dist",
284
284
  "commands",
285
- "compress-spl",
285
+ "config",
286
286
  "index.js"
287
287
  ]
288
288
  },
@@ -527,6 +527,45 @@
527
527
  "index.js"
528
528
  ]
529
529
  },
530
+ "start-prover": {
531
+ "aliases": [],
532
+ "args": {},
533
+ "description": "Start gnark prover",
534
+ "flags": {
535
+ "prover-port": {
536
+ "description": "Enable Light Prover server on this port.",
537
+ "name": "prover-port",
538
+ "required": false,
539
+ "default": 3001,
540
+ "hasDynamicHelp": false,
541
+ "multiple": false,
542
+ "type": "option"
543
+ },
544
+ "redisUrl": {
545
+ "description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
546
+ "name": "redisUrl",
547
+ "required": false,
548
+ "hasDynamicHelp": false,
549
+ "multiple": false,
550
+ "type": "option"
551
+ }
552
+ },
553
+ "hasDynamicHelp": false,
554
+ "hiddenAliases": [],
555
+ "id": "start-prover",
556
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
557
+ "pluginName": "@lightprotocol/zk-compression-cli",
558
+ "pluginType": "core",
559
+ "strict": true,
560
+ "enableJsonFlag": false,
561
+ "isESM": false,
562
+ "relativePath": [
563
+ "dist",
564
+ "commands",
565
+ "start-prover",
566
+ "index.js"
567
+ ]
568
+ },
530
569
  "mint-to": {
531
570
  "aliases": [],
532
571
  "args": {},
@@ -584,23 +623,81 @@
584
623
  "index.js"
585
624
  ]
586
625
  },
587
- "start-prover": {
626
+ "token-balance": {
588
627
  "aliases": [],
589
628
  "args": {},
590
- "description": "Start gnark prover",
629
+ "examples": [
630
+ "$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
631
+ ],
591
632
  "flags": {
592
- "prover-port": {
593
- "description": "Enable Light Prover server on this port.",
594
- "name": "prover-port",
595
- "required": false,
596
- "default": 3001,
633
+ "owner": {
634
+ "description": "Address of the compressed token owner.",
635
+ "name": "owner",
636
+ "required": true,
597
637
  "hasDynamicHelp": false,
598
638
  "multiple": false,
599
639
  "type": "option"
600
640
  },
601
- "redisUrl": {
602
- "description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
603
- "name": "redisUrl",
641
+ "mint": {
642
+ "description": "Mint address of the compressed token account.",
643
+ "name": "mint",
644
+ "required": true,
645
+ "hasDynamicHelp": false,
646
+ "multiple": false,
647
+ "type": "option"
648
+ }
649
+ },
650
+ "hasDynamicHelp": false,
651
+ "hiddenAliases": [],
652
+ "id": "token-balance",
653
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
654
+ "pluginName": "@lightprotocol/zk-compression-cli",
655
+ "pluginType": "core",
656
+ "strict": true,
657
+ "summary": "Get balance",
658
+ "enableJsonFlag": false,
659
+ "isESM": false,
660
+ "relativePath": [
661
+ "dist",
662
+ "commands",
663
+ "token-balance",
664
+ "index.js"
665
+ ]
666
+ },
667
+ "transfer": {
668
+ "aliases": [],
669
+ "args": {},
670
+ "examples": [
671
+ "$ light transfer --mint PublicKey --to PublicKey --amount 1000"
672
+ ],
673
+ "flags": {
674
+ "mint": {
675
+ "description": "Mint to transfer",
676
+ "name": "mint",
677
+ "required": true,
678
+ "hasDynamicHelp": false,
679
+ "multiple": false,
680
+ "type": "option"
681
+ },
682
+ "to": {
683
+ "description": "Recipient address",
684
+ "name": "to",
685
+ "required": true,
686
+ "hasDynamicHelp": false,
687
+ "multiple": false,
688
+ "type": "option"
689
+ },
690
+ "amount": {
691
+ "description": "Amount to send, in tokens",
692
+ "name": "amount",
693
+ "required": true,
694
+ "hasDynamicHelp": false,
695
+ "multiple": false,
696
+ "type": "option"
697
+ },
698
+ "fee-payer": {
699
+ "description": "Specify the fee-payer account. Defaults to the client keypair.",
700
+ "name": "fee-payer",
604
701
  "required": false,
605
702
  "hasDynamicHelp": false,
606
703
  "multiple": false,
@@ -609,17 +706,18 @@
609
706
  },
610
707
  "hasDynamicHelp": false,
611
708
  "hiddenAliases": [],
612
- "id": "start-prover",
709
+ "id": "transfer",
613
710
  "pluginAlias": "@lightprotocol/zk-compression-cli",
614
711
  "pluginName": "@lightprotocol/zk-compression-cli",
615
712
  "pluginType": "core",
616
713
  "strict": true,
714
+ "summary": "Transfer tokens from one account to another.",
617
715
  "enableJsonFlag": false,
618
716
  "isESM": false,
619
717
  "relativePath": [
620
718
  "dist",
621
719
  "commands",
622
- "start-prover",
720
+ "transfer",
623
721
  "index.js"
624
722
  ]
625
723
  },
@@ -856,105 +954,7 @@
856
954
  "test-validator",
857
955
  "index.js"
858
956
  ]
859
- },
860
- "transfer": {
861
- "aliases": [],
862
- "args": {},
863
- "examples": [
864
- "$ light transfer --mint PublicKey --to PublicKey --amount 1000"
865
- ],
866
- "flags": {
867
- "mint": {
868
- "description": "Mint to transfer",
869
- "name": "mint",
870
- "required": true,
871
- "hasDynamicHelp": false,
872
- "multiple": false,
873
- "type": "option"
874
- },
875
- "to": {
876
- "description": "Recipient address",
877
- "name": "to",
878
- "required": true,
879
- "hasDynamicHelp": false,
880
- "multiple": false,
881
- "type": "option"
882
- },
883
- "amount": {
884
- "description": "Amount to send, in tokens",
885
- "name": "amount",
886
- "required": true,
887
- "hasDynamicHelp": false,
888
- "multiple": false,
889
- "type": "option"
890
- },
891
- "fee-payer": {
892
- "description": "Specify the fee-payer account. Defaults to the client keypair.",
893
- "name": "fee-payer",
894
- "required": false,
895
- "hasDynamicHelp": false,
896
- "multiple": false,
897
- "type": "option"
898
- }
899
- },
900
- "hasDynamicHelp": false,
901
- "hiddenAliases": [],
902
- "id": "transfer",
903
- "pluginAlias": "@lightprotocol/zk-compression-cli",
904
- "pluginName": "@lightprotocol/zk-compression-cli",
905
- "pluginType": "core",
906
- "strict": true,
907
- "summary": "Transfer tokens from one account to another.",
908
- "enableJsonFlag": false,
909
- "isESM": false,
910
- "relativePath": [
911
- "dist",
912
- "commands",
913
- "transfer",
914
- "index.js"
915
- ]
916
- },
917
- "token-balance": {
918
- "aliases": [],
919
- "args": {},
920
- "examples": [
921
- "$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
922
- ],
923
- "flags": {
924
- "owner": {
925
- "description": "Address of the compressed token owner.",
926
- "name": "owner",
927
- "required": true,
928
- "hasDynamicHelp": false,
929
- "multiple": false,
930
- "type": "option"
931
- },
932
- "mint": {
933
- "description": "Mint address of the compressed token account.",
934
- "name": "mint",
935
- "required": true,
936
- "hasDynamicHelp": false,
937
- "multiple": false,
938
- "type": "option"
939
- }
940
- },
941
- "hasDynamicHelp": false,
942
- "hiddenAliases": [],
943
- "id": "token-balance",
944
- "pluginAlias": "@lightprotocol/zk-compression-cli",
945
- "pluginName": "@lightprotocol/zk-compression-cli",
946
- "pluginType": "core",
947
- "strict": true,
948
- "summary": "Get balance",
949
- "enableJsonFlag": false,
950
- "isESM": false,
951
- "relativePath": [
952
- "dist",
953
- "commands",
954
- "token-balance",
955
- "index.js"
956
- ]
957
957
  }
958
958
  },
959
- "version": "0.28.0-beta.9"
959
+ "version": "0.28.1"
960
960
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/zk-compression-cli",
3
- "version": "0.28.0-beta.9",
3
+ "version": "0.28.1",
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.23.0-beta.9",
53
- "@lightprotocol/stateless.js": "0.23.0-beta.9"
52
+ "@lightprotocol/compressed-token": "0.23.1",
53
+ "@lightprotocol/stateless.js": "0.23.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@eslint/js": "9.36.0",