@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.mjs CHANGED
@@ -3568,7 +3568,7 @@ function getDecodedLogs(receipts, mainAbi, externalAbis = {}) {
3568
3568
  if (receipt.type === ReceiptType6.LogData || receipt.type === ReceiptType6.Log) {
3569
3569
  const interfaceToUse = new Interface3(externalAbis[receipt.id] || mainAbi);
3570
3570
  const data = receipt.type === ReceiptType6.Log ? new BigNumberCoder("u64").encode(receipt.val0) : receipt.data;
3571
- const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toNumber());
3571
+ const [decodedLog] = interfaceToUse.decodeLog(data, receipt.val1.toString());
3572
3572
  logs.push(decodedLog);
3573
3573
  }
3574
3574
  return logs;