@indexing/jiti 0.0.64 → 0.0.67

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
@@ -1381,7 +1381,7 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
1381
1381
  ...svmTx.transaction.message.instructions[idx],
1382
1382
  index: idx
1383
1383
  });
1384
- allUntypedInstructions.push(...svmTx.meta.innerInstructions.filter((ii)=>ii.index === idx).map((ii)=>ii.instructions.map((i, subIdx)=>({
1384
+ allUntypedInstructions.push(...(svmTx.meta.innerInstructions || []).filter((ii)=>ii.index === idx).map((ii)=>ii.instructions.map((i, subIdx)=>({
1385
1385
  ...i,
1386
1386
  rootIndex: ii.index,
1387
1387
  index: subIdx
@@ -2972,8 +2972,8 @@ const $990c4f660694d8bc$export$4f5322cf4718bd30 = {
2972
2972
  for (const tx of block.tx){
2973
2973
  const vin = tx.vin[0];
2974
2974
  const vout = tx.vout;
2975
- const fromVout = Math.min(vin.vout || 1000, vout.length - 1);
2976
- const fromAddress = vin.prevout?.scriptPubKey?.address || vout[fromVout]?.scriptPubKey?.address || vout[fromVout]?.scriptPubKey?.addresses?.[0];
2975
+ const fromVout = Math.min(vin?.vout || 1000, vout.length - 1);
2976
+ const fromAddress = vin?.prevout?.scriptPubKey?.address || vout[fromVout]?.scriptPubKey?.address || vout[fromVout]?.scriptPubKey?.addresses?.[0];
2977
2977
  if (!fromAddress) continue;
2978
2978
  for (const v of vout)transfers.push({
2979
2979
  amount: BigInt(Math.round(v.value * Math.pow(10, 8))),
@@ -3010,6 +3010,26 @@ const $990c4f660694d8bc$export$4f5322cf4718bd30 = {
3010
3010
  timestamp: "2015-12-13T19:59:52.000Z"
3011
3011
  }
3012
3012
  ]
3013
+ },
3014
+ {
3015
+ params: {
3016
+ network: "ZCASH",
3017
+ walletAddress: "t1XTjBLgWWTpH1yeZkndggpSLYMYFRUGhaK"
3018
+ },
3019
+ payload: "https://jiti.indexing.co/networks/zcash/3178246",
3020
+ output: [
3021
+ {
3022
+ amount: 1500000n,
3023
+ blockNumber: 3178246,
3024
+ from: "t1XTjBLgWWTpH1yeZkndggpSLYMYFRUGhaK",
3025
+ timestamp: "2025-12-22T14:39:23.000Z",
3026
+ to: "t1XTjBLgWWTpH1yeZkndggpSLYMYFRUGhaK",
3027
+ token: null,
3028
+ tokenType: "NATIVE",
3029
+ transactionGasFee: 0n,
3030
+ transactionHash: "2c9b4e084a0d3b289c54761523ffa57b8b792bfadca3ebc7d26141343ca79f5c"
3031
+ }
3032
+ ]
3013
3033
  }
3014
3034
  ]
3015
3035
  };