@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.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 +10 -3
- 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 +465 -122
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +407 -169
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +301 -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
@@ -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,
|