fix: missing method in SLink

This commit is contained in:
KernelDeimos 2024-08-08 17:22:34 -04:00
parent e2f35b4844
commit 5b74b4affa

View File

@ -65,6 +65,11 @@ class SLink extends BaseLink {
throw new Error('cannot send via SLink yet');
}
disconnect () {
this.socket.disconnect();
this.state = this.constructor.OFFLINE;
}
constructor ({
keys,
trustedKeys,