@lightprotocol/compressed-token 0.5.0 → 0.7.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.
- package/dist/cjs/browser/index.cjs +46 -24
- package/dist/cjs/browser/index.cjs.map +1 -1
- package/dist/cjs/node/index.cjs +46 -24
- package/dist/cjs/node/index.cjs.map +1 -1
- package/dist/es/browser/index.js +46 -24
- package/dist/es/browser/index.js.map +1 -1
- package/dist/types/index.d.ts +46 -24
- package/package.json +9 -14
package/dist/cjs/node/index.cjs
CHANGED
|
@@ -230,10 +230,7 @@ const IDL = {
|
|
|
230
230
|
name: 'selfProgram',
|
|
231
231
|
isMut: false,
|
|
232
232
|
isSigner: false,
|
|
233
|
-
docs: [
|
|
234
|
-
'(different program) checked in light system program to derive',
|
|
235
|
-
'cpi_authority_pda and check that this program is the signer of the cpi.',
|
|
236
|
-
],
|
|
233
|
+
docs: ['this program is the signer of the cpi.'],
|
|
237
234
|
},
|
|
238
235
|
{
|
|
239
236
|
name: 'tokenPoolPda',
|
|
@@ -327,10 +324,7 @@ const IDL = {
|
|
|
327
324
|
name: 'selfProgram',
|
|
328
325
|
isMut: false,
|
|
329
326
|
isSigner: false,
|
|
330
|
-
docs: [
|
|
331
|
-
'(different program) checked in light system program to derive',
|
|
332
|
-
'cpi_authority_pda and check that this program is the signer of the cpi.',
|
|
333
|
-
],
|
|
327
|
+
docs: ['this program is the signer of the cpi.'],
|
|
334
328
|
},
|
|
335
329
|
{
|
|
336
330
|
name: 'systemProgram',
|
|
@@ -402,10 +396,7 @@ const IDL = {
|
|
|
402
396
|
name: 'selfProgram',
|
|
403
397
|
isMut: false,
|
|
404
398
|
isSigner: false,
|
|
405
|
-
docs: [
|
|
406
|
-
'(different program) checked in light system program to derive',
|
|
407
|
-
'cpi_authority_pda and check that this program is the signer of the cpi.',
|
|
408
|
-
],
|
|
399
|
+
docs: ['this program is the signer of the cpi.'],
|
|
409
400
|
},
|
|
410
401
|
{
|
|
411
402
|
name: 'systemProgram',
|
|
@@ -472,10 +463,7 @@ const IDL = {
|
|
|
472
463
|
name: 'selfProgram',
|
|
473
464
|
isMut: false,
|
|
474
465
|
isSigner: false,
|
|
475
|
-
docs: [
|
|
476
|
-
'(different program) checked in light system program to derive',
|
|
477
|
-
'cpi_authority_pda and check that this program is the signer of the cpi.',
|
|
478
|
-
],
|
|
466
|
+
docs: ['that this program is the signer of the cpi.'],
|
|
479
467
|
},
|
|
480
468
|
{
|
|
481
469
|
name: 'systemProgram',
|
|
@@ -547,10 +535,7 @@ const IDL = {
|
|
|
547
535
|
name: 'selfProgram',
|
|
548
536
|
isMut: false,
|
|
549
537
|
isSigner: false,
|
|
550
|
-
docs: [
|
|
551
|
-
'(different program) checked in light system program to derive',
|
|
552
|
-
'cpi_authority_pda and check that this program is the signer of the cpi.',
|
|
553
|
-
],
|
|
538
|
+
docs: ['that this program is the signer of the cpi.'],
|
|
554
539
|
},
|
|
555
540
|
{
|
|
556
541
|
name: 'systemProgram',
|
|
@@ -715,10 +700,7 @@ const IDL = {
|
|
|
715
700
|
name: 'selfProgram',
|
|
716
701
|
isMut: false,
|
|
717
702
|
isSigner: false,
|
|
718
|
-
docs: [
|
|
719
|
-
'(different program) checked in light system program to derive',
|
|
720
|
-
'cpi_authority_pda and check that this program is the signer of the cpi.',
|
|
721
|
-
],
|
|
703
|
+
docs: ['this program is the signer of the cpi.'],
|
|
722
704
|
},
|
|
723
705
|
{
|
|
724
706
|
name: 'tokenPoolPda',
|
|
@@ -778,6 +760,18 @@ const IDL = {
|
|
|
778
760
|
],
|
|
779
761
|
type: 'publicKey',
|
|
780
762
|
},
|
|
763
|
+
{
|
|
764
|
+
name: 'forester',
|
|
765
|
+
docs: [
|
|
766
|
+
'Optional privileged forester pubkey, can be set for custom Merkle trees',
|
|
767
|
+
'without a network fee. Merkle trees without network fees are not',
|
|
768
|
+
'forested by light foresters. The variable is not used in the account',
|
|
769
|
+
'compression program but the registry program. The registry program',
|
|
770
|
+
'implements access control to prevent contention during forester. The',
|
|
771
|
+
'forester pubkey specified in this struct can bypass contention checks.',
|
|
772
|
+
],
|
|
773
|
+
type: 'publicKey',
|
|
774
|
+
},
|
|
781
775
|
],
|
|
782
776
|
},
|
|
783
777
|
},
|
|
@@ -1289,6 +1283,13 @@ const IDL = {
|
|
|
1289
1283
|
],
|
|
1290
1284
|
type: 'u16',
|
|
1291
1285
|
},
|
|
1286
|
+
{
|
|
1287
|
+
name: 'readOnly',
|
|
1288
|
+
docs: [
|
|
1289
|
+
'Placeholder to mark accounts read-only unimplemented set to false.',
|
|
1290
|
+
],
|
|
1291
|
+
type: 'bool',
|
|
1292
|
+
},
|
|
1292
1293
|
],
|
|
1293
1294
|
},
|
|
1294
1295
|
},
|
|
@@ -1497,6 +1498,14 @@ const IDL = {
|
|
|
1497
1498
|
],
|
|
1498
1499
|
type: 'u64',
|
|
1499
1500
|
},
|
|
1501
|
+
{
|
|
1502
|
+
name: 'additionalBytes',
|
|
1503
|
+
docs: [
|
|
1504
|
+
'Placeholder for bytes of additional accounts which are tied to the',
|
|
1505
|
+
'Merkle trees operation and need to be rolled over as well.',
|
|
1506
|
+
],
|
|
1507
|
+
type: 'u64',
|
|
1508
|
+
},
|
|
1500
1509
|
],
|
|
1501
1510
|
},
|
|
1502
1511
|
},
|
|
@@ -1655,6 +1664,19 @@ const IDL = {
|
|
|
1655
1664
|
code: 6020,
|
|
1656
1665
|
name: 'InvalidDelegateIndex',
|
|
1657
1666
|
},
|
|
1667
|
+
{
|
|
1668
|
+
code: 6021,
|
|
1669
|
+
name: 'TokenPoolPdaUndefined',
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
code: 6022,
|
|
1673
|
+
name: 'IsTokenPoolPda',
|
|
1674
|
+
msg: 'Compress or decompress recipient is the same account as the token pool pda.',
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
code: 6023,
|
|
1678
|
+
name: 'InvalidTokenPoolPda',
|
|
1679
|
+
},
|
|
1658
1680
|
],
|
|
1659
1681
|
};
|
|
1660
1682
|
|