From 3e27606edcad479b49c322926a50bcc2aad1a6a7 Mon Sep 17 00:00:00 2001 From: Sasha Date: Wed, 10 May 2023 23:23:32 +0200 Subject: [PATCH] fix lint --- src/pairing.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pairing.ts b/src/pairing.ts index d82aa52..5c23135 100644 --- a/src/pairing.ts +++ b/src/pairing.ts @@ -1,6 +1,6 @@ import { HMACDRBG } from "@stablelib/hmac-drbg"; import { randomBytes } from "@stablelib/random"; -import type { ISender, IMetaSetter, IReceiver } from "@waku/interfaces"; +import type { IMetaSetter, IReceiver, ISender } from "@waku/interfaces"; import debug from "debug"; import { EventEmitter } from "eventemitter3"; import { pEvent } from "p-event"; @@ -249,7 +249,10 @@ export class WakuPairing { // 2nd step // <- sB, eAsB {r} - hsStep = await this.executeReadStepWithNextMessage(this.handshake.hs.toMessageNametag(), subscriptionIterator.iterator); + hsStep = await this.executeReadStepWithNextMessage( + this.handshake.hs.toMessageNametag(), + subscriptionIterator.iterator + ); await subscriptionIterator.stop(); @@ -319,7 +322,10 @@ export class WakuPairing { // -> sA, sAeB, sAsB {s} // The responder reads the initiator's payload sent by the initiator - hsStep = await this.executeReadStepWithNextMessage(this.handshake.hs.toMessageNametag(), subscriptionIterator.iterator); + hsStep = await this.executeReadStepWithNextMessage( + this.handshake.hs.toMessageNametag(), + subscriptionIterator.iterator + ); await subscriptionIterator.stop();