@fuel-ts/account 0.0.0-rc-2272-20240516141848 → 0.0.0-rc-2143-20240516154344

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.

@@ -8415,7 +8415,6 @@ var generateTestWallet = async (provider, quantities) => {
8415
8415
  var import_abi_coder7 = require("@fuel-ts/abi-coder");
8416
8416
  var import_crypto7 = require("@fuel-ts/crypto");
8417
8417
  var import_utils36 = require("@fuel-ts/utils");
8418
- var import_cli_utils = require("@fuel-ts/utils/cli-utils");
8419
8418
  var import_child_process = require("child_process");
8420
8419
  var import_crypto8 = require("crypto");
8421
8420
  var import_fs = require("fs");
@@ -8458,7 +8457,7 @@ var launchNode = async ({
8458
8457
  ip,
8459
8458
  port,
8460
8459
  args = [],
8461
- useSystemFuelCore = false,
8460
+ fuelCorePath = process.env.FUEL_CORE_PATH ?? void 0,
8462
8461
  loggingEnabled = true,
8463
8462
  debugEnabled = false,
8464
8463
  basePath
@@ -8478,8 +8477,7 @@ var launchNode = async ({
8478
8477
  const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
8479
8478
  const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
8480
8479
  const graphQLStartSubstring = "Binding GraphQL provider to";
8481
- const binPath = (0, import_cli_utils.findBinPath)("fuels-core", __dirname);
8482
- const command = useSystemFuelCore ? "fuel-core" : binPath;
8480
+ const command = fuelCorePath ?? "fuel-core";
8483
8481
  const ipToUse = ip || "0.0.0.0";
8484
8482
  const portToUse = port || (await (0, import_portfinder.getPortPromise)({
8485
8483
  port: 4e3,