Lotsa changes :)

This commit is contained in:
bobbydigitales
2024-10-03 12:32:59 -07:00
parent c449267f01
commit 2236ff0e6d
41 changed files with 1402 additions and 541 deletions

20
static/peers.js Normal file
View File

@@ -0,0 +1,20 @@
var PeerMessageTypes;
(function (PeerMessageTypes) {
PeerMessageTypes[PeerMessageTypes["HELLO"] = 0] = "HELLO";
})(PeerMessageTypes || (PeerMessageTypes = {}));
export class Peer {
constructor() {
this.peer_id = '';
this.state = 'ready';
}
connect(peer_id) {
}
}
export class PeerManager {
constructor() {
this.peers = [];
}
connectPeer(peer_id) {
}
}
//# sourceMappingURL=peers.js.map