From cdbb54bb3c5915556cd69b44a9eaef49c3d19d50 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 20 Sep 2021 23:34:54 +0200 Subject: :art: rewrite imports --- gateway/src/events/Connection.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'gateway/src/events/Connection.ts') diff --git a/gateway/src/events/Connection.ts b/gateway/src/events/Connection.ts index b9d2d6a1..cb4fc85a 100644 --- a/gateway/src/events/Connection.ts +++ b/gateway/src/events/Connection.ts @@ -1,11 +1,14 @@ import WS from "ws"; -import WebSocket from "@fosscord/gateway/util/WebSocket"; +import { + setHeartbeat, + Send, + CLOSECODES, + OPCODES, + WebSocket, +} from "@fosscord/gateway"; import { IncomingMessage } from "http"; import { Close } from "./Close"; import { Message } from "./Message"; -import { setHeartbeat } from "@fosscord/gateway/util/setHeartbeat"; -import { Send } from "@fosscord/gateway/util/Send"; -import { CLOSECODES, OPCODES } from "@fosscord/gateway/util/Constants"; import { createDeflate } from "zlib"; import { URL } from "url"; import { Session } from "@fosscord/util"; -- cgit 1.5.1