From 84dffdf510b502678db7a204f0eb03ff96b0bc2b Mon Sep 17 00:00:00 2001 From: nullobsi Date: Sat, 29 Jan 2022 18:27:43 -0800 Subject: [PATCH] fix (#42) --- src/streaming.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/streaming.ts b/src/streaming.ts index c354a758f..92b83192c 100644 --- a/src/streaming.ts +++ b/src/streaming.ts @@ -156,11 +156,11 @@ export default class Stream extends EventEmitter { } for (const c of connections) { - c.emit(body.type, Object.freeze(body.body)); + c.emit(body.type, body.body); c.inCount++; } } else { - this.emit(type, Object.freeze(body)); + this.emit(type, body); } }