@openfin/remote-adapter 44.101.9 → 44.101.10

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.
@@ -4942,6 +4942,9 @@ class _Window extends WebContents {
4942
4942
  /**
4943
4943
  * Removes focus from the window.
4944
4944
  *
4945
+ * @remarks On macOS, a modal window (created with `modalParentIdentity`) is hidden instead, because
4946
+ * moving a modal sheet behind its parent would leave the parent unable to show other dialogs.
4947
+ *
4945
4948
  * @example
4946
4949
  * ```js
4947
4950
  * async function blurWindow() {
@@ -11835,16 +11838,21 @@ class InterApplicationBus extends Base {
11835
11838
  * Subscribes to messages from the specified application on the specified topic.
11836
11839
  * @param source This object is described in the Identity in the typedef
11837
11840
  * @param topic The topic on which the message is sent
11838
- * @param listener A function that is called when a message has
11839
- * been received. It is passed the message, uuid and name of the sending application.
11841
+ * @param listener A function that is called when a message has been received. It is passed
11842
+ * two arguments: the message, and the identity (`{ uuid, name }`) of the sender.
11840
11843
  * The message can be either a primitive data type (string, number, or boolean) or
11841
11844
  * composite data type (object, array) that is composed of other primitive or composite
11842
11845
  * data types
11843
11846
  *
11847
+ * @remarks This differs from the legacy `fin.desktop.InterApplicationBus.subscribe` API,
11848
+ * which passes `(message, uuid, name)` as separate arguments.
11849
+ *
11844
11850
  * @example
11845
11851
  * ```js
11846
11852
  * // subscribe to a specified application
11847
- * fin.InterApplicationBus.subscribe(fin.me, 'topic', sub_msg => console.log(sub_msg)).then(() => console.log('Subscribed to the specified application')).catch(err => console.log(err));
11853
+ * fin.InterApplicationBus.subscribe(fin.me, 'topic', (message, sender) => {
11854
+ * console.log(`Received from ${sender.uuid}/${sender.name}:`, message);
11855
+ * }).then(() => console.log('Subscribed to the specified application')).catch(err => console.log(err));
11848
11856
  *
11849
11857
  * // subscribe to wildcard
11850
11858
  * fin.InterApplicationBus.subscribe({ uuid: '*' }, 'topic', sub_msg => console.log(sub_msg)).then(() => console.log('Subscribed to *')).catch(err => console.log(err));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "44.101.9",
3
+ "version": "44.101.10",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "es-toolkit": "^1.39.3",
18
18
  "tslib": "2.8.1",
19
- "@openfin/core": "44.101.9"
19
+ "@openfin/core": "44.101.10"
20
20
  },
21
21
  "scripts": {
22
22
  "prebuild": "rimraf ./out",