@openfin/remote-adapter 41.100.21 → 41.100.25

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.
@@ -13043,11 +13043,12 @@ class ChannelProvider extends channel_1.ChannelBase {
13043
13043
  return [...__classPrivateFieldGet$7(this, _ChannelProvider_connections, "f")];
13044
13044
  }
13045
13045
  static handleClientDisconnection(channel, payload) {
13046
- const removeById = channel.connections.find((identity) => identity.endpointId === payload.endpointId);
13047
- if (removeById) {
13048
- __classPrivateFieldGet$7(channel, _ChannelProvider_removeEndpoint, "f").call(channel, removeById);
13046
+ if (payload?.endpointId) {
13047
+ const { uuid, name, endpointId, isLocalEndpointId } = payload;
13048
+ __classPrivateFieldGet$7(channel, _ChannelProvider_removeEndpoint, "f").call(channel, { uuid, name, endpointId, isLocalEndpointId });
13049
13049
  }
13050
13050
  else {
13051
+ // this is here to support older runtimes that did not have endpointId
13051
13052
  const multipleRemoves = channel.connections.filter((identity) => {
13052
13053
  return identity.uuid === payload.uuid && identity.name === payload.name;
13053
13054
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "41.100.21",
3
+ "version": "41.100.25",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -20,6 +20,6 @@
20
20
  "author": "OpenFin",
21
21
  "dependencies": {
22
22
  "lodash": "^4.17.21",
23
- "@openfin/core": "41.100.21"
23
+ "@openfin/core": "41.100.25"
24
24
  }
25
25
  }