@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.
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/test-utils/launchNode.d.ts +3 -3
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +67 -83
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +2 -4
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +2 -4
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +15 -15
package/dist/test-utils.mjs
CHANGED
@@ -8427,7 +8427,6 @@ var generateTestWallet = async (provider, quantities) => {
|
|
8427
8427
|
import { UTXO_ID_LEN as UTXO_ID_LEN3 } from "@fuel-ts/abi-coder";
|
8428
8428
|
import { randomBytes as randomBytes6 } from "@fuel-ts/crypto";
|
8429
8429
|
import { defaultSnapshotConfigs, defaultConsensusKey, hexlify as hexlify18 } from "@fuel-ts/utils";
|
8430
|
-
import { findBinPath } from "@fuel-ts/utils/cli-utils";
|
8431
8430
|
import { spawn } from "child_process";
|
8432
8431
|
import { randomUUID } from "crypto";
|
8433
8432
|
import { existsSync, mkdirSync, rmSync, writeFileSync } from "fs";
|
@@ -8470,7 +8469,7 @@ var launchNode = async ({
|
|
8470
8469
|
ip,
|
8471
8470
|
port,
|
8472
8471
|
args = [],
|
8473
|
-
|
8472
|
+
fuelCorePath = process.env.FUEL_CORE_PATH ?? void 0,
|
8474
8473
|
loggingEnabled = true,
|
8475
8474
|
debugEnabled = false,
|
8476
8475
|
basePath
|
@@ -8490,8 +8489,7 @@ var launchNode = async ({
|
|
8490
8489
|
const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
|
8491
8490
|
const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
|
8492
8491
|
const graphQLStartSubstring = "Binding GraphQL provider to";
|
8493
|
-
const
|
8494
|
-
const command = useSystemFuelCore ? "fuel-core" : binPath;
|
8492
|
+
const command = fuelCorePath ?? "fuel-core";
|
8495
8493
|
const ipToUse = ip || "0.0.0.0";
|
8496
8494
|
const portToUse = port || (await getPortPromise({
|
8497
8495
|
port: 4e3,
|