@konemono/nostr-login 1.7.19 → 1.7.20
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/package.json
CHANGED
|
@@ -72,7 +72,10 @@ class BannerManager extends EventEmitter {
|
|
|
72
72
|
this.iframeReady = undefined;
|
|
73
73
|
}
|
|
74
74
|
this.banner.isLoading = false;
|
|
75
|
-
|
|
75
|
+
// Don't clear timeout notification, user needs to see it
|
|
76
|
+
if (this.banner.notify?.mode !== 'timeout') {
|
|
77
|
+
this.banner.notify = { mode: '' };
|
|
78
|
+
}
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
81
|
|
|
@@ -86,10 +86,8 @@ class ProcessManager extends EventEmitter {
|
|
|
86
86
|
|
|
87
87
|
this.callCount--;
|
|
88
88
|
|
|
89
|
-
//
|
|
90
|
-
|
|
91
|
-
this.emit('onCallEnd');
|
|
92
|
-
}
|
|
89
|
+
// Always emit onCallEnd for cleanup
|
|
90
|
+
this.emit('onCallEnd');
|
|
93
91
|
|
|
94
92
|
// Clear the timer if it's the one we created
|
|
95
93
|
if (this.callTimer === localTimer) {
|