diff --git a/src/index.ts b/src/index.ts index 932fac5..a3e4946 100644 --- a/src/index.ts +++ b/src/index.ts @@ -191,6 +191,7 @@ export class Socket extends Client { this._remotePublicKey = info.remotePublicKey; this._rawStream = info.rawStream; + await this.swarm.emitAsync("setup"); } on>( event: T,