@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/module.js CHANGED
@@ -1415,8 +1415,8 @@ const $64e1e522540ffc4e$export$a51565c56ceacb0a = {
1415
1415
  }
1416
1416
  if (from && to && mint) break;
1417
1417
  }
1418
- if (!from) from = allAccounts[fromIdx] || signer;
1419
- if (!to) to = allAccounts[toIdx] || signer;
1418
+ if (!from) from = svmTx.meta.preTokenBalances.find((ptb)=>ptb.accountIndex === fromIdx + 1)?.owner || allAccounts[fromIdx] || signer;
1419
+ if (!to) to = svmTx.meta.postTokenBalances.find((ptb)=>ptb.accountIndex === toIdx + 1)?.owner || allAccounts[toIdx] || signer;
1420
1420
  txTransfers.push({
1421
1421
  amount: amount,
1422
1422
  blockNumber: block.parentSlot + 1,
@@ -2815,6 +2815,28 @@ const $64e1e522540ffc4e$export$a51565c56ceacb0a = {
2815
2815
  transactionHash: "5Rndx2MH75VSy5mviPwV6UjF8ESNsvQPfRsnDUxKEA8g9e4RDDs34LSsGA3PEqPiKHctP7NciPVRAJQnAh5X5RYU"
2816
2816
  }
2817
2817
  ]
2818
+ },
2819
+ {
2820
+ params: {
2821
+ network: "SOLANA",
2822
+ transactionHash: "5e9vdMRoae9xGbDdcbiG3skxniuXyigxQiKY9quMht9xzToYqvuKHV8Qo38j4oNVmAfiKAtPniFrL4AB6hPw5H3T",
2823
+ walletAddress: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG"
2824
+ },
2825
+ payload: "https://jiti.indexing.co/networks/solana/381660142",
2826
+ output: [
2827
+ {
2828
+ amount: 40000000n,
2829
+ blockNumber: 381660142,
2830
+ from: "39guB1KD47dafdw7a6vsYzyPoA8iD55EDLcBKoUCrim3",
2831
+ index: "1",
2832
+ timestamp: "2025-11-22T01:09:01.000Z",
2833
+ to: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG",
2834
+ token: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
2835
+ tokenType: "TOKEN",
2836
+ transactionGasFee: 5000n,
2837
+ transactionHash: "5e9vdMRoae9xGbDdcbiG3skxniuXyigxQiKY9quMht9xzToYqvuKHV8Qo38j4oNVmAfiKAtPniFrL4AB6hPw5H3T"
2838
+ }
2839
+ ]
2818
2840
  }
2819
2841
  ]
2820
2842
  };