(eventId: string, success: boolean, message: string)
| 67 | } |
| 68 | |
| 69 | private sendResult(eventId: string, success: boolean, message: string): void { |
| 70 | this.webSocket.emit( |
| 71 | WebSocketAdapterEvent.Message, |
| 72 | createCommandResult(eventId, success, message), |
| 73 | ) |
| 74 | } |
| 75 | |
| 76 | // NIP-42 says domain-match is sufficient for relay URL comparison |
| 77 | private isRelayUrlMatch(clientRelay: string, serverRelay: string): boolean { |
no test coverage detected