@fuel-ts/account 0.0.0-rc-1356-20240322130951 → 0.0.0-rc-1832-20240322144804
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/index.global.js +81 -32
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +112 -102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/dist/providers/utils/auto-retry-fetch.d.ts.map +1 -1
- package/dist/providers/utils/index.d.ts +1 -0
- package/dist/providers/utils/index.d.ts.map +1 -1
- package/dist/providers/utils/sleep.d.ts +3 -0
- package/dist/providers/utils/sleep.d.ts.map +1 -0
- package/dist/test-utils/index.d.ts +0 -4
- package/dist/test-utils/index.d.ts.map +1 -1
- package/dist/test-utils/launchNode.d.ts +1 -8
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +93 -348
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +115 -327
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +22 -230
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -17
- package/dist/test-utils/asset-id.d.ts +0 -9
- package/dist/test-utils/asset-id.d.ts.map +0 -1
- package/dist/test-utils/setup-test-provider-and-wallets.d.ts +0 -33
- package/dist/test-utils/setup-test-provider-and-wallets.d.ts.map +0 -1
- package/dist/test-utils/test-message.d.ts +0 -28
- package/dist/test-utils/test-message.d.ts.map +0 -1
- package/dist/test-utils/wallet-config.d.ts +0 -49
- package/dist/test-utils/wallet-config.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
@@ -1553,6 +1553,15 @@ function normalizeJSON(root) {
|
|
1553
1553
|
return normalize(clone(root));
|
1554
1554
|
}
|
1555
1555
|
|
1556
|
+
// src/providers/utils/sleep.ts
|
1557
|
+
function sleep(time) {
|
1558
|
+
return new Promise((resolve) => {
|
1559
|
+
setTimeout(() => {
|
1560
|
+
resolve(true);
|
1561
|
+
}, time);
|
1562
|
+
});
|
1563
|
+
}
|
1564
|
+
|
1556
1565
|
// src/providers/transaction-request/errors.ts
|
1557
1566
|
var ChangeOutputCollisionError = class extends Error {
|
1558
1567
|
name = "ChangeOutputCollisionError";
|
@@ -3410,7 +3419,6 @@ function getDecodedLogs(receipts, abiInterface) {
|
|
3410
3419
|
}
|
3411
3420
|
|
3412
3421
|
// src/providers/utils/auto-retry-fetch.ts
|
3413
|
-
import { sleep } from "@fuel-ts/utils";
|
3414
3422
|
function getWaitDelay(options, retryAttemptNum) {
|
3415
3423
|
const duration = options.baseDelay ?? 150;
|
3416
3424
|
switch (options.backoff) {
|
@@ -9482,6 +9490,7 @@ export {
|
|
9482
9490
|
resolveGasDependentCosts,
|
9483
9491
|
resolveIconPaths,
|
9484
9492
|
returnZeroScript,
|
9493
|
+
sleep,
|
9485
9494
|
transactionRequestify,
|
9486
9495
|
urlJoin,
|
9487
9496
|
withTimeout,
|