@leofcoin/chain 1.8.21 → 1.8.22
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.
- package/exports/browser/chain.js +1 -1
- package/exports/chain.js +1 -1
- package/package.json +1 -1
package/exports/browser/chain.js
CHANGED
|
@@ -5655,7 +5655,7 @@ class State extends Contract {
|
|
|
5655
5655
|
debug$1('sync timed out');
|
|
5656
5656
|
}, this.requestTimeout);
|
|
5657
5657
|
console.log({ promises });
|
|
5658
|
-
promises = await Promise.
|
|
5658
|
+
promises = await Promise.allSettled(promises);
|
|
5659
5659
|
console.log({ promises });
|
|
5660
5660
|
promises = promises.filter(({ status }) => status === 'fulfilled');
|
|
5661
5661
|
clearTimeout(timeout);
|
package/exports/chain.js
CHANGED
|
@@ -1796,7 +1796,7 @@ class State extends Contract {
|
|
|
1796
1796
|
debug$1('sync timed out');
|
|
1797
1797
|
}, this.requestTimeout);
|
|
1798
1798
|
console.log({ promises });
|
|
1799
|
-
promises = await Promise.
|
|
1799
|
+
promises = await Promise.allSettled(promises);
|
|
1800
1800
|
console.log({ promises });
|
|
1801
1801
|
promises = promises.filter(({ status }) => status === 'fulfilled');
|
|
1802
1802
|
clearTimeout(timeout);
|