@fuel-ts/account 0.97.1 → 0.97.2
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 +2 -2
- package/dist/index.global.js.map +1 -1
- package/dist/test-utils/launchNode.d.ts +3 -1
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils/test-coin.d.ts +1 -0
- package/dist/test-utils/test-coin.d.ts.map +1 -0
- package/dist/test-utils.global.js +127 -561
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +37 -5
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +37 -5
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -16
@@ -11,6 +11,7 @@ export type LaunchNodeOptions = {
|
|
11
11
|
* Passing in a snapshot configuration path via the `--snapshot` flag in `args` will override this.
|
12
12
|
* */
|
13
13
|
snapshotConfig?: SnapshotConfigs;
|
14
|
+
includeInitialState?: boolean;
|
14
15
|
};
|
15
16
|
export type LaunchNodeResult = Promise<{
|
16
17
|
cleanup: () => void;
|
@@ -28,6 +29,7 @@ export type LaunchNodeResult = Promise<{
|
|
28
29
|
* @param fuelCorePath - the path to the fuel-core binary. (optional, defaults to 'fuel-core')
|
29
30
|
* @param loggingEnabled - whether the node should output logs. (optional, defaults to true)
|
30
31
|
* @param basePath - the base path to use for the temporary folder. (optional, defaults to os.tmpdir())
|
32
|
+
* @param includeInitialState - whether to initialise the chain with some default initial state. (optional, defaults to false)
|
31
33
|
* */
|
32
|
-
export declare const launchNode: ({ ip, port, args, fuelCorePath, loggingEnabled, basePath, snapshotConfig, }?: LaunchNodeOptions) => LaunchNodeResult;
|
34
|
+
export declare const launchNode: ({ ip, port, args, fuelCorePath, loggingEnabled, basePath, snapshotConfig, includeInitialState, }?: LaunchNodeOptions) => LaunchNodeResult;
|
33
35
|
//# sourceMappingURL=launchNode.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"launchNode.d.ts","sourceRoot":"","sources":["../../src/test-utils/launchNode.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA2BtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;SAGK;IACL,cAAc,CAAC,EAAE,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"launchNode.d.ts","sourceRoot":"","sources":["../../src/test-utils/launchNode.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AA2BtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;SAGK;IACL,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC;IACrC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC,CAAC;AAyEH;;;;;;;;;KASK;AAEL,eAAO,MAAM,UAAU,sGASpB,iBAAiB,KAAQ,gBA6LxB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=test-coin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"test-coin.d.ts","sourceRoot":"","sources":["../../src/test-utils/test-coin.ts"],"names":[],"mappings":""}
|