@indexing/jiti 0.0.69 → 0.0.71

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/module.js CHANGED
@@ -1395,12 +1395,14 @@ const $64e1e522540ffc4e$export$a51565c56ceacb0a = {
1395
1395
  $64e1e522540ffc4e$var$SPL_TOKEN_2022_PROGRAM
1396
1396
  ].includes(programId)) {
1397
1397
  // TRANSFER, TRANSFER CHECKED
1398
- if (instSig.startsWith("3,") && inst.accounts.length === 3 || instSig.startsWith("12,") && inst.accounts.length >= 4) {
1398
+ if (instSig.startsWith("3,") && inst.accounts.length >= 3 || instSig.startsWith("12,") && inst.accounts.length >= 4) {
1399
1399
  const amountData = $64e1e522540ffc4e$require$Buffer.from(instData).slice(1, 9);
1400
1400
  if (amountData.length < 8) continue;
1401
1401
  const amount = BigInt(amountData.readBigUInt64LE(0).toString());
1402
1402
  const fromIdx = inst.accounts[0];
1403
- const toIdx = inst.accounts.length === 5 ? inst.accounts[4] : inst.accounts[inst.accounts.length - 2];
1403
+ let toIdx = inst.accounts.length === 5 ? inst.accounts[4] : inst.accounts[inst.accounts.length - 2];
1404
+ if (programId === $64e1e522540ffc4e$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 5) toIdx = inst.accounts[2];
1405
+ else if (programId === $64e1e522540ffc4e$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 4 && instSig.startsWith("3,")) toIdx = inst.accounts[1];
1404
1406
  let from = createdAccountsToOwner[allAccounts[fromIdx]];
1405
1407
  let to = createdAccountsToOwner[allAccounts[toIdx]];
1406
1408
  let mint;
@@ -2837,6 +2839,50 @@ const $64e1e522540ffc4e$export$a51565c56ceacb0a = {
2837
2839
  transactionHash: "5e9vdMRoae9xGbDdcbiG3skxniuXyigxQiKY9quMht9xzToYqvuKHV8Qo38j4oNVmAfiKAtPniFrL4AB6hPw5H3T"
2838
2840
  }
2839
2841
  ]
2842
+ },
2843
+ {
2844
+ params: {
2845
+ network: "SOLANA",
2846
+ transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T",
2847
+ walletAddress: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG"
2848
+ },
2849
+ payload: "https://jiti.indexing.co/networks/solana/364694991",
2850
+ output: [
2851
+ {
2852
+ amount: 6140759n,
2853
+ blockNumber: 364694991,
2854
+ from: "CDr3sjXFHVPZYp8k7AUNHVJDN1sfvppLfPHd4Pwk8Mha",
2855
+ index: "3",
2856
+ timestamp: "2025-09-04T22:46:33.000Z",
2857
+ to: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG",
2858
+ token: "4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R",
2859
+ tokenType: "TOKEN",
2860
+ transactionGasFee: 79996n,
2861
+ transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T"
2862
+ }
2863
+ ]
2864
+ },
2865
+ {
2866
+ params: {
2867
+ network: "SOLANA",
2868
+ transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX",
2869
+ contractAddress: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp"
2870
+ },
2871
+ payload: "https://jiti.indexing.co/networks/solana/379199656",
2872
+ output: [
2873
+ {
2874
+ amount: 3074929252449n,
2875
+ blockNumber: 379199656,
2876
+ from: "EJ8trQpEqfFBrfdxccvspySexWPwci73Nhs2pUgkxwPQ",
2877
+ index: "3-1",
2878
+ timestamp: "2025-11-10T16:46:28.000Z",
2879
+ to: "AwUZyzJ9T9KD84kGTjNUBwzxWobysdX7wVeTXV8yVkG3",
2880
+ token: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp",
2881
+ tokenType: "TOKEN",
2882
+ transactionGasFee: 5000n,
2883
+ transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX"
2884
+ }
2885
+ ]
2840
2886
  }
2841
2887
  ]
2842
2888
  };