@fuel-ts/account 0.0.0-rc-2209-20240430130352 → 0.0.0-rc-2143-20240430130957
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 +4 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/test-utils/launchNode.d.ts +4 -2
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +6 -3
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +5 -3
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +5 -3
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +15 -15
package/dist/test-utils.js
CHANGED
@@ -3752,8 +3752,9 @@ var _Provider = class {
|
|
3752
3752
|
static ensureClientVersionIsSupported(nodeInfo) {
|
3753
3753
|
const { isMajorSupported, isMinorSupported, supportedVersion } = (0, import_versions.checkFuelCoreVersionCompatibility)(nodeInfo.nodeVersion);
|
3754
3754
|
if (!isMajorSupported || !isMinorSupported) {
|
3755
|
-
|
3756
|
-
|
3755
|
+
throw new import_errors14.FuelError(
|
3756
|
+
import_errors14.FuelError.CODES.UNSUPPORTED_FUEL_CLIENT_VERSION,
|
3757
|
+
`Fuel client version: ${nodeInfo.nodeVersion}, Supported version: ${supportedVersion}`
|
3757
3758
|
);
|
3758
3759
|
}
|
3759
3760
|
}
|
@@ -8296,6 +8297,7 @@ var launchNode = async ({
|
|
8296
8297
|
ip,
|
8297
8298
|
port,
|
8298
8299
|
args = [],
|
8300
|
+
fuelCorePath = void 0,
|
8299
8301
|
useSystemFuelCore = false,
|
8300
8302
|
loggingEnabled = true,
|
8301
8303
|
debugEnabled = false,
|
@@ -8316,7 +8318,7 @@ var launchNode = async ({
|
|
8316
8318
|
const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
|
8317
8319
|
const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
|
8318
8320
|
const graphQLStartSubstring = "Binding GraphQL provider to";
|
8319
|
-
const binPath = (0, import_cli_utils.findBinPath)("fuels-core", __dirname);
|
8321
|
+
const binPath = fuelCorePath ?? (0, import_cli_utils.findBinPath)("fuels-core", __dirname);
|
8320
8322
|
const command = useSystemFuelCore ? "fuel-core" : binPath;
|
8321
8323
|
const ipToUse = ip || "0.0.0.0";
|
8322
8324
|
const portToUse = port || (await (0, import_portfinder.getPortPromise)({
|