@openfin/node-adapter 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.
@@ -8169,11 +8169,12 @@ class ChannelProvider extends channel_1.ChannelBase {
8169
8169
  return [...__classPrivateFieldGet$9(this, _ChannelProvider_connections, "f")];
8170
8170
  }
8171
8171
  static handleClientDisconnection(channel, payload) {
8172
- const removeById = channel.connections.find((identity) => identity.endpointId === payload.endpointId);
8173
- if (removeById) {
8174
- __classPrivateFieldGet$9(channel, _ChannelProvider_removeEndpoint, "f").call(channel, removeById);
8172
+ if (payload?.endpointId) {
8173
+ const { uuid, name, endpointId, isLocalEndpointId } = payload;
8174
+ __classPrivateFieldGet$9(channel, _ChannelProvider_removeEndpoint, "f").call(channel, { uuid, name, endpointId, isLocalEndpointId });
8175
8175
  }
8176
8176
  else {
8177
+ // this is here to support older runtimes that did not have endpointId
8177
8178
  const multipleRemoves = channel.connections.filter((identity) => {
8178
8179
  return identity.uuid === payload.uuid && identity.name === payload.name;
8179
8180
  });
@@ -17779,7 +17780,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17779
17780
  };
17780
17781
  }
17781
17782
  getAdapterVersionSync() {
17782
- return "41.100.21";
17783
+ return "41.100.24";
17783
17784
  }
17784
17785
  observeBounds(element, onChange) {
17785
17786
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "41.100.21",
3
+ "version": "41.100.24",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -24,7 +24,7 @@
24
24
  "author": "OpenFin",
25
25
  "dependencies": {
26
26
  "@types/node": "^20.14.2",
27
- "@openfin/core": "41.100.21",
27
+ "@openfin/core": "41.100.24",
28
28
  "lodash": "^4.17.21",
29
29
  "ws": "^7.3.0"
30
30
  }