@fuel-ts/account 0.0.0-rc-2143-20240515072133 → 0.0.0-rc-1356-20240515085856
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 +9 -4
- 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 +28 -0
- package/dist/test-utils/test-message.d.ts.map +1 -0
- package/dist/test-utils/wallet-config.d.ts +49 -0
- package/dist/test-utils/wallet-config.d.ts.map +1 -0
- package/dist/test-utils.global.js +503 -2409
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +397 -169
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +291 -67
- 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
@@ -1712,15 +1712,6 @@ 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
|
-
|
1724
1715
|
// src/providers/utils/extract-tx-error.ts
|
1725
1716
|
import { ErrorCode as ErrorCode7, FuelError as FuelError7 } from "@fuel-ts/errors";
|
1726
1717
|
import { bn as bn6 } from "@fuel-ts/math";
|
@@ -3749,6 +3740,7 @@ var TransactionResponse = class {
|
|
3749
3740
|
};
|
3750
3741
|
|
3751
3742
|
// src/providers/utils/auto-retry-fetch.ts
|
3743
|
+
import { sleep } from "@fuel-ts/utils";
|
3752
3744
|
function getWaitDelay(options, retryAttemptNum) {
|
3753
3745
|
const duration = options.baseDelay ?? 150;
|
3754
3746
|
switch (options.backoff) {
|
@@ -10124,7 +10116,6 @@ export {
|
|
10124
10116
|
resolveGasDependentCosts,
|
10125
10117
|
resolveIconPaths,
|
10126
10118
|
returnZeroScript,
|
10127
|
-
sleep,
|
10128
10119
|
transactionRequestify,
|
10129
10120
|
urlJoin,
|
10130
10121
|
withTimeout,
|