@eleven-am/pondsocket 0.1.123 → 0.1.124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleven-am/pondsocket",
3
- "version": "0.1.123",
3
+ "version": "0.1.124",
4
4
  "description": "PondSocket is a fast simple socket server",
5
5
  "keywords": [
6
6
  "socket",
package/types.d.ts CHANGED
@@ -737,7 +737,7 @@ declare class PondClient {
737
737
  * @param name - The name of the channel.
738
738
  * @param params - The params to send to the server.
739
739
  */
740
- createChannel (name: string, params?: JoinParams): ClientChannel;
740
+ createChannel <EventType extends PondEvenType = PondEvenType> (name: string, params?: JoinParams): ClientChannel<EventType>;
741
741
 
742
742
  /**
743
743
  * @desc Subscribes to the connection state.