revert: refactor: native zlib support (#10314)

Revert "refactor: native zlib support (#10243)"

This reverts commit 20258f94bf.
This commit is contained in:
Jiralite
2024-06-02 20:53:31 +01:00
committed by GitHub
parent aae2faf9e9
commit 4ea73bb64e
4 changed files with 63 additions and 160 deletions

View File

@@ -50,10 +50,7 @@ const manager = new WebSocketManager({
intents: 0, // for no intents
rest,
// uncomment if you have zlib-sync installed and want to use compression
// compression: CompressionMethod.ZlibSync,
// alternatively, we support compression using node's native `node:zlib` module:
// compression: CompressionMethod.ZlibNative,
// compression: CompressionMethod.ZlibStream,
});
manager.on(WebSocketShardEvents.Dispatch, (event) => {