@indexing/jiti 0.0.68 → 0.0.69

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
@@ -1425,8 +1425,8 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
1425
1425
  }
1426
1426
  if (from && to && mint) break;
1427
1427
  }
1428
- if (!from) from = allAccounts[fromIdx] || signer;
1429
- if (!to) to = allAccounts[toIdx] || signer;
1428
+ if (!from) from = svmTx.meta.preTokenBalances.find((ptb)=>ptb.accountIndex === fromIdx + 1)?.owner || allAccounts[fromIdx] || signer;
1429
+ if (!to) to = svmTx.meta.postTokenBalances.find((ptb)=>ptb.accountIndex === toIdx + 1)?.owner || allAccounts[toIdx] || signer;
1430
1430
  txTransfers.push({
1431
1431
  amount: amount,
1432
1432
  blockNumber: block.parentSlot + 1,
@@ -2825,6 +2825,28 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
2825
2825
  transactionHash: "5Rndx2MH75VSy5mviPwV6UjF8ESNsvQPfRsnDUxKEA8g9e4RDDs34LSsGA3PEqPiKHctP7NciPVRAJQnAh5X5RYU"
2826
2826
  }
2827
2827
  ]
2828
+ },
2829
+ {
2830
+ params: {
2831
+ network: "SOLANA",
2832
+ transactionHash: "5e9vdMRoae9xGbDdcbiG3skxniuXyigxQiKY9quMht9xzToYqvuKHV8Qo38j4oNVmAfiKAtPniFrL4AB6hPw5H3T",
2833
+ walletAddress: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG"
2834
+ },
2835
+ payload: "https://jiti.indexing.co/networks/solana/381660142",
2836
+ output: [
2837
+ {
2838
+ amount: 40000000n,
2839
+ blockNumber: 381660142,
2840
+ from: "39guB1KD47dafdw7a6vsYzyPoA8iD55EDLcBKoUCrim3",
2841
+ index: "1",
2842
+ timestamp: "2025-11-22T01:09:01.000Z",
2843
+ to: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG",
2844
+ token: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
2845
+ tokenType: "TOKEN",
2846
+ transactionGasFee: 5000n,
2847
+ transactionHash: "5e9vdMRoae9xGbDdcbiG3skxniuXyigxQiKY9quMht9xzToYqvuKHV8Qo38j4oNVmAfiKAtPniFrL4AB6hPw5H3T"
2848
+ }
2849
+ ]
2828
2850
  }
2829
2851
  ]
2830
2852
  };