first pass at nip42 authentication #93

Merged
LiranCohen merged 6 commits from feature/Nip42-Support into nip42 2023-01-25 14:45:00 +00:00
Showing only changes of commit a71e3f47c7 - Show all commits

View File

@ -328,10 +328,6 @@ export default class Connection {
}
_SendJson(obj: any) {
if(!this.Authed && this.AwaitingAuth.size > 0) {
this.Pending.push(obj);
return;
}
if (this.Socket?.readyState !== WebSocket.OPEN) {
this.Pending.push(obj);
return;