polfan-server-js-client 0.2.71 → 0.2.73

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polfan-server-js-client",
3
- "version": "0.2.71",
3
+ "version": "0.2.73",
4
4
  "description": "JavaScript client library for handling communication with Polfan chat server.",
5
5
  "author": "Jarosław Żak",
6
6
  "license": "MIT",
@@ -192,8 +192,8 @@ export class WebSocketChatClient extends AbstractChatClient implements Observabl
192
192
  }, this.options.ping.pongBackTimeoutMs);
193
193
 
194
194
  this.send('Ping', {}).then(() => {
195
- this.inFlightPingTimeout = undefined;
196
195
  clearTimeout(this.inFlightPingTimeout);
196
+ this.inFlightPingTimeout = undefined;
197
197
  });
198
198
  }, 1000);
199
199
  }
@@ -20,7 +20,7 @@ import {PromiseRegistry} from "./AsyncUtils";
20
20
  const getOvId = (
21
21
  location: ChatLocation,
22
22
  target?: PermissionOverwritesTarget,
23
- ) => [location.spaceId, location.roomId, location.topicId, target?.type, target?.userId, target?.roleId].filter(Boolean).join('/');
23
+ ) => [location.roomId, location.topicId, target?.type, target?.userId, target?.roleId].filter(Boolean).join('/');
24
24
 
25
25
  const getOvIdByObject
26
26
  = (overwrites: PermissionOverwrites | PermissionOverwritesUpdated): string => getOvId(overwrites.location, overwrites.target);