@openfin/remote-adapter 38.83.79 → 38.83.80

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.
@@ -13581,11 +13581,12 @@ class ChannelProvider extends channel_1.ChannelBase {
13581
13581
  return [...__classPrivateFieldGet$6(this, _ChannelProvider_connections, "f")];
13582
13582
  }
13583
13583
  static handleClientDisconnection(channel, payload) {
13584
- const removeById = channel.connections.find((identity) => identity.endpointId === payload.endpointId);
13585
- if (removeById) {
13586
- __classPrivateFieldGet$6(channel, _ChannelProvider_removeEndpoint, "f").call(channel, removeById);
13584
+ if (payload?.endpointId) {
13585
+ const { uuid, name, endpointId, isLocalEndpointId } = payload;
13586
+ __classPrivateFieldGet$6(channel, _ChannelProvider_removeEndpoint, "f").call(channel, { uuid, name, endpointId, isLocalEndpointId });
13587
13587
  }
13588
13588
  else {
13589
+ // this is here to support older runtimes that did not have endpointId
13589
13590
  const multipleRemoves = channel.connections.filter((identity) => {
13590
13591
  return identity.uuid === payload.uuid && identity.name === payload.name;
13591
13592
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "38.83.79",
3
+ "version": "38.83.80",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -19,6 +19,6 @@
19
19
  "author": "OpenFin",
20
20
  "dependencies": {
21
21
  "lodash": "^4.17.21",
22
- "@openfin/core": "38.83.79"
22
+ "@openfin/core": "38.83.80"
23
23
  }
24
24
  }