@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.

@@ -42810,7 +42810,7 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
42810
42810
  const reasonHex = bn(revertReceipt.val).toHex();
42811
42811
  switch (reasonHex) {
42812
42812
  case FAILED_REQUIRE_SIGNAL: {
42813
- errorMessage = `The transaction reverted because of a "require" statement has thrown ${logs.length ? stringify2(logs[0]) : "an error."}.`;
42813
+ errorMessage = `The transaction reverted because a "require" statement has thrown ${logs.length ? stringify2(logs[0]) : "an error."}.`;
42814
42814
  break;
42815
42815
  }
42816
42816
  case FAILED_ASSERT_EQ_SIGNAL: {
@@ -42824,10 +42824,10 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
42824
42824
  break;
42825
42825
  }
42826
42826
  case FAILED_ASSERT_SIGNAL:
42827
- errorMessage = `The transaction reverted because of an "assert" statement failed to evaluate to true.`;
42827
+ errorMessage = `The transaction reverted because an "assert" statement failed to evaluate to true.`;
42828
42828
  break;
42829
42829
  case FAILED_TRANSFER_TO_ADDRESS_SIGNAL:
42830
- errorMessage = `The transaction reverted because missing "OutputChange"(s).`;
42830
+ errorMessage = `The transaction reverted because it's missing an "OutputChange".`;
42831
42831
  break;
42832
42832
  default:
42833
42833
  errorMessage = `The transaction reverted with an unknown reason: ${revertReceipt.val}`;