@openfin/node-adapter 34.78.34 → 34.78.38

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.
@@ -17852,10 +17852,12 @@ var application = {};
17852
17852
  * child {@link OpenFin.Window windows} and {@link OpenFin.View views} are defined in the {@link OpenFin.WindowEvents} and
17853
17853
  * {@link OpenFin.ViewEvents} namespaces. For a list of valid string keys for *all* application events, see {@link Application.on Application.on}.
17854
17854
  *
17855
- * {@link WillPropagateApplicationEvent Bespoke application events} re-propagate to the system level, prefixed with `application-`. For example,
17856
- * the `closed` event will fire as `application-closed` at the system level. Propagated events from {@link PropagatedWindowEvent windows}
17857
- * and {@link PropagatedViewEvent views} within an application will *not* transitively re-propagate to the system level, because they are already
17858
- * visible at the system level and contain the identity of the application.
17855
+ * {@link NativeApplicationEvent Native application events} (i.e. those that have not propagated from {@link OpenFin.ViewEvents Views}
17856
+ * or {@link OpenFin.WindowEvents Windows} re-propagate to {@link OpenFin.SystemEvents System} with their type string prefixed with `application-`.
17857
+ * {@link OpenFin.ApplicationEvents.ApplicationWindowEvent Application events that are tied to Windows but do not propagate from them}
17858
+ * are propagated to `System` without any type string prefixing.
17859
+ *
17860
+ * "Requested" events (e.g. {@link RunRequestedEvent}) do not propagate.
17859
17861
  *
17860
17862
  * @packageDocumentation
17861
17863
  */
@@ -17940,10 +17942,8 @@ var view = {};
17940
17942
  * (i.e. {@link OpenFin.Window}, {@link OpenFin.View}) are defined in {@link OpenFin.WebContentsEvents}. For a list
17941
17943
  * of valid string keys for *all* View events, see {@link View.on View.on}.
17942
17944
  *
17943
- * View events fall into two categories: {@link WillPropagateViewEvent} and {@link NonPropagatedViewEvent}. Propagated events will
17944
- * be re-emitted on the parent {@link OpenFin.Window} of the target view, prefixed with "view-". For example,
17945
- * the "shown" event will be re-emitted on the parent window as "view-shown". Non-propagated events
17946
- * will not be re-emitted on the parent window.
17945
+ * View events propagate to their parent {@link OpenFin.WindowEvents Window}, {@link OpenFin.ApplicationEvents Application},
17946
+ * and {@link OpenFin.SystemEvents System} with an added `viewIdentity` property and their event types prefixed with `'view-'`.
17947
17947
  *
17948
17948
  * @packageDocumentation
17949
17949
  */
@@ -17968,7 +17968,6 @@ Object.defineProperty(webcontents, "__esModule", { value: true });
17968
17968
  var window$1 = {};
17969
17969
 
17970
17970
  /**
17971
- *
17972
17971
  * Namespace for events that can be emitted by a {@link OpenFin.Window}.
17973
17972
  *
17974
17973
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
@@ -17978,10 +17977,12 @@ var window$1 = {};
17978
17977
  * propagate from `View` are defined in {@link OpenFin.ViewEvents}. For a list of valid string keys for *all* Window events, see
17979
17978
  * {@link Window.on Window.on}
17980
17979
  *
17981
- * Window events fall into two categories: {@link WillPropagateWindowEvent} and {@link NonPropagatedWindowEvent}.
17982
- * Propagated events will be re-emitted on the parent {@link OpenFin.Application} of the target window, prefixed with "window-". For example,
17983
- * a window's "reloaded" event will be re-emitted on the parent application as "window-reloaded". Non-propagated
17984
- * events will not be re-emitted on the parent application.
17980
+ * {@link OpenFin.WindowEvents.NativeWindowEvent Native window events} (i.e. those that are not propagated from a
17981
+ * {@link OpenFin.ViewEvents View}) propagate to their parent {@link OpenFin.ApplicationEvents Application} and
17982
+ * {@link OpenFin.SystemEvents System} with their event types prefixed with `'window-'`).
17983
+ *
17984
+ * "Requested" events (e.g. {@link AuthRequestedEvent}) do not propagate to `System. The {@link OpenFin.WindowEvents.WindowCloseRequestedEvent}
17985
+ * does not propagate at all.
17985
17986
  *
17986
17987
  * @packageDocumentation
17987
17988
  */
@@ -18021,6 +18022,11 @@ Object.defineProperty(window$1, "__esModule", { value: true });
18021
18022
  * finally to the OpenFin runtime itself at the "system" level. For details on propagation semantics, see the namespace for
18022
18023
  * the propagating (or propagated-to) entity.
18023
18024
  *
18025
+ * If you need the payload type for a specific type of event (especially propagated events), use the emitting topic's `EventPayload`
18026
+ * (e.g. {@link WindowEvents.WindowEventPayload}) generic with the event's `type` string. For example, the payload of
18027
+ * a {@link ViewEvents.CreatedEvent} after it has propagated to its parent {@link WindowEvents Window} can be found with
18028
+ * `WindowEventPayload<'view-created'>`.
18029
+ *
18024
18030
  * @packageDocumentation
18025
18031
  */
18026
18032
  Object.defineProperty(events, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "34.78.34",
3
+ "version": "34.78.38",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -9,7 +9,8 @@
9
9
  "scripts": {
10
10
  "prebuild": "rimraf ./out",
11
11
  "build": "rollup --config",
12
- "dev": "npm run build -- --environment MODE:development"
12
+ "dev": "npm run build -- --environment MODE:development",
13
+ "watch": "rollup --config --watch --environment MODE:development && echo 'oh shit_________'"
13
14
  },
14
15
  "files": [
15
16
  "out/*",
@@ -20,7 +21,7 @@
20
21
  "@openfin/core-ci-tools": "0.0.1",
21
22
  "@rollup/plugin-typescript": "11.1.1",
22
23
  "@rollup/plugin-commonjs": "25.0.2",
23
- "rollup": "3.21.3",
24
+ "rollup": "3.24.1",
24
25
  "typescript": "4.9.5"
25
26
  },
26
27
  "dependencies": {