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

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
@@ -3864,8 +3864,9 @@ var _Provider = class {
3864
3864
  static ensureClientVersionIsSupported(nodeInfo) {
3865
3865
  const { isMajorSupported, isMinorSupported, supportedVersion } = checkFuelCoreVersionCompatibility(nodeInfo.nodeVersion);
3866
3866
  if (!isMajorSupported || !isMinorSupported) {
3867
- console.warn(
3868
- `Unsupported fuel client version: ${nodeInfo.nodeVersion}, Supported version: ${supportedVersion}`
3867
+ throw new FuelError13(
3868
+ FuelError13.CODES.UNSUPPORTED_FUEL_CLIENT_VERSION,
3869
+ `Fuel client version: ${nodeInfo.nodeVersion}, Supported version: ${supportedVersion}`
3869
3870
  );
3870
3871
  }
3871
3872
  }