@lightprotocol/stateless.js 0.15.2 → 0.15.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.
@@ -13972,7 +13972,11 @@ async function getCompressedAccountsForTest(rpc) {
13972
13972
  const tokenProgramId = new web3_js.PublicKey(
13973
13973
  // TODO: can add check to ensure its consistent with the idl
13974
13974
  'cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m');
13975
- /** @internal */
13975
+ /**
13976
+ * Manually parse the compressed token layout for a given compressed account.
13977
+ * @param compressedAccount - The compressed account
13978
+ * @returns The parsed token data
13979
+ */
13976
13980
  function parseTokenLayoutWithIdl(compressedAccount) {
13977
13981
  if (compressedAccount.data === null)
13978
13982
  return null;
@@ -14646,6 +14650,10 @@ exports.deriveAddress = deriveAddress;
14646
14650
  exports.deriveAddressSeed = deriveAddressSeed;
14647
14651
  exports.encodeBN254toBase58 = encodeBN254toBase58;
14648
14652
  exports.getAccountCompressionAuthority = getAccountCompressionAuthority;
14653
+ exports.getCompressedTokenAccountByHashTest = getCompressedTokenAccountByHashTest;
14654
+ exports.getCompressedTokenAccounts = getCompressedTokenAccounts;
14655
+ exports.getCompressedTokenAccountsByDelegateTest = getCompressedTokenAccountsByDelegateTest;
14656
+ exports.getCompressedTokenAccountsByOwnerTest = getCompressedTokenAccountsByOwnerTest;
14649
14657
  exports.getConnection = getConnection;
14650
14658
  exports.getIndexOrAdd = getIndexOrAdd;
14651
14659
  exports.getParsedEvents = getParsedEvents;
@@ -14668,6 +14676,7 @@ exports.padOutputStateMerkleTrees = padOutputStateMerkleTrees;
14668
14676
  exports.parseAccountData = parseAccountData;
14669
14677
  exports.parseEvents = parseEvents;
14670
14678
  exports.parsePublicTransactionEventWithIdl = parsePublicTransactionEventWithIdl;
14679
+ exports.parseTokenLayoutWithIdl = parseTokenLayoutWithIdl;
14671
14680
  exports.pipe = pipe;
14672
14681
  exports.placeholderValidityProof = placeholderValidityProof;
14673
14682
  exports.proofFromJsonStruct = proofFromJsonStruct;