@openfin/remote-adapter 45.102.9 → 45.102.11

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.
@@ -5066,6 +5066,9 @@ class _Window extends WebContents {
5066
5066
  /**
5067
5067
  * Removes focus from the window.
5068
5068
  *
5069
+ * @remarks On macOS, a modal window (created with `modalParentIdentity`) is hidden instead, because
5070
+ * moving a modal sheet behind its parent would leave the parent unable to show other dialogs.
5071
+ *
5069
5072
  * @example
5070
5073
  * ```js
5071
5074
  * async function blurWindow() {
@@ -12073,16 +12076,21 @@ class InterApplicationBus extends Base {
12073
12076
  * Subscribes to messages from the specified application on the specified topic.
12074
12077
  * @param source This object is described in the Identity in the typedef
12075
12078
  * @param topic The topic on which the message is sent
12076
- * @param listener A function that is called when a message has
12077
- * been received. It is passed the message, uuid and name of the sending application.
12079
+ * @param listener A function that is called when a message has been received. It is passed
12080
+ * two arguments: the message, and the identity (`{ uuid, name }`) of the sender.
12078
12081
  * The message can be either a primitive data type (string, number, or boolean) or
12079
12082
  * composite data type (object, array) that is composed of other primitive or composite
12080
12083
  * data types
12081
12084
  *
12085
+ * @remarks This differs from the legacy `fin.desktop.InterApplicationBus.subscribe` API,
12086
+ * which passes `(message, uuid, name)` as separate arguments.
12087
+ *
12082
12088
  * @example
12083
12089
  * ```js
12084
12090
  * // subscribe to a specified application
12085
- * 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));
12091
+ * fin.InterApplicationBus.subscribe(fin.me, 'topic', (message, sender) => {
12092
+ * console.log(`Received from ${sender.uuid}/${sender.name}:`, message);
12093
+ * }).then(() => console.log('Subscribed to the specified application')).catch(err => console.log(err));
12086
12094
  *
12087
12095
  * // subscribe to wildcard
12088
12096
  * 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": "45.102.9",
3
+ "version": "45.102.11",
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": "45.102.9"
19
+ "@openfin/core": "45.102.11"
20
20
  },
21
21
  "scripts": {
22
22
  "prebuild": "rimraf ./out",