Skip to content

Commit

Permalink
fix: ConnectionManager connections property should include list of …
Browse files Browse the repository at this point in the history
…`Connection`s (#8004)
  • Loading branch information
pc3b3r committed Aug 4, 2021
1 parent fbbac93 commit 2344db6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/connection/ConnectionManager.ts
Expand Up @@ -10,11 +10,9 @@ import {AlreadyHasActiveConnectionError} from "../error/AlreadyHasActiveConnecti
export class ConnectionManager {
/**
* List of connections registered in this connection manager.
*
* @deprecated
*/
get connections(): Connection[] {
return Array.from(Object.values(this.connectionMap));
return Array.from(this.connectionMap.values());
}

/**
Expand Down

0 comments on commit 2344db6

Please sign in to comment.