Remove webrtc from bundle
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user