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

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