@fuel-ts/account 0.0.0-rc-1356-20240520140225 → 0.0.0-rc-2143-20240520152005

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
@@ -1714,6 +1714,15 @@ function normalizeJSON(root) {
1714
1714
  return normalize(clone(root));
1715
1715
  }
1716
1716
 
1717
+ // src/providers/utils/sleep.ts
1718
+ function sleep(time) {
1719
+ return new Promise((resolve) => {
1720
+ setTimeout(() => {
1721
+ resolve(true);
1722
+ }, time);
1723
+ });
1724
+ }
1725
+
1717
1726
  // src/providers/utils/extract-tx-error.ts
1718
1727
  import { ErrorCode as ErrorCode7, FuelError as FuelError7 } from "@fuel-ts/errors";
1719
1728
  import { bn as bn6 } from "@fuel-ts/math";
@@ -3739,7 +3748,6 @@ var TransactionResponse = class {
3739
3748
  };
3740
3749
 
3741
3750
  // src/providers/utils/auto-retry-fetch.ts
3742
- import { sleep } from "@fuel-ts/utils";
3743
3751
  function getWaitDelay(options, retryAttemptNum) {
3744
3752
  const duration = options.baseDelay ?? 150;
3745
3753
  switch (options.backoff) {
@@ -10134,6 +10142,7 @@ export {
10134
10142
  resolveGasDependentCosts,
10135
10143
  resolveIconPaths,
10136
10144
  returnZeroScript,
10145
+ sleep,
10137
10146
  transactionRequestify,
10138
10147
  urlJoin,
10139
10148
  withTimeout,