@fuel-ts/account 0.0.0-rc-2143-20240517141129 → 0.0.0-rc-2143-20240517152329

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.

Potentially problematic release.


This version of @fuel-ts/account might be problematic. Click here for more details.

package/dist/index.js CHANGED
@@ -3711,7 +3711,7 @@ function getDecodedLogs(receipts, mainAbi, externalAbis = {}) {
3711
3711
  if (receipt.type === import_transactions18.ReceiptType.LogData || receipt.type === import_transactions18.ReceiptType.Log) {
3712
3712
  const interfaceToUse = new import_abi_coder5.Interface(externalAbis[receipt.id] || mainAbi);
3713
3713
  const data = receipt.type === import_transactions18.ReceiptType.Log ? new import_abi_coder5.BigNumberCoder("u64").encode(receipt.val0) : receipt.data;
3714
- const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toNumber());
3714
+ const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toString());
3715
3715
  logs.push(decodedLog);
3716
3716
  }
3717
3717
  return logs;