@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.
- 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 +66 -82
- 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
@@ -8483,7 +8483,6 @@ var generateTestWallet = async (provider, quantities) => {
|
|
8483
8483
|
import { UTXO_ID_LEN as UTXO_ID_LEN3 } from "@fuel-ts/abi-coder";
|
8484
8484
|
import { randomBytes as randomBytes6 } from "@fuel-ts/crypto";
|
8485
8485
|
import { defaultSnapshotConfigs, defaultConsensusKey, hexlify as hexlify18 } from "@fuel-ts/utils";
|
8486
|
-
import { findBinPath } from "@fuel-ts/utils/cli-utils";
|
8487
8486
|
import { spawn } from "child_process";
|
8488
8487
|
import { randomUUID } from "crypto";
|
8489
8488
|
import { existsSync, mkdirSync, rmSync, writeFileSync } from "fs";
|
@@ -8526,7 +8525,7 @@ var launchNode = async ({
|
|
8526
8525
|
ip,
|
8527
8526
|
port,
|
8528
8527
|
args = [],
|
8529
|
-
|
8528
|
+
fuelCorePath = process.env.FUEL_CORE_PATH ?? void 0,
|
8530
8529
|
loggingEnabled = true,
|
8531
8530
|
debugEnabled = false,
|
8532
8531
|
basePath
|
@@ -8546,8 +8545,7 @@ var launchNode = async ({
|
|
8546
8545
|
const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
|
8547
8546
|
const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
|
8548
8547
|
const graphQLStartSubstring = "Binding GraphQL provider to";
|
8549
|
-
const
|
8550
|
-
const command = useSystemFuelCore ? "fuel-core" : binPath;
|
8548
|
+
const command = fuelCorePath ?? "fuel-core";
|
8551
8549
|
const ipToUse = ip || "0.0.0.0";
|
8552
8550
|
const portToUse = port || (await getPortPromise({
|
8553
8551
|
port: 4e3,
|