@fuel-ts/account 0.0.0-rc-2143-20240430082529 → 0.0.0-rc-2209-20240430130352

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.

@@ -29075,7 +29075,6 @@ This unreleased fuel-core build may include features and updates not yet support
29075
29075
  ErrorCode2["ACCOUNT_REQUIRED"] = "account-required";
29076
29076
  ErrorCode2["UNLOCKED_WALLET_REQUIRED"] = "unlocked-wallet-required";
29077
29077
  ErrorCode2["ERROR_BUILDING_BLOCK_EXPLORER_URL"] = "error-building-block-explorer-url";
29078
- ErrorCode2["UNSUPPORTED_FUEL_CLIENT_VERSION"] = "unsupported-fuel-client-version";
29079
29078
  ErrorCode2["VITEPRESS_PLUGIN_ERROR"] = "vitepress-plugin-error";
29080
29079
  ErrorCode2["INVALID_MULTICALL"] = "invalid-multicall";
29081
29080
  ErrorCode2["SCRIPT_REVERTED"] = "script-reverted";
@@ -40813,9 +40812,8 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
40813
40812
  static ensureClientVersionIsSupported(nodeInfo) {
40814
40813
  const { isMajorSupported, isMinorSupported, supportedVersion } = checkFuelCoreVersionCompatibility(nodeInfo.nodeVersion);
40815
40814
  if (!isMajorSupported || !isMinorSupported) {
40816
- throw new FuelError(
40817
- FuelError.CODES.UNSUPPORTED_FUEL_CLIENT_VERSION,
40818
- `Fuel client version: ${nodeInfo.nodeVersion}, Supported version: ${supportedVersion}`
40815
+ console.warn(
40816
+ `Unsupported fuel client version: ${nodeInfo.nodeVersion}, Supported version: ${supportedVersion}`
40819
40817
  );
40820
40818
  }
40821
40819
  }