Warm up NIP-07 extension state

This commit is contained in:
thePR0M3TH3AN committed 2026-01-29 12:33:27 -05:00
1 parent a3b5bbb84f
commit 589fdd2ec4
2 files changed
+77 -9

No files matched your search

+4
View File
@@ -571,6 +571,10 @@ class Application {
this.loadView = module?.loadView || null;
}
if (nostrClient && typeof nostrClient.warmupExtension === "function") {
nostrClient.warmupExtension();
}
// Force update of any registered service workers to ensure latest code is used.
if ("serviceWorker" in navigator) {
navigator.serviceWorker.getRegistrations().then((registrations) => {