@leofcoin/chain 1.7.101 → 1.7.103
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 -3
- package/exports/chain.js +1 -3
- package/package.json +2 -2
package/exports/browser/chain.js
CHANGED
|
@@ -5315,7 +5315,7 @@ class ConnectionMonitor {
|
|
|
5315
5315
|
#peerReconnectAttempts = {};
|
|
5316
5316
|
#maxReconnectAttempts = 10;
|
|
5317
5317
|
#reconnectDelay = 5000;
|
|
5318
|
-
#healthCheckInterval =
|
|
5318
|
+
#healthCheckInterval = 60000;
|
|
5319
5319
|
#version;
|
|
5320
5320
|
// event handlers to remove later
|
|
5321
5321
|
#onOnline = null;
|
|
@@ -5370,8 +5370,6 @@ class ConnectionMonitor {
|
|
|
5370
5370
|
this.#checkInterval = setInterval(() => {
|
|
5371
5371
|
this.#healthCheck();
|
|
5372
5372
|
}, this.#healthCheckInterval);
|
|
5373
|
-
// Initial health check
|
|
5374
|
-
this.#healthCheck();
|
|
5375
5373
|
}
|
|
5376
5374
|
stop() {
|
|
5377
5375
|
if (!this.#isMonitoring)
|
package/exports/chain.js
CHANGED
|
@@ -1461,7 +1461,7 @@ class ConnectionMonitor {
|
|
|
1461
1461
|
#peerReconnectAttempts = {};
|
|
1462
1462
|
#maxReconnectAttempts = 10;
|
|
1463
1463
|
#reconnectDelay = 5000;
|
|
1464
|
-
#healthCheckInterval =
|
|
1464
|
+
#healthCheckInterval = 60000;
|
|
1465
1465
|
#version;
|
|
1466
1466
|
// event handlers to remove later
|
|
1467
1467
|
#onOnline = null;
|
|
@@ -1516,8 +1516,6 @@ class ConnectionMonitor {
|
|
|
1516
1516
|
this.#checkInterval = setInterval(() => {
|
|
1517
1517
|
this.#healthCheck();
|
|
1518
1518
|
}, this.#healthCheckInterval);
|
|
1519
|
-
// Initial health check
|
|
1520
|
-
this.#healthCheck();
|
|
1521
1519
|
}
|
|
1522
1520
|
stop() {
|
|
1523
1521
|
if (!this.#isMonitoring)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leofcoin/chain",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.103",
|
|
4
4
|
"description": "Official javascript implementation",
|
|
5
5
|
"private": false,
|
|
6
6
|
"exports": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
56
56
|
"@types/semver": "^7.7.0",
|
|
57
57
|
"@vandeurenglenn/debug": "^1.2.6",
|
|
58
|
-
"rollup": "^4.46.
|
|
58
|
+
"rollup": "^4.46.4",
|
|
59
59
|
"rollup-plugin-modify": "^3.0.0",
|
|
60
60
|
"tape": "^5.9.0",
|
|
61
61
|
"tslib": "^2.8.1"
|