@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.
- package/dist/index.global.js +20 -8
- 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 +102 -74
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +4 -2
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +4 -2
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +15 -15
package/dist/test-utils.mjs
CHANGED
@@ -8409,6 +8409,7 @@ 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";
|
8412
8413
|
import { spawn } from "child_process";
|
8413
8414
|
import { randomUUID } from "crypto";
|
8414
8415
|
import { existsSync, mkdirSync, rmSync, writeFileSync } from "fs";
|
@@ -8451,7 +8452,7 @@ var launchNode = async ({
|
|
8451
8452
|
ip,
|
8452
8453
|
port,
|
8453
8454
|
args = [],
|
8454
|
-
|
8455
|
+
useSystemFuelCore = false,
|
8455
8456
|
loggingEnabled = true,
|
8456
8457
|
debugEnabled = false,
|
8457
8458
|
basePath
|
@@ -8471,7 +8472,8 @@ var launchNode = async ({
|
|
8471
8472
|
const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
|
8472
8473
|
const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
|
8473
8474
|
const graphQLStartSubstring = "Binding GraphQL provider to";
|
8474
|
-
const
|
8475
|
+
const binPath = findBinPath("fuels-core", __dirname);
|
8476
|
+
const command = useSystemFuelCore ? "fuel-core" : binPath;
|
8475
8477
|
const ipToUse = ip || "0.0.0.0";
|
8476
8478
|
const portToUse = port || (await getPortPromise({
|
8477
8479
|
port: 4e3,
|