@fuel-ts/account 0.0.0-rc-2333-20240521114009 → 0.0.0-rc-1356-20240521154745
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 +7 -9
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +115 -125
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -10
- 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 +0 -1
- package/dist/providers/utils/index.d.ts.map +1 -1
- package/dist/test-utils/asset-id.d.ts +8 -0
- package/dist/test-utils/asset-id.d.ts.map +1 -0
- package/dist/test-utils/index.d.ts +4 -0
- package/dist/test-utils/index.d.ts.map +1 -1
- package/dist/test-utils/launchNode.d.ts +8 -1
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils/setup-test-provider-and-wallets.d.ts +33 -0
- package/dist/test-utils/setup-test-provider-and-wallets.d.ts.map +1 -0
- package/dist/test-utils/test-message.d.ts +29 -0
- package/dist/test-utils/test-message.d.ts.map +1 -0
- package/dist/test-utils/wallet-config.d.ts +55 -0
- package/dist/test-utils/wallet-config.d.ts.map +1 -0
- package/dist/test-utils.global.js +395 -67
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +404 -167
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +298 -65
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -15
- package/dist/providers/utils/sleep.d.ts +0 -3
- package/dist/providers/utils/sleep.d.ts.map +0 -1
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) {
|
@@ -10198,7 +10190,6 @@ export {
|
|
10198
10190
|
resolveGasDependentCosts,
|
10199
10191
|
resolveIconPaths,
|
10200
10192
|
returnZeroScript,
|
10201
|
-
sleep,
|
10202
10193
|
transactionRequestify,
|
10203
10194
|
urlJoin,
|
10204
10195
|
withTimeout,
|