Skip to content

Commit 507205d

Browse files
authored
Export Connector and EventFormatter to provide full extension capability (#383)
1 parent 95c6c01 commit 507205d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/echo.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Channel, PresenceChannel } from './channel';
2-
import { PusherConnector, SocketIoConnector, NullConnector } from './connector';
2+
import { Connector, PusherConnector, SocketIoConnector, NullConnector } from './connector';
33

44
/**
55
* This class is the primary API for interacting with broadcasting.
@@ -188,4 +188,6 @@ export default class Echo {
188188
/**
189189
* Export channel classes for TypeScript.
190190
*/
191-
export { Channel, PresenceChannel };
191+
export { Connector, Channel, PresenceChannel };
192+
193+
export { EventFormatter } from './util';

0 commit comments

Comments
 (0)