@fuel-ts/account 0.0.0-rc-1356-20240511074927 → 0.0.0-rc-2143-20240513161105
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 +19 -10
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +123 -113
- 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 +4 -9
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils.global.js +2419 -506
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +166 -394
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +67 -291
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +15 -16
- package/dist/test-utils/asset-id.d.ts +0 -8
- 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
@@ -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";
|
@@ -3760,7 +3769,6 @@ var TransactionResponse = class {
|
|
3760
3769
|
};
|
3761
3770
|
|
3762
3771
|
// src/providers/utils/auto-retry-fetch.ts
|
3763
|
-
import { sleep } from "@fuel-ts/utils";
|
3764
3772
|
function getWaitDelay(options, retryAttemptNum) {
|
3765
3773
|
const duration = options.baseDelay ?? 150;
|
3766
3774
|
switch (options.backoff) {
|
@@ -10184,6 +10192,7 @@ export {
|
|
10184
10192
|
resolveGasDependentCosts,
|
10185
10193
|
resolveIconPaths,
|
10186
10194
|
returnZeroScript,
|
10195
|
+
sleep,
|
10187
10196
|
transactionRequestify,
|
10188
10197
|
urlJoin,
|
10189
10198
|
withTimeout,
|