Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
}
private async requestHandler(messageEvent: MessageEvent): Promise<void> {
- if (this.isResponse(messageEvent.data)) {
+ if (this.isResponse(messageEvent.data) === true) {
return;
}
const [uuid, command, requestPayload] = this.validateMessageEvent(messageEvent)
}
private responseHandler(messageEvent: MessageEvent): void {
- if (this.isRequest(messageEvent.data)) {
+ if (this.isRequest(messageEvent.data) === true) {
return;
}
const [uuid, responsePayload] = this.validateMessageEvent(messageEvent)