@fuel-ts/account 0.0.0-rc-2333-20240520182455 → 0.0.0-rc-2333-20240521114009

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.

@@ -8489,7 +8489,6 @@ var generateTestWallet = async (provider, quantities) => {
8489
8489
  var import_abi_coder7 = require("@fuel-ts/abi-coder");
8490
8490
  var import_crypto7 = require("@fuel-ts/crypto");
8491
8491
  var import_utils36 = require("@fuel-ts/utils");
8492
- var import_cli_utils = require("@fuel-ts/utils/cli-utils");
8493
8492
  var import_child_process = require("child_process");
8494
8493
  var import_crypto8 = require("crypto");
8495
8494
  var import_fs = require("fs");
@@ -8532,7 +8531,7 @@ var launchNode = async ({
8532
8531
  ip,
8533
8532
  port,
8534
8533
  args = [],
8535
- useSystemFuelCore = false,
8534
+ fuelCorePath = process.env.FUEL_CORE_PATH ?? void 0,
8536
8535
  loggingEnabled = true,
8537
8536
  debugEnabled = false,
8538
8537
  basePath
@@ -8552,8 +8551,7 @@ var launchNode = async ({
8552
8551
  const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
8553
8552
  const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
8554
8553
  const graphQLStartSubstring = "Binding GraphQL provider to";
8555
- const binPath = (0, import_cli_utils.findBinPath)("fuels-core", __dirname);
8556
- const command = useSystemFuelCore ? "fuel-core" : binPath;
8554
+ const command = fuelCorePath ?? "fuel-core";
8557
8555
  const ipToUse = ip || "0.0.0.0";
8558
8556
  const portToUse = port || (await (0, import_portfinder.getPortPromise)({
8559
8557
  port: 4e3,