@openfin/core 41.100.21 → 41.100.24

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/out/mock.js +4 -3
  2. package/package.json +1 -1
package/out/mock.js CHANGED
@@ -8457,11 +8457,12 @@ class ChannelProvider extends channel_1.ChannelBase {
8457
8457
  return [...__classPrivateFieldGet$9(this, _ChannelProvider_connections, "f")];
8458
8458
  }
8459
8459
  static handleClientDisconnection(channel, payload) {
8460
- const removeById = channel.connections.find((identity) => identity.endpointId === payload.endpointId);
8461
- if (removeById) {
8462
- __classPrivateFieldGet$9(channel, _ChannelProvider_removeEndpoint, "f").call(channel, removeById);
8460
+ if (payload?.endpointId) {
8461
+ const { uuid, name, endpointId, isLocalEndpointId } = payload;
8462
+ __classPrivateFieldGet$9(channel, _ChannelProvider_removeEndpoint, "f").call(channel, { uuid, name, endpointId, isLocalEndpointId });
8463
8463
  }
8464
8464
  else {
8465
+ // this is here to support older runtimes that did not have endpointId
8465
8466
  const multipleRemoves = channel.connections.filter((identity) => {
8466
8467
  return identity.uuid === payload.uuid && identity.name === payload.name;
8467
8468
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "41.100.21",
3
+ "version": "41.100.24",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",