@leofcoin/chain 1.7.105 → 1.7.106

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.
@@ -5405,14 +5405,13 @@ class ConnectionMonitor {
5405
5405
  const connectedPeers = this.connectedPeers;
5406
5406
  const compatiblePeers = this.compatiblePeers;
5407
5407
  console.log(`🔍 Health check: ${connectedPeers.length} connected, ${compatiblePeers.length} compatible`);
5408
- if (connectedPeers.length === 0) {
5409
- console.warn('⚠️ No peer connections detected');
5410
- await this.#attemptReconnection();
5411
- }
5412
- else if (compatiblePeers.length === 0) {
5413
- console.warn('⚠️ No compatible peers found');
5414
- await this.#attemptReconnection();
5415
- }
5408
+ // if (connectedPeers.length === 0) {
5409
+ console.warn('⚠️ No peer connections detected');
5410
+ // await this.#attemptReconnection()
5411
+ // } else if (compatiblePeers.length === 0) {
5412
+ console.warn('⚠️ No compatible peers found');
5413
+ // await this.#attemptReconnection()
5414
+ // }
5416
5415
  // Publish connection status
5417
5416
  globalThis.pubsub?.publish('connection-status', {
5418
5417
  connected: connectedPeers.length,
package/exports/chain.js CHANGED
@@ -1551,14 +1551,13 @@ class ConnectionMonitor {
1551
1551
  const connectedPeers = this.connectedPeers;
1552
1552
  const compatiblePeers = this.compatiblePeers;
1553
1553
  console.log(`🔍 Health check: ${connectedPeers.length} connected, ${compatiblePeers.length} compatible`);
1554
- if (connectedPeers.length === 0) {
1555
- console.warn('⚠️ No peer connections detected');
1556
- await this.#attemptReconnection();
1557
- }
1558
- else if (compatiblePeers.length === 0) {
1559
- console.warn('⚠️ No compatible peers found');
1560
- await this.#attemptReconnection();
1561
- }
1554
+ // if (connectedPeers.length === 0) {
1555
+ console.warn('⚠️ No peer connections detected');
1556
+ // await this.#attemptReconnection()
1557
+ // } else if (compatiblePeers.length === 0) {
1558
+ console.warn('⚠️ No compatible peers found');
1559
+ // await this.#attemptReconnection()
1560
+ // }
1562
1561
  // Publish connection status
1563
1562
  globalThis.pubsub?.publish('connection-status', {
1564
1563
  connected: connectedPeers.length,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.7.105",
3
+ "version": "1.7.106",
4
4
  "description": "Official javascript implementation",
5
5
  "private": false,
6
6
  "exports": {