@openfin/remote-adapter 40.100.3 → 40.100.6
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 +0 -10
- package/out/remote-adapter.js +23 -3
- package/package.json +2 -2
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/)
|
package/out/remote-adapter.js
CHANGED
|
@@ -6463,6 +6463,25 @@ function requireInstance$2 () {
|
|
|
6463
6463
|
})
|
|
6464
6464
|
.then(() => undefined);
|
|
6465
6465
|
}
|
|
6466
|
+
/**
|
|
6467
|
+
* Set hover text for this application's system tray icon.
|
|
6468
|
+
* Note: Application must first set a tray icon with {@link Application.setTrayIcon}.
|
|
6469
|
+
* @param toolTip
|
|
6470
|
+
*
|
|
6471
|
+
* @example
|
|
6472
|
+
*
|
|
6473
|
+
* ```js
|
|
6474
|
+
* const app = fin.Application.getCurrentSync();
|
|
6475
|
+
* const iconUrl = "http://cdn.openfin.co/assets/testing/icons/circled-digit-one.png";
|
|
6476
|
+
*
|
|
6477
|
+
* await app.setTrayIcon(iconUrl);
|
|
6478
|
+
*
|
|
6479
|
+
* await app.setTrayIconToolTip('My Application');
|
|
6480
|
+
* ```
|
|
6481
|
+
*/
|
|
6482
|
+
async setTrayIconToolTip(toolTip) {
|
|
6483
|
+
await this.wire.sendAction('set-tray-icon-tooltip', { ...this.identity, toolTip });
|
|
6484
|
+
}
|
|
6466
6485
|
/**
|
|
6467
6486
|
* Sets new application's shortcut configuration. Windows only.
|
|
6468
6487
|
* @param config New application's shortcut configuration.
|
|
@@ -13024,11 +13043,12 @@ class ChannelProvider extends channel_1.ChannelBase {
|
|
|
13024
13043
|
return [...__classPrivateFieldGet$7(this, _ChannelProvider_connections, "f")];
|
|
13025
13044
|
}
|
|
13026
13045
|
static handleClientDisconnection(channel, payload) {
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
__classPrivateFieldGet$7(channel, _ChannelProvider_removeEndpoint, "f").call(channel,
|
|
13046
|
+
if (payload?.endpointId) {
|
|
13047
|
+
const { uuid, name, endpointId, isLocalEndpointId } = payload;
|
|
13048
|
+
__classPrivateFieldGet$7(channel, _ChannelProvider_removeEndpoint, "f").call(channel, { uuid, name, endpointId, isLocalEndpointId });
|
|
13030
13049
|
}
|
|
13031
13050
|
else {
|
|
13051
|
+
// this is here to support older runtimes that did not have endpointId
|
|
13032
13052
|
const multipleRemoves = channel.connections.filter((identity) => {
|
|
13033
13053
|
return identity.uuid === payload.uuid && identity.name === payload.name;
|
|
13034
13054
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "40.100.
|
|
3
|
+
"version": "40.100.6",
|
|
4
4
|
"description": "Establish intermachine runtime connections using webRTC.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"private": false,
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"author": "OpenFin",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"lodash": "^4.17.21",
|
|
23
|
-
"@openfin/core": "40.100.
|
|
23
|
+
"@openfin/core": "40.100.6"
|
|
24
24
|
}
|
|
25
25
|
}
|