@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.
@@ -1562,120 +1562,23 @@ const IDL = {
1562
1562
  errors: [
1563
1563
  {
1564
1564
  code: 6000,
1565
- name: 'PublicKeyAmountMissmatch',
1566
- msg: 'public keys and amounts must be of same length',
1565
+ name: 'SignerCheckFailed',
1566
+ msg: 'Signer check failed',
1567
1567
  },
1568
1568
  {
1569
1569
  code: 6001,
1570
- name: 'ComputeInputSumFailed',
1571
- msg: 'ComputeInputSumFailed',
1570
+ name: 'CreateTransferInstructionFailed',
1571
+ msg: 'Create transfer instruction failed',
1572
1572
  },
1573
1573
  {
1574
1574
  code: 6002,
1575
- name: 'ComputeOutputSumFailed',
1576
- msg: 'ComputeOutputSumFailed',
1575
+ name: 'AccountNotFound',
1576
+ msg: 'Account not found',
1577
1577
  },
1578
1578
  {
1579
1579
  code: 6003,
1580
- name: 'ComputeCompressSumFailed',
1581
- msg: 'ComputeCompressSumFailed',
1582
- },
1583
- {
1584
- code: 6004,
1585
- name: 'ComputeDecompressSumFailed',
1586
- msg: 'ComputeDecompressSumFailed',
1587
- },
1588
- {
1589
- code: 6005,
1590
- name: 'SumCheckFailed',
1591
- msg: 'SumCheckFailed',
1592
- },
1593
- {
1594
- code: 6006,
1595
- name: 'DecompressRecipientUndefinedForDecompress',
1596
- msg: 'DecompressRecipientUndefinedForDecompress',
1597
- },
1598
- {
1599
- code: 6007,
1600
- name: 'CompressedPdaUndefinedForDecompress',
1601
- msg: 'CompressedPdaUndefinedForDecompress',
1602
- },
1603
- {
1604
- code: 6008,
1605
- name: 'DeCompressAmountUndefinedForDecompress',
1606
- msg: 'DeCompressAmountUndefinedForDecompress',
1607
- },
1608
- {
1609
- code: 6009,
1610
- name: 'CompressedPdaUndefinedForCompress',
1611
- msg: 'CompressedPdaUndefinedForCompress',
1612
- },
1613
- {
1614
- code: 6010,
1615
- name: 'DeCompressAmountUndefinedForCompress',
1616
- msg: 'DeCompressAmountUndefinedForCompress',
1617
- },
1618
- {
1619
- code: 6011,
1620
- name: 'DelegateSignerCheckFailed',
1621
- msg: 'DelegateSignerCheckFailed',
1622
- },
1623
- {
1624
- code: 6012,
1625
- name: 'MintTooLarge',
1626
- msg: 'Minted amount greater than u64::MAX',
1627
- },
1628
- {
1629
- code: 6013,
1630
- name: 'SplTokenSupplyMismatch',
1631
- msg: 'SplTokenSupplyMismatch',
1632
- },
1633
- {
1634
- code: 6014,
1635
- name: 'HeapMemoryCheckFailed',
1636
- msg: 'HeapMemoryCheckFailed',
1637
- },
1638
- {
1639
- code: 6015,
1640
- name: 'InstructionNotCallable',
1641
- msg: 'The instruction is not callable',
1642
- },
1643
- {
1644
- code: 6016,
1645
- name: 'ArithmeticUnderflow',
1646
- msg: 'ArithmeticUnderflow',
1647
- },
1648
- {
1649
- code: 6017,
1650
- name: 'HashToFieldError',
1651
- msg: 'HashToFieldError',
1652
- },
1653
- {
1654
- code: 6018,
1655
- name: 'InvalidAuthorityMint',
1656
- msg: 'Expected the authority to be also a mint authority',
1657
- },
1658
- {
1659
- code: 6019,
1660
- name: 'InvalidFreezeAuthority',
1661
- msg: 'Provided authority is not the freeze authority',
1662
- },
1663
- {
1664
- code: 6020,
1665
- name: 'InvalidDelegateIndex',
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',
1580
+ name: 'SerializationError',
1581
+ msg: 'Serialization error',
1679
1582
  },
1680
1583
  ],
1681
1584
  };
@@ -5003,7 +4906,7 @@ class CompressedTokenProgram {
5003
4906
  /**
5004
4907
  * Public key that identifies the CompressedPda program
5005
4908
  */
5006
- CompressedTokenProgram.programId = new web3_js.PublicKey('HXVfQ44ATEi9WBKLSCCwM54KokdkzqXci9xCQ7ST9SYN');
4909
+ CompressedTokenProgram.programId = new web3_js.PublicKey('cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m');
5007
4910
  CompressedTokenProgram._program = null;
5008
4911
 
5009
4912
  /**