@fuel-ts/account 0.94.7 → 0.94.9
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.
- package/dist/index.global.js +458 -435
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +25 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -3
- package/dist/index.mjs.map +1 -1
- package/dist/predicate/predicate.d.ts +9 -1
- package/dist/predicate/predicate.d.ts.map +1 -1
- package/dist/providers/fuel-graphql-subscriber.d.ts.map +1 -1
- package/dist/providers/transaction-summary/types.d.ts +16 -0
- package/dist/providers/transaction-summary/types.d.ts.map +1 -1
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +355 -3226
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +1 -7
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +1 -7
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +17 -18
package/dist/test-utils.mjs
CHANGED
@@ -26,7 +26,6 @@ import { defaultConsensusKey, hexlify as hexlify2, defaultSnapshotConfigs } from
|
|
26
26
|
import { existsSync, mkdirSync, rmSync, writeFileSync } from "fs";
|
27
27
|
import os from "os";
|
28
28
|
import path from "path";
|
29
|
-
import { getPortPromise } from "portfinder";
|
30
29
|
|
31
30
|
// src/signer/signer.ts
|
32
31
|
import { Address } from "@fuel-ts/address";
|
@@ -219,12 +218,7 @@ var launchNode = async ({
|
|
219
218
|
const graphQLStartSubstring = "Binding GraphQL provider to";
|
220
219
|
const command = fuelCorePath || "fuel-core";
|
221
220
|
const ipToUse = ip || "0.0.0.0";
|
222
|
-
const portToUse = port ||
|
223
|
-
port: 4e3,
|
224
|
-
// tries 4000 first, then 4001, then 4002, etc.
|
225
|
-
stopPort: 5e3
|
226
|
-
// don't try ports above 5000
|
227
|
-
})).toString();
|
221
|
+
const portToUse = port || "0";
|
228
222
|
let snapshotDirToUse;
|
229
223
|
const prefix = basePath || os.tmpdir();
|
230
224
|
const suffix = basePath ? "" : randomUUID();
|