polfan-server-js-client 0.2.1 → 0.2.2

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.
@@ -108,7 +108,7 @@ export type CommandsMap = {
108
108
  SetCustomNick: [SetCustomNick, EventsMap['SpaceMemberUpdated']];
109
109
  JoinRoom: [JoinRoom, EventsMap['RoomJoined']];
110
110
  LeaveRoom: [LeaveRoom, EventsMap['RoomLeft']];
111
- CreateRoom: [CreateRoom, EventsMap['NewRoom']];
111
+ CreateRoom: [CreateRoom, EventsMap['RoomJoined']];
112
112
  DeleteRoom: [DeleteRoom, EventsMap['RoomDeleted']];
113
113
  UpdateRoom: [UpdateRoom, EventsMap['RoomUpdated']];
114
114
  GetRoomMembers: [GetRoomMembers, EventsMap['RoomMembers']];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polfan-server-js-client",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "JavaScript client library for handling communication with Polfan chat server.",
5
5
  "author": "Jarosław Żak",
6
6
  "license": "MIT",
@@ -246,7 +246,7 @@ export type CommandsMap = {
246
246
  // Room commands
247
247
  JoinRoom: [JoinRoom, EventsMap['RoomJoined']],
248
248
  LeaveRoom: [LeaveRoom, EventsMap['RoomLeft']],
249
- CreateRoom: [CreateRoom, EventsMap['NewRoom']],
249
+ CreateRoom: [CreateRoom, EventsMap['RoomJoined']],
250
250
  DeleteRoom: [DeleteRoom, EventsMap['RoomDeleted']],
251
251
  UpdateRoom: [UpdateRoom, EventsMap['RoomUpdated']],
252
252
  GetRoomMembers: [GetRoomMembers, EventsMap['RoomMembers']],