@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.

@@ -8409,7 +8409,6 @@ var generateTestWallet = async (provider, quantities) => {
8409
8409
  import { UTXO_ID_LEN as UTXO_ID_LEN3 } from "@fuel-ts/abi-coder";
8410
8410
  import { randomBytes as randomBytes6 } from "@fuel-ts/crypto";
8411
8411
  import { defaultSnapshotConfigs, defaultConsensusKey, hexlify as hexlify18 } from "@fuel-ts/utils";
8412
- import { findBinPath } from "@fuel-ts/utils/cli-utils";
8413
8412
  import { spawn } from "child_process";
8414
8413
  import { randomUUID } from "crypto";
8415
8414
  import { existsSync, mkdirSync, rmSync, writeFileSync } from "fs";
@@ -8452,7 +8451,7 @@ var launchNode = async ({
8452
8451
  ip,
8453
8452
  port,
8454
8453
  args = [],
8455
- useSystemFuelCore = false,
8454
+ fuelCorePath = process.env.FUEL_CORE_PATH ?? void 0,
8456
8455
  loggingEnabled = true,
8457
8456
  debugEnabled = false,
8458
8457
  basePath
@@ -8472,8 +8471,7 @@ var launchNode = async ({
8472
8471
  const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
8473
8472
  const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
8474
8473
  const graphQLStartSubstring = "Binding GraphQL provider to";
8475
- const binPath = findBinPath("fuels-core", __dirname);
8476
- const command = useSystemFuelCore ? "fuel-core" : binPath;
8474
+ const command = fuelCorePath ?? "fuel-core";
8477
8475
  const ipToUse = ip || "0.0.0.0";
8478
8476
  const portToUse = port || (await getPortPromise({
8479
8477
  port: 4e3,