@fuel-ts/account 0.0.0-rc-1356-20240515091838 → 0.0.0-rc-2143-20240515092507

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
@@ -1712,6 +1712,15 @@ function normalizeJSON(root) {
1712
1712
  return normalize(clone(root));
1713
1713
  }
1714
1714
 
1715
+ // src/providers/utils/sleep.ts
1716
+ function sleep(time) {
1717
+ return new Promise((resolve) => {
1718
+ setTimeout(() => {
1719
+ resolve(true);
1720
+ }, time);
1721
+ });
1722
+ }
1723
+
1715
1724
  // src/providers/utils/extract-tx-error.ts
1716
1725
  import { ErrorCode as ErrorCode7, FuelError as FuelError7 } from "@fuel-ts/errors";
1717
1726
  import { bn as bn6 } from "@fuel-ts/math";
@@ -3740,7 +3749,6 @@ var TransactionResponse = class {
3740
3749
  };
3741
3750
 
3742
3751
  // src/providers/utils/auto-retry-fetch.ts
3743
- import { sleep } from "@fuel-ts/utils";
3744
3752
  function getWaitDelay(options, retryAttemptNum) {
3745
3753
  const duration = options.baseDelay ?? 150;
3746
3754
  switch (options.backoff) {
@@ -10116,6 +10124,7 @@ export {
10116
10124
  resolveGasDependentCosts,
10117
10125
  resolveIconPaths,
10118
10126
  returnZeroScript,
10127
+ sleep,
10119
10128
  transactionRequestify,
10120
10129
  urlJoin,
10121
10130
  withTimeout,