Skip to content

Commit

Permalink
Export Connector and EventFormatter to provide full extension cap…
Browse files Browse the repository at this point in the history
…ability (#383)
  • Loading branch information
slavarazum authored Aug 24, 2023
1 parent 95c6c01 commit 507205d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/echo.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Channel, PresenceChannel } from './channel';
import { PusherConnector, SocketIoConnector, NullConnector } from './connector';
import { Connector, PusherConnector, SocketIoConnector, NullConnector } from './connector';

/**
* This class is the primary API for interacting with broadcasting.
Expand Down Expand Up @@ -188,4 +188,6 @@ export default class Echo {
/**
* Export channel classes for TypeScript.
*/
export { Channel, PresenceChannel };
export { Connector, Channel, PresenceChannel };

export { EventFormatter } from './util';

0 comments on commit 507205d

Please sign in to comment.