@clawlabz/clawnetwork 0.1.5 → 0.1.7
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/index.ts +3 -3
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -15,7 +15,7 @@ const DEFAULT_P2P_PORT = 9711
|
|
|
15
15
|
const DEFAULT_NETWORK = 'mainnet'
|
|
16
16
|
const DEFAULT_SYNC_MODE = 'light'
|
|
17
17
|
const DEFAULT_HEALTH_CHECK_SECONDS = 30
|
|
18
|
-
const MIN_NODE_VERSION = '0.4.
|
|
18
|
+
const MIN_NODE_VERSION = '0.4.21'
|
|
19
19
|
const DEFAULT_UI_PORT = 19877
|
|
20
20
|
const MAX_RESTART_ATTEMPTS = 3
|
|
21
21
|
|
|
@@ -1330,9 +1330,9 @@ function buildUiHtml(cfg: PluginConfig): string {
|
|
|
1330
1330
|
bannerHtml += 'Update available: v' + (s.latestVersion || '') + ' — ' + (s.changelog || 'New version available');
|
|
1331
1331
|
}
|
|
1332
1332
|
bannerHtml += '</div><div class="upgrade-actions">';
|
|
1333
|
-
bannerHtml += '<button class="upgrade-btn" onclick="doAction(
|
|
1333
|
+
bannerHtml += '<button class="upgrade-btn" onclick="doAction("upgrade")">Update Now</button>';
|
|
1334
1334
|
if (recommended) {
|
|
1335
|
-
bannerHtml += '<button class="upgrade-dismiss" onclick="document.getElementById(
|
|
1335
|
+
bannerHtml += '<button class="upgrade-dismiss" onclick="document.getElementById("upgradeBanner").style.display="none"">Dismiss</button>';
|
|
1336
1336
|
}
|
|
1337
1337
|
bannerHtml += '</div>';
|
|
1338
1338
|
bannerEl.innerHTML = bannerHtml;
|