@leofcoin/chain 1.7.100 → 1.7.101
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 +0 -4
- package/exports/chain.js +0 -4
- package/package.json +1 -1
package/exports/browser/chain.js
CHANGED
|
@@ -5623,10 +5623,6 @@ class ConnectionMonitor {
|
|
|
5623
5623
|
async #attemptReconnection() {
|
|
5624
5624
|
console.warn('⚠️ Attempting to reconnect to peers...');
|
|
5625
5625
|
try {
|
|
5626
|
-
// gentle restore: if peernet supports start(), try that first
|
|
5627
|
-
if (globalThis.peernet?.start) {
|
|
5628
|
-
await globalThis.peernet.start();
|
|
5629
|
-
}
|
|
5630
5626
|
// attempt targeted reconnection for disconnected peers sequentially (avoid racing WebRTC state)
|
|
5631
5627
|
const disconnected = this.disconnectedPeers;
|
|
5632
5628
|
for (const p of disconnected) {
|
package/exports/chain.js
CHANGED
|
@@ -1769,10 +1769,6 @@ class ConnectionMonitor {
|
|
|
1769
1769
|
async #attemptReconnection() {
|
|
1770
1770
|
console.warn('⚠️ Attempting to reconnect to peers...');
|
|
1771
1771
|
try {
|
|
1772
|
-
// gentle restore: if peernet supports start(), try that first
|
|
1773
|
-
if (globalThis.peernet?.start) {
|
|
1774
|
-
await globalThis.peernet.start();
|
|
1775
|
-
}
|
|
1776
1772
|
// attempt targeted reconnection for disconnected peers sequentially (avoid racing WebRTC state)
|
|
1777
1773
|
const disconnected = this.disconnectedPeers;
|
|
1778
1774
|
for (const p of disconnected) {
|