@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.
@@ -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.any(promises);
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.any(promises);
1799
+ promises = await Promise.allSettled(promises);
1800
1800
  console.log({ promises });
1801
1801
  promises = promises.filter(({ status }) => status === 'fulfilled');
1802
1802
  clearTimeout(timeout);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.8.21",
3
+ "version": "1.8.22",
4
4
  "description": "Official javascript implementation",
5
5
  "private": false,
6
6
  "exports": {