Compare commits
2 Commits
b3d6fd4668
...
9791e7c4a1
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 9791e7c4a1 | |
Derrick Hammer | d30528caa0 |
|
@ -14,6 +14,7 @@ class Peer extends peer_js_1.default {
|
|||
}
|
||||
async handleChannelOnOpen(m) {
|
||||
await this._proxy.handleNewPeerChannel(this);
|
||||
this._proxy.emit("peerOpen", this);
|
||||
}
|
||||
}
|
||||
exports.default = Peer;
|
||||
|
|
|
@ -16,5 +16,6 @@ export default class Peer extends BasePeer {
|
|||
|
||||
protected async handleChannelOnOpen(m: any): Promise<void> {
|
||||
await this._proxy.handleNewPeerChannel(this);
|
||||
this._proxy.emit("peerOpen", this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue