@fuel-ts/account 0.0.0-rc-2329-20240517140938 → 0.0.0-rc-2143-20240517152329

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.

@@ -8433,7 +8433,6 @@ var generateTestWallet = async (provider, quantities) => {
8433
8433
  var import_abi_coder7 = require("@fuel-ts/abi-coder");
8434
8434
  var import_crypto7 = require("@fuel-ts/crypto");
8435
8435
  var import_utils36 = require("@fuel-ts/utils");
8436
- var import_cli_utils = require("@fuel-ts/utils/cli-utils");
8437
8436
  var import_child_process = require("child_process");
8438
8437
  var import_crypto8 = require("crypto");
8439
8438
  var import_fs = require("fs");
@@ -8476,7 +8475,7 @@ var launchNode = async ({
8476
8475
  ip,
8477
8476
  port,
8478
8477
  args = [],
8479
- useSystemFuelCore = false,
8478
+ fuelCorePath = process.env.FUEL_CORE_PATH ?? void 0,
8480
8479
  loggingEnabled = true,
8481
8480
  debugEnabled = false,
8482
8481
  basePath
@@ -8496,8 +8495,7 @@ var launchNode = async ({
8496
8495
  const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
8497
8496
  const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
8498
8497
  const graphQLStartSubstring = "Binding GraphQL provider to";
8499
- const binPath = (0, import_cli_utils.findBinPath)("fuels-core", __dirname);
8500
- const command = useSystemFuelCore ? "fuel-core" : binPath;
8498
+ const command = fuelCorePath ?? "fuel-core";
8501
8499
  const ipToUse = ip || "0.0.0.0";
8502
8500
  const portToUse = port || (await (0, import_portfinder.getPortPromise)({
8503
8501
  port: 4e3,