From 5ef872cf7dc5dc8096a10ef52a2a8ea06b3c837c Mon Sep 17 00:00:00 2001 From: Avraham Sakal Date: Thu, 18 May 2023 12:23:52 -0400 Subject: [PATCH] fix: missing Peer ops in categorizeReactions --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index b94d771..a875e04 100644 --- a/src/index.ts +++ b/src/index.ts @@ -185,7 +185,7 @@ function categorizeReactions(reactions:Array>) : {sideEffects:A else if(reaction.type === 'ContextMutation'){ contextMutations.push(reaction); } - else if(reaction.type === 'SetPeer'){ + else if(reaction.type === 'SetPeer' || reaction.type === 'SetPeers' || reaction.type === 'AddPeers'){ peerings.push(reaction); } else if(reaction.type === 'Goto'){