@openfin/remote-adapter 38.83.79 → 38.83.84

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/README.md CHANGED
@@ -49,13 +49,3 @@ fin.me.interop = fin.Interop.connectSync('<HOST_APP_UUID>', {});
49
49
  // Get an instance of fdc3 from using the getFDC3Sync api.
50
50
  const fdc3 = fin.me.interop.getFDC3Sync('2.0');
51
51
  ```
52
-
53
- ## License
54
-
55
- Copyright 2020-2023 OpenFin
56
-
57
- The code in this package is distributed under the Apache License, Version 2.0.
58
-
59
- However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin's Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or email us at support@openfin.co with questions.
60
-
61
- - [Developer agreement](https://openfin.co/developer-agreement/)
@@ -13581,11 +13581,12 @@ class ChannelProvider extends channel_1.ChannelBase {
13581
13581
  return [...__classPrivateFieldGet$6(this, _ChannelProvider_connections, "f")];
13582
13582
  }
13583
13583
  static handleClientDisconnection(channel, payload) {
13584
- const removeById = channel.connections.find((identity) => identity.endpointId === payload.endpointId);
13585
- if (removeById) {
13586
- __classPrivateFieldGet$6(channel, _ChannelProvider_removeEndpoint, "f").call(channel, removeById);
13584
+ if (payload?.endpointId) {
13585
+ const { uuid, name, endpointId, isLocalEndpointId } = payload;
13586
+ __classPrivateFieldGet$6(channel, _ChannelProvider_removeEndpoint, "f").call(channel, { uuid, name, endpointId, isLocalEndpointId });
13587
13587
  }
13588
13588
  else {
13589
+ // this is here to support older runtimes that did not have endpointId
13589
13590
  const multipleRemoves = channel.connections.filter((identity) => {
13590
13591
  return identity.uuid === payload.uuid && identity.name === payload.name;
13591
13592
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "38.83.79",
3
+ "version": "38.83.84",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -19,6 +19,6 @@
19
19
  "author": "OpenFin",
20
20
  "dependencies": {
21
21
  "lodash": "^4.17.21",
22
- "@openfin/core": "38.83.79"
22
+ "@openfin/core": "38.83.84"
23
23
  }
24
24
  }