@openfin/core 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.
- 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
|
});
|