@openfin/core 41.100.21 → 41.100.24
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock.js +4 -3
- 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
|
-
|
8461
|
-
|
8462
|
-
__classPrivateFieldGet$9(channel, _ChannelProvider_removeEndpoint, "f").call(channel,
|
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
|
});
|