@fuel-ts/account 0.0.0-rc-2143-20240425151715 → 0.0.0-rc-2045-20240425165416

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.

@@ -6,7 +6,6 @@ export type LaunchNodeOptions = {
6
6
  ip?: string;
7
7
  port?: string;
8
8
  args?: string[];
9
- fuelCorePath?: string;
10
9
  useSystemFuelCore?: boolean;
11
10
  loggingEnabled?: boolean;
12
11
  debugEnabled?: boolean;
@@ -32,13 +31,12 @@ export declare const killNode: (params: KillNodeParams) => void;
32
31
  * @param ip - the ip to bind to. (optional, defaults to 0.0.0.0)
33
32
  * @param port - the port to bind to. (optional, defaults to 4000 or the next available port)
34
33
  * @param args - additional arguments to pass to fuel-core.
35
- * @param fuelCorePath - the path to the fuel-core binary. (optional, defaults to the fuel-core binary in the node_modules folder)
36
- * @param useSystemFuelCore - whether to use the system fuel-core binary or the one provided by the \@internal/fuel-core package.
34
+ * @param useSystemFuelCore - whether to use the system fuel-core binary or the one provided by the \@fuel-ts/fuel-core package.
37
35
  * @param loggingEnabled - whether the node should output logs. (optional, defaults to true)
38
36
  * @param debugEnabled - whether the node should log debug messages. (optional, defaults to false)
39
37
  * @param basePath - the base path to use for the temporary folder. (optional, defaults to os.tmpdir())
40
38
  * */
41
- export declare const launchNode: ({ ip, port, args, fuelCorePath, useSystemFuelCore, loggingEnabled, debugEnabled, basePath, }: LaunchNodeOptions) => LaunchNodeResult;
39
+ export declare const launchNode: ({ ip, port, args, useSystemFuelCore, loggingEnabled, debugEnabled, basePath, }: LaunchNodeOptions) => LaunchNodeResult;
42
40
  export type LaunchNodeAndGetWalletsResult = Promise<{
43
41
  wallets: WalletUnlocked[];
44
42
  stop: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"launchNode.d.ts","sourceRoot":"","sources":["../../src/test-utils/launchNode.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK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AAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;CACpB,CAAC,CAAC;AAEH;;;;KAIK;AACL,eAAO,MAAM,uBAAuB;;;mCAiBnC,CAAC"}
@@ -31914,7 +31914,7 @@ spurious results.`);
31914
31914
  // ../versions/dist/index.mjs
31915
31915
  function getBuiltinVersions() {
31916
31916
  return {
31917
- FORC: "0.49.3",
31917
+ FORC: "0.55.0",
31918
31918
  FUEL_CORE: "0.22.1",
31919
31919
  FUELS: "0.81.0"
31920
31920
  };
@@ -34627,7 +34627,7 @@ This unreleased fuel-core build may include features and updates not yet support
34627
34627
  toEvmAddress() {
34628
34628
  const b256Address = toB256(this.bech32Address);
34629
34629
  return {
34630
- value: clearFirst12BytesFromB256(b256Address)
34630
+ bits: clearFirst12BytesFromB256(b256Address)
34631
34631
  };
34632
34632
  }
34633
34633
  /**
@@ -34637,7 +34637,7 @@ This unreleased fuel-core build may include features and updates not yet support
34637
34637
  */
34638
34638
  toAssetId() {
34639
34639
  return {
34640
- value: this.toB256()
34640
+ bits: this.toB256()
34641
34641
  };
34642
34642
  }
34643
34643
  /**
@@ -50620,7 +50620,6 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
50620
50620
  ip,
50621
50621
  port,
50622
50622
  args = [],
50623
- fuelCorePath = void 0,
50624
50623
  useSystemFuelCore = false,
50625
50624
  loggingEnabled = true,
50626
50625
  debugEnabled = false,
@@ -50641,7 +50640,7 @@ ${PANIC_DOC_URL}#variant.${status.reason}`;
50641
50640
  const poaInstantFlagValue = getFlagValueFromArgs(args, "--poa-instant");
50642
50641
  const poaInstant = poaInstantFlagValue === "true" || poaInstantFlagValue === void 0;
50643
50642
  const graphQLStartSubstring = "Binding GraphQL provider to";
50644
- const binPath = fuelCorePath ?? findBinPath("fuels-core", __dirname);
50643
+ const binPath = findBinPath("fuels-core", __dirname);
50645
50644
  const command = useSystemFuelCore ? "fuel-core" : binPath;
50646
50645
  const ipToUse = ip || "0.0.0.0";
50647
50646
  const portToUse = port || (await (0, import_portfinder.getPortPromise)({