@fuel-ts/account 0.0.0-rc-1356-20240515085856 → 0.0.0-rc-1356-20240515090422
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/test-utils/wallet-config.d.ts +6 -0
- package/dist/test-utils/wallet-config.d.ts.map +1 -1
- package/dist/test-utils.global.js +6 -0
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +6 -0
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +6 -0
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +15 -15
@@ -42,7 +42,13 @@ export declare class WalletConfig {
|
|
42
42
|
coins: SnapshotConfigs['stateConfig']['coins'];
|
43
43
|
};
|
44
44
|
};
|
45
|
+
/**
|
46
|
+
* Create messages for the wallets in the format that the chain expects.
|
47
|
+
*/
|
45
48
|
private static createMessages;
|
49
|
+
/**
|
50
|
+
* Create coins for the wallets in the format that the chain expects.
|
51
|
+
*/
|
46
52
|
private static createCoins;
|
47
53
|
private static validate;
|
48
54
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"wallet-config.d.ts","sourceRoot":"","sources":["../../src/test-utils/wallet-config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmC,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACvF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,MAAM,EAAE,MAAM,GAAG,OAAO,EAAE,CAAC;IAE3B;;OAEG;IACH,aAAa,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AAC;IAEtB;;;OAGG;IACH,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,YAAY,CAAiC;IACrD,OAAO,CAAC,OAAO,CAAsB;IAC9B,OAAO,EAAE,cAAc,EAAE,CAAC;IAEjC,OAAO,CAAC,eAAe,CAMrB;gBAEU,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB;IAsB5D,KAAK,CAAC,cAAc,EAAE,WAAW,CAAC,eAAe,CAAC,GAAG,SAAS,GAAG,WAAW,CAAC,eAAe,CAAC,GAAG;QAC9F,WAAW,EAAE;YAAE,KAAK,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAA;SAAE,CAAC;KACjE;IAWD;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;IAM7B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,WAAW;IAuC1B,OAAO,CAAC,MAAM,CAAC,QAAQ;CAqCxB"}
|
@@ -50291,9 +50291,15 @@ Supported fuel-core version: ${supportedVersion}.`
|
|
50291
50291
|
}
|
50292
50292
|
};
|
50293
50293
|
}
|
50294
|
+
/**
|
50295
|
+
* Create messages for the wallets in the format that the chain expects.
|
50296
|
+
*/
|
50294
50297
|
static createMessages(wallets, messages) {
|
50295
50298
|
return messages.map((msg) => wallets.map((wallet) => msg.toChainMessage(wallet.address))).flatMap((x) => x);
|
50296
50299
|
}
|
50300
|
+
/**
|
50301
|
+
* Create coins for the wallets in the format that the chain expects.
|
50302
|
+
*/
|
50297
50303
|
static createCoins(wallets, baseAssetId, assets2, coinsPerAsset, amountPerCoin) {
|
50298
50304
|
const coins = [];
|
50299
50305
|
let assetIds = [baseAssetId];
|