@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.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,