@fuel-ts/account 0.0.0-rc-2143-20240516153006 → 0.0.0-rc-2322-20240517060059

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