diff --git a/gateway/src/util/Constants.ts b/gateway/src/util/Constants.ts
index 5441118b..ff9b5525 100644
--- a/gateway/src/util/Constants.ts
+++ b/gateway/src/util/Constants.ts
@@ -1,4 +1,4 @@
-import { VoiceOPCodes } from "@fosscord/webrtc";
+// import { VoiceOPCodes } from "@fosscord/webrtc";
export enum OPCODES {
Dispatch = 0,
@@ -45,7 +45,7 @@ export enum CLOSECODES {
}
export interface Payload {
- op: OPCODES | VoiceOPCodes;
+ op: OPCODES /* | VoiceOPCodes */;
d?: any;
s?: number;
t?: string;
diff --git a/gateway/src/util/WebSocket.ts b/gateway/src/util/WebSocket.ts
index d549ec77..930fa78a 100644
--- a/gateway/src/util/WebSocket.ts
+++ b/gateway/src/util/WebSocket.ts
@@ -1,7 +1,7 @@
import { Intents, Permissions } from "@fosscord/util";
import WS from "ws";
import { Deflate, Inflate } from "fast-zlib";
-import { Client } from "@fosscord/webrtc";
+// import { Client } from "@fosscord/webrtc";
export interface WebSocket extends WS {
version: number;
@@ -22,5 +22,5 @@ export interface WebSocket extends WS {
events: Record<string, Function>;
member_events: Record<string, Function>;
listen_options: any;
- client?: Client;
+ // client?: Client;
}
diff --git a/gateway/tsconfig.json b/gateway/tsconfig.json
index cc694102..e1508f89 100644
--- a/gateway/tsconfig.json
+++ b/gateway/tsconfig.json
@@ -77,8 +77,8 @@
"baseUrl": ".",
"paths": {
"@fosscord/gateway": ["src/index.ts"],
- "@fosscord/util": ["../util/src/index"],
- "@fosscord/webrtc": ["../webrtc/src/index"]
+ "@fosscord/util": ["../util/src/index"]
+ // "@fosscord/webrtc": ["../webrtc/src/index"]
},
"plugins": [{ "transform": "@zerollup/ts-transform-paths" }]
}
|