lnlink-server 1.2.1 → 1.2.2
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/dist/app.js +1 -1
- package/dist/build-info.json +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/public/js/init.js +5 -4
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/public/js/init.js
CHANGED
|
@@ -290,7 +290,7 @@ function renderConfiguredView(basicData, settings, torReachable) {
|
|
|
290
290
|
// Extract Node ID — use the actual LND node pubkey from /api/lnd/info.
|
|
291
291
|
// settings.officialNostrPubKey is a remote-registered key, not the local node identity.
|
|
292
292
|
const nodeId
|
|
293
|
-
= basicData.
|
|
293
|
+
= basicData.nodeAddr || "Unknown"
|
|
294
294
|
|
|
295
295
|
// Get Tor status from basicData
|
|
296
296
|
const enableTor
|
|
@@ -585,10 +585,11 @@ window.navigateToManage = function navigateToManage(url, button) {
|
|
|
585
585
|
// Clear stale localStorage before navigating so the target page doesn't
|
|
586
586
|
// pick up a previous session's owner/node data. Keep cachedVersion.
|
|
587
587
|
try {
|
|
588
|
-
const preserved = localStorage.getItem(
|
|
588
|
+
const preserved = localStorage.getItem("cachedVersion")
|
|
589
589
|
localStorage.clear()
|
|
590
|
-
if (preserved !== null) localStorage.setItem(
|
|
591
|
-
}
|
|
590
|
+
if (preserved !== null) localStorage.setItem("cachedVersion", preserved)
|
|
591
|
+
}
|
|
592
|
+
catch (e) {
|
|
592
593
|
// non-fatal
|
|
593
594
|
}
|
|
594
595
|
|