@fuel-ts/account 0.0.0-rc-1895-20240328110906 → 0.0.0-rc-1895-20240328113714

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.

@@ -1541,7 +1541,7 @@ var assembleRevertError = (receipts, logs) => {
1541
1541
  const reasonHex = (0, import_math6.bn)(revertReceipt.val).toHex();
1542
1542
  switch (reasonHex) {
1543
1543
  case import_configs6.FAILED_REQUIRE_SIGNAL: {
1544
- errorMessage = `The transaction reverted because of a "require" statement has thrown ${logs.length ? stringify(logs[0]) : "an error."}.`;
1544
+ errorMessage = `The transaction reverted because a "require" statement has thrown ${logs.length ? stringify(logs[0]) : "an error."}.`;
1545
1545
  break;
1546
1546
  }
1547
1547
  case import_configs6.FAILED_ASSERT_EQ_SIGNAL: {
@@ -1555,10 +1555,10 @@ var assembleRevertError = (receipts, logs) => {
1555
1555
  break;
1556
1556
  }
1557
1557
  case import_configs6.FAILED_ASSERT_SIGNAL:
1558
- errorMessage = `The transaction reverted because of an "assert" statement failed to evaluate to true.`;
1558
+ errorMessage = `The transaction reverted because an "assert" statement failed to evaluate to true.`;
1559
1559
  break;
1560
1560
  case import_configs6.FAILED_TRANSFER_TO_ADDRESS_SIGNAL:
1561
- errorMessage = `The transaction reverted because missing "OutputChange"(s).`;
1561
+ errorMessage = `The transaction reverted because it's missing an "OutputChange".`;
1562
1562
  break;
1563
1563
  default:
1564
1564
  errorMessage = `The transaction reverted with an unknown reason: ${revertReceipt.val}`;