@openfin/node-adapter 38.83.78 → 38.83.80

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.
@@ -8714,11 +8714,12 @@ class ChannelProvider extends channel_1.ChannelBase {
8714
8714
  return [...__classPrivateFieldGet$8(this, _ChannelProvider_connections, "f")];
8715
8715
  }
8716
8716
  static handleClientDisconnection(channel, payload) {
8717
- const removeById = channel.connections.find((identity) => identity.endpointId === payload.endpointId);
8718
- if (removeById) {
8719
- __classPrivateFieldGet$8(channel, _ChannelProvider_removeEndpoint, "f").call(channel, removeById);
8717
+ if (payload?.endpointId) {
8718
+ const { uuid, name, endpointId, isLocalEndpointId } = payload;
8719
+ __classPrivateFieldGet$8(channel, _ChannelProvider_removeEndpoint, "f").call(channel, { uuid, name, endpointId, isLocalEndpointId });
8720
8720
  }
8721
8721
  else {
8722
+ // this is here to support older runtimes that did not have endpointId
8722
8723
  const multipleRemoves = channel.connections.filter((identity) => {
8723
8724
  return identity.uuid === payload.uuid && identity.name === payload.name;
8724
8725
  });
@@ -17522,7 +17523,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17522
17523
  };
17523
17524
  }
17524
17525
  getAdapterVersionSync() {
17525
- return "38.83.78";
17526
+ return "38.83.80";
17526
17527
  }
17527
17528
  observeBounds(element, onChange) {
17528
17529
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "38.83.78",
3
+ "version": "38.83.80",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -23,7 +23,7 @@
23
23
  "author": "OpenFin",
24
24
  "dependencies": {
25
25
  "@types/node": "^20.14.2",
26
- "@openfin/core": "38.83.78",
26
+ "@openfin/core": "38.83.80",
27
27
  "lodash": "^4.17.21",
28
28
  "ws": "^7.3.0"
29
29
  }