@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
package/dist/test-utils.mjs
CHANGED
@@ -8677,9 +8677,15 @@ var WalletConfig = class {
|
|
8677
8677
|
}
|
8678
8678
|
};
|
8679
8679
|
}
|
8680
|
+
/**
|
8681
|
+
* Create messages for the wallets in the format that the chain expects.
|
8682
|
+
*/
|
8680
8683
|
static createMessages(wallets, messages) {
|
8681
8684
|
return messages.map((msg) => wallets.map((wallet) => msg.toChainMessage(wallet.address))).flatMap((x) => x);
|
8682
8685
|
}
|
8686
|
+
/**
|
8687
|
+
* Create coins for the wallets in the format that the chain expects.
|
8688
|
+
*/
|
8683
8689
|
static createCoins(wallets, baseAssetId, assets2, coinsPerAsset, amountPerCoin) {
|
8684
8690
|
const coins = [];
|
8685
8691
|
let assetIds = [baseAssetId];
|