We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f146aa commit 090385fCopy full SHA for 090385f
src/network/connection.ts
@@ -143,11 +143,11 @@ export class Connection extends EventEmitter {
143
}
144
145
get host (): string | undefined {
146
- return this.#status === ConnectionStatuses.CONNECTED ? this.#host : undefined
+ return this.#status === ConnectionStatuses.CONNECTING || ConnectionStatuses.CONNECTED ? this.#host : undefined
147
148
149
get port (): number | undefined {
150
- return this.#status === ConnectionStatuses.CONNECTED ? this.#port : undefined
+ return this.#status === ConnectionStatuses.CONNECTING || ConnectionStatuses.CONNECTED ? this.#port : undefined
151
152
153
get instanceId (): number {
0 commit comments