@lightprotocol/compressed-token 0.10.1 → 0.11.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.
@@ -1561,120 +1561,23 @@ const IDL = {
1561
1561
  errors: [
1562
1562
  {
1563
1563
  code: 6000,
1564
- name: 'PublicKeyAmountMissmatch',
1565
- msg: 'public keys and amounts must be of same length',
1564
+ name: 'SignerCheckFailed',
1565
+ msg: 'Signer check failed',
1566
1566
  },
1567
1567
  {
1568
1568
  code: 6001,
1569
- name: 'ComputeInputSumFailed',
1570
- msg: 'ComputeInputSumFailed',
1569
+ name: 'CreateTransferInstructionFailed',
1570
+ msg: 'Create transfer instruction failed',
1571
1571
  },
1572
1572
  {
1573
1573
  code: 6002,
1574
- name: 'ComputeOutputSumFailed',
1575
- msg: 'ComputeOutputSumFailed',
1574
+ name: 'AccountNotFound',
1575
+ msg: 'Account not found',
1576
1576
  },
1577
1577
  {
1578
1578
  code: 6003,
1579
- name: 'ComputeCompressSumFailed',
1580
- msg: 'ComputeCompressSumFailed',
1581
- },
1582
- {
1583
- code: 6004,
1584
- name: 'ComputeDecompressSumFailed',
1585
- msg: 'ComputeDecompressSumFailed',
1586
- },
1587
- {
1588
- code: 6005,
1589
- name: 'SumCheckFailed',
1590
- msg: 'SumCheckFailed',
1591
- },
1592
- {
1593
- code: 6006,
1594
- name: 'DecompressRecipientUndefinedForDecompress',
1595
- msg: 'DecompressRecipientUndefinedForDecompress',
1596
- },
1597
- {
1598
- code: 6007,
1599
- name: 'CompressedPdaUndefinedForDecompress',
1600
- msg: 'CompressedPdaUndefinedForDecompress',
1601
- },
1602
- {
1603
- code: 6008,
1604
- name: 'DeCompressAmountUndefinedForDecompress',
1605
- msg: 'DeCompressAmountUndefinedForDecompress',
1606
- },
1607
- {
1608
- code: 6009,
1609
- name: 'CompressedPdaUndefinedForCompress',
1610
- msg: 'CompressedPdaUndefinedForCompress',
1611
- },
1612
- {
1613
- code: 6010,
1614
- name: 'DeCompressAmountUndefinedForCompress',
1615
- msg: 'DeCompressAmountUndefinedForCompress',
1616
- },
1617
- {
1618
- code: 6011,
1619
- name: 'DelegateSignerCheckFailed',
1620
- msg: 'DelegateSignerCheckFailed',
1621
- },
1622
- {
1623
- code: 6012,
1624
- name: 'MintTooLarge',
1625
- msg: 'Minted amount greater than u64::MAX',
1626
- },
1627
- {
1628
- code: 6013,
1629
- name: 'SplTokenSupplyMismatch',
1630
- msg: 'SplTokenSupplyMismatch',
1631
- },
1632
- {
1633
- code: 6014,
1634
- name: 'HeapMemoryCheckFailed',
1635
- msg: 'HeapMemoryCheckFailed',
1636
- },
1637
- {
1638
- code: 6015,
1639
- name: 'InstructionNotCallable',
1640
- msg: 'The instruction is not callable',
1641
- },
1642
- {
1643
- code: 6016,
1644
- name: 'ArithmeticUnderflow',
1645
- msg: 'ArithmeticUnderflow',
1646
- },
1647
- {
1648
- code: 6017,
1649
- name: 'HashToFieldError',
1650
- msg: 'HashToFieldError',
1651
- },
1652
- {
1653
- code: 6018,
1654
- name: 'InvalidAuthorityMint',
1655
- msg: 'Expected the authority to be also a mint authority',
1656
- },
1657
- {
1658
- code: 6019,
1659
- name: 'InvalidFreezeAuthority',
1660
- msg: 'Provided authority is not the freeze authority',
1661
- },
1662
- {
1663
- code: 6020,
1664
- name: 'InvalidDelegateIndex',
1665
- },
1666
- {
1667
- code: 6021,
1668
- name: 'TokenPoolPdaUndefined',
1669
- },
1670
- {
1671
- code: 6022,
1672
- name: 'IsTokenPoolPda',
1673
- msg: 'Compress or decompress recipient is the same account as the token pool pda.',
1674
- },
1675
- {
1676
- code: 6023,
1677
- name: 'InvalidTokenPoolPda',
1579
+ name: 'SerializationError',
1580
+ msg: 'Serialization error',
1678
1581
  },
1679
1582
  ],
1680
1583
  };
@@ -7026,7 +6929,7 @@ class CompressedTokenProgram {
7026
6929
  /**
7027
6930
  * Public key that identifies the CompressedPda program
7028
6931
  */
7029
- CompressedTokenProgram.programId = new web3_js.PublicKey('HXVfQ44ATEi9WBKLSCCwM54KokdkzqXci9xCQ7ST9SYN');
6932
+ CompressedTokenProgram.programId = new web3_js.PublicKey('cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m');
7030
6933
  CompressedTokenProgram._program = null;
7031
6934
 
7032
6935
  /**