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); } }