1.1.0-1.5.2 #16

Merged
Royce59 merged 30 commits from dev into main 2026-03-18 17:59:15 +00:00
Showing only changes of commit 8dc2537cdc - Show all commits

View File

@@ -26,6 +26,7 @@ import { PacketDeviceList } from "./packets/packet.device.list";
import { PacketDeviceResolve } from "./packets/packet.device.resolve";
import { PacketSync } from "./packets/packet.sync";
import { PacketSignalPeer } from "./packets/packet.signal.peer";
import { PacketWebRTC } from "./packets/packet.webrtc";
export default class Protocol extends EventEmitter {
private serverAddress: string;
@@ -127,6 +128,7 @@ export default class Protocol extends EventEmitter {
this._supportedPackets.set(0x18, new PacketDeviceResolve());
this._supportedPackets.set(25, new PacketSync());
this._supportedPackets.set(26, new PacketSignalPeer());
this._supportedPackets.set(27, new PacketWebRTC());
}
private _findWaiters(packetId: number): ((packet: Packet) => void)[] {