Skip to content

Commit 313c5a9

Browse files
feat: make rooms and sids public
Related: #63
1 parent 4111013 commit 313c5a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ export interface BroadcastOptions {
1818
}
1919

2020
export class Adapter extends EventEmitter {
21-
protected rooms: Map<Room, Set<SocketId>> = new Map();
22-
protected sids: Map<SocketId, Set<Room>> = new Map();
21+
public rooms: Map<Room, Set<SocketId>> = new Map();
22+
public sids: Map<SocketId, Set<Room>> = new Map();
2323
private readonly encoder;
2424

2525
/**

0 commit comments

Comments
 (0)