@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/main.js CHANGED
@@ -1405,12 +1405,14 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
1405
1405
  $fc7ca671efecc378$var$SPL_TOKEN_2022_PROGRAM
1406
1406
  ].includes(programId)) {
1407
1407
  // TRANSFER, TRANSFER CHECKED
1408
- if (instSig.startsWith("3,") && inst.accounts.length === 3 || instSig.startsWith("12,") && inst.accounts.length >= 4) {
1408
+ if (instSig.startsWith("3,") && inst.accounts.length >= 3 || instSig.startsWith("12,") && inst.accounts.length >= 4) {
1409
1409
  const amountData = $fc7ca671efecc378$require$Buffer.from(instData).slice(1, 9);
1410
1410
  if (amountData.length < 8) continue;
1411
1411
  const amount = BigInt(amountData.readBigUInt64LE(0).toString());
1412
1412
  const fromIdx = inst.accounts[0];
1413
- const toIdx = inst.accounts.length === 5 ? inst.accounts[4] : inst.accounts[inst.accounts.length - 2];
1413
+ let toIdx = inst.accounts.length === 5 ? inst.accounts[4] : inst.accounts[inst.accounts.length - 2];
1414
+ if (programId === $fc7ca671efecc378$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 5) toIdx = inst.accounts[2];
1415
+ else if (programId === $fc7ca671efecc378$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 4 && instSig.startsWith("3,")) toIdx = inst.accounts[1];
1414
1416
  let from = createdAccountsToOwner[allAccounts[fromIdx]];
1415
1417
  let to = createdAccountsToOwner[allAccounts[toIdx]];
1416
1418
  let mint;
@@ -2847,6 +2849,50 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
2847
2849
  transactionHash: "5e9vdMRoae9xGbDdcbiG3skxniuXyigxQiKY9quMht9xzToYqvuKHV8Qo38j4oNVmAfiKAtPniFrL4AB6hPw5H3T"
2848
2850
  }
2849
2851
  ]
2852
+ },
2853
+ {
2854
+ params: {
2855
+ network: "SOLANA",
2856
+ transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T",
2857
+ walletAddress: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG"
2858
+ },
2859
+ payload: "https://jiti.indexing.co/networks/solana/364694991",
2860
+ output: [
2861
+ {
2862
+ amount: 6140759n,
2863
+ blockNumber: 364694991,
2864
+ from: "CDr3sjXFHVPZYp8k7AUNHVJDN1sfvppLfPHd4Pwk8Mha",
2865
+ index: "3",
2866
+ timestamp: "2025-09-04T22:46:33.000Z",
2867
+ to: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG",
2868
+ token: "4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R",
2869
+ tokenType: "TOKEN",
2870
+ transactionGasFee: 79996n,
2871
+ transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T"
2872
+ }
2873
+ ]
2874
+ },
2875
+ {
2876
+ params: {
2877
+ network: "SOLANA",
2878
+ transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX",
2879
+ contractAddress: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp"
2880
+ },
2881
+ payload: "https://jiti.indexing.co/networks/solana/379199656",
2882
+ output: [
2883
+ {
2884
+ amount: 3074929252449n,
2885
+ blockNumber: 379199656,
2886
+ from: "EJ8trQpEqfFBrfdxccvspySexWPwci73Nhs2pUgkxwPQ",
2887
+ index: "3-1",
2888
+ timestamp: "2025-11-10T16:46:28.000Z",
2889
+ to: "AwUZyzJ9T9KD84kGTjNUBwzxWobysdX7wVeTXV8yVkG3",
2890
+ token: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp",
2891
+ tokenType: "TOKEN",
2892
+ transactionGasFee: 5000n,
2893
+ transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX"
2894
+ }
2895
+ ]
2850
2896
  }
2851
2897
  ]
2852
2898
  };