@openfin/node-adapter 36.80.23 → 36.80.26

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.
@@ -42,6 +42,15 @@ declare type Accelerator = {
42
42
  zoom: boolean;
43
43
  };
44
44
 
45
+ /**
46
+ * Generated when a View is added to a layout.
47
+ * @interface
48
+ */
49
+ declare type AddedToLayoutEvent = BaseEvent_4 & {
50
+ type: 'added-to-layout';
51
+ layoutIdentity: OpenFin.LayoutIdentity;
52
+ };
53
+
45
54
  /**
46
55
  * Options to use when adding a view to a {@link TabStack}.
47
56
  *
@@ -99,7 +108,7 @@ declare type ApiInjection = DomainApiSettings;
99
108
  * Generated when a new Platform's API becomes responsive.
100
109
  * @interface
101
110
  */
102
- declare type ApiReadyEvent = BaseEvent & {
111
+ declare type ApiReadyEvent = BaseEvents.BaseEvent & {
103
112
  topic: 'application';
104
113
  type: 'platform-api-ready';
105
114
  };
@@ -942,7 +951,7 @@ declare namespace ApplicationEvents {
942
951
  PropagatedApplicationEvent,
943
952
  PropagatedEventType_3 as PropagatedEventType,
944
953
  PropagatedApplicationEventType,
945
- Payload_4 as Payload,
954
+ Payload_5 as Payload,
946
955
  ByType_3 as ByType
947
956
  }
948
957
  }
@@ -1807,7 +1816,7 @@ declare type BaseEvent_10 = Events.BaseEvents.BaseEvent;
1807
1816
  * A base Channel event.
1808
1817
  * @interface
1809
1818
  */
1810
- declare type BaseEvent_2 = NamedEvent & {
1819
+ declare type BaseEvent_2 = BaseEvents.NamedEvent & {
1811
1820
  channelName: string;
1812
1821
  channelId: string;
1813
1822
  };
@@ -1877,6 +1886,7 @@ declare namespace BaseEvents {
1877
1886
  NotCloseRequested,
1878
1887
  PropagatedEventType,
1879
1888
  PropagatedEvent,
1889
+ Payload_2 as Payload,
1880
1890
  EventHandler,
1881
1891
  BaseEvent,
1882
1892
  IdentityEvent,
@@ -2017,7 +2027,7 @@ declare type BrowserContentCreationRule = BaseContentCreationRule & {
2017
2027
  *
2018
2028
  * @typeParam Type String key specifying the event to extract
2019
2029
  */
2020
- declare type ByType<Type extends EventType> = Payload_2<Type>;
2030
+ declare type ByType<Type extends EventType> = Payload_3<Type>;
2021
2031
 
2022
2032
  /**
2023
2033
  * Extracts a single event type matching the given key from the Window {@link Event} union.
@@ -2026,7 +2036,7 @@ declare type ByType<Type extends EventType> = Payload_2<Type>;
2026
2036
  *
2027
2037
  * @typeParam Type String key specifying the event to extract
2028
2038
  */
2029
- declare type ByType_2<Type extends EventType_2> = Payload_3<Type>;
2039
+ declare type ByType_2<Type extends EventType_2> = Payload_4<Type>;
2030
2040
 
2031
2041
  /**
2032
2042
  * Extracts a single event type matching the given key from the Application {@link Event} union.
@@ -2035,7 +2045,7 @@ declare type ByType_2<Type extends EventType_2> = Payload_3<Type>;
2035
2045
  *
2036
2046
  * @typeParam Type String key specifying the event to extract
2037
2047
  */
2038
- declare type ByType_3<Type extends EventType_3> = Payload_4<Type>;
2048
+ declare type ByType_3<Type extends EventType_3> = Payload_5<Type>;
2039
2049
 
2040
2050
  /**
2041
2051
  * Extracts a single event type matching the given key from the ExternalApplication {@link Event} union.
@@ -2044,7 +2054,7 @@ declare type ByType_3<Type extends EventType_3> = Payload_4<Type>;
2044
2054
  *
2045
2055
  * @typeParam Type String key specifying the event to extract
2046
2056
  */
2047
- declare type ByType_4<Type extends EventType_4> = Payload_5<Type>;
2057
+ declare type ByType_4<Type extends EventType_4> = Payload_6<Type>;
2048
2058
 
2049
2059
  /**
2050
2060
  * Extracts a single event type matching the given key from the Frame {@link Event} union.
@@ -2053,7 +2063,7 @@ declare type ByType_4<Type extends EventType_4> = Payload_5<Type>;
2053
2063
  *
2054
2064
  * @typeParam Type String key specifying the event to extract
2055
2065
  */
2056
- declare type ByType_5<Type extends EventType_5> = Payload_6<Type>;
2066
+ declare type ByType_5<Type extends EventType_5> = Payload_7<Type>;
2057
2067
 
2058
2068
  /**
2059
2069
  * Extracts a single event type matching the given key from the GlobalHotkey {@link Event} union.
@@ -2062,7 +2072,7 @@ declare type ByType_5<Type extends EventType_5> = Payload_6<Type>;
2062
2072
  *
2063
2073
  * @typeParam Type String key specifying the event to extract
2064
2074
  */
2065
- declare type ByType_6<Type extends EventType_6> = Payload_7<Type>;
2075
+ declare type ByType_6<Type extends EventType_6> = Payload_8<Type>;
2066
2076
 
2067
2077
  /**
2068
2078
  * Extracts a single event type matching the given key from the Platform {@link Event} union.
@@ -2071,7 +2081,7 @@ declare type ByType_6<Type extends EventType_6> = Payload_7<Type>;
2071
2081
  *
2072
2082
  * @typeParam Type String key specifying the event to extract
2073
2083
  */
2074
- declare type ByType_7<Type extends EventType_7> = Payload_8<Type>;
2084
+ declare type ByType_7<Type extends EventType_7> = Payload_9<Type>;
2075
2085
 
2076
2086
  /**
2077
2087
  * Extracts a single event type matching the given key from the System {@link Event} union.
@@ -2080,7 +2090,7 @@ declare type ByType_7<Type extends EventType_7> = Payload_8<Type>;
2080
2090
  *
2081
2091
  * @typeParam Type String key specifying the event to extract
2082
2092
  */
2083
- declare type ByType_8<Type extends EventType_8> = Payload_9<Type>;
2093
+ declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
2084
2094
 
2085
2095
  /**
2086
2096
  * Configuration for page capture.
@@ -3743,7 +3753,9 @@ declare type ConstWindowOptions = {
3743
3753
  */
3744
3754
  preloadScripts: PreloadScript[];
3745
3755
  /**
3746
- * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
3756
+ * String tag that attempts to group like-tagged renderers together.
3757
+ * However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
3758
+ * @remarks Will only be used if pages are on the same origin.
3747
3759
  */
3748
3760
  processAffinity: string;
3749
3761
  /**
@@ -4947,7 +4959,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4947
4959
  */
4948
4960
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4949
4961
  target: OpenFin.Identity;
4950
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4962
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4951
4963
 
4952
4964
  /**
4953
4965
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -4996,9 +5008,7 @@ declare class EventAggregator extends EmitterMap {
4996
5008
  * @remarks Selects the correct type for the event
4997
5009
  * payload from the provided union based on the provided string literal type.
4998
5010
  */
4999
- declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends string> = (payload: Extract<EmitterEvent, {
5000
- type: EventType;
5001
- }>, ...args: any[]) => void;
5011
+ declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends string> = (payload: Payload_2<EmitterEvent, EventType>, ...args: any[]) => void;
5002
5012
 
5003
5013
  declare namespace Events {
5004
5014
  export {
@@ -5150,7 +5160,7 @@ declare namespace ExternalApplicationEvents {
5150
5160
  ExternalApplicationEvent,
5151
5161
  EventType_4 as EventType,
5152
5162
  ExternalApplicationEventType,
5153
- Payload_5 as Payload,
5163
+ Payload_6 as Payload,
5154
5164
  ByType_4 as ByType
5155
5165
  }
5156
5166
  }
@@ -5625,7 +5635,7 @@ declare namespace FrameEvents {
5625
5635
  FrameEvent,
5626
5636
  EventType_5 as EventType,
5627
5637
  FrameEventType,
5628
- Payload_6 as Payload,
5638
+ Payload_7 as Payload,
5629
5639
  ByType_5 as ByType
5630
5640
  }
5631
5641
  }
@@ -5870,7 +5880,7 @@ declare namespace GlobalHotkeyEvents {
5870
5880
  GlobalHotkeyEvent,
5871
5881
  EventType_6 as EventType,
5872
5882
  GlobalHotkeyEventType,
5873
- Payload_7 as Payload,
5883
+ Payload_8 as Payload,
5874
5884
  ByType_6 as ByType
5875
5885
  }
5876
5886
  }
@@ -9872,76 +9882,100 @@ declare type Payload<Success extends boolean = boolean, Data = any> = {
9872
9882
  };
9873
9883
 
9874
9884
  /**
9875
- * Extracts a single event type matching the given key from the View {@link Event} union.
9885
+ * Extracts a single event type matching the given key from the System {@link Event} union.
9886
+ *
9887
+ * @see {@link ByType}
9876
9888
  *
9877
9889
  * @typeParam Type String key specifying the event to extract
9878
9890
  */
9879
- declare type Payload_2<Type extends EventType> = Extract<Event_4, {
9880
- type: Type;
9891
+ declare type Payload_10<Type extends EventType_8> = BaseEvents.Payload<Event_11, Type>;
9892
+
9893
+ /**
9894
+ * Extracts a single event type matching the given type key from the provided EmitterEvent union.
9895
+ *
9896
+ * @remarks Each event emitter namespace defines its own reduction of this type that fixes the Event parameter to
9897
+ * the appropriate payload union for that namespace.
9898
+ *
9899
+ * @typeParam Event Union of payloads for events on the given emitter
9900
+ * @see {@link ByType}
9901
+ *
9902
+ * @typeParam Type String key specifying the event to extract from the union
9903
+ *
9904
+ * @see {@link OpenFin.Events.ApplicationEvents.Payload}
9905
+ * @see {@link OpenFin.Events.ExternalApplicationEvents.Payload}
9906
+ * @see {@link OpenFin.Events.FrameEvents.Payload}
9907
+ * @see {@link OpenFin.Events.GlobalHotkeyEvents.Payload}
9908
+ * @see {@link OpenFin.Events.PlatformEvents.Payload}
9909
+ * @see {@link OpenFin.Events.SystemEvents.Payload}
9910
+ * @see {@link OpenFin.Events.ViewEvents.Payload}
9911
+ * @see {@link OpenFin.Events.WindowEvents.Payload}
9912
+ */
9913
+ declare type Payload_2<Event extends BaseEvent, EventType extends string> = Extract<Event, {
9914
+ type: EventType;
9881
9915
  }>;
9882
9916
 
9917
+ /**
9918
+ * Extracts a single event type matching the given key from the View {@link Event} union.
9919
+ *
9920
+ * @see {@link ByType}
9921
+ *
9922
+ * @typeParam Type String key specifying the event to extract
9923
+ */
9924
+ declare type Payload_3<Type extends EventType> = BaseEvents.Payload<Event_4, Type>;
9925
+
9883
9926
  /**
9884
9927
  * Extracts a single event type matching the given key from the Window {@link Event} union.
9885
9928
  *
9929
+ * @see {@link ByType}
9930
+ *
9886
9931
  * @typeParam Type String key specifying the event to extract
9887
9932
  */
9888
- declare type Payload_3<Type extends EventType_2> = Extract<Event_6, {
9889
- type: Type;
9890
- }>;
9933
+ declare type Payload_4<Type extends EventType_2> = BaseEvents.Payload<Event_6, Type>;
9891
9934
 
9892
9935
  /**
9893
9936
  * Extracts a single event type matching the given key from the Application {@link Event} union.
9894
9937
  *
9938
+ * @see {@link ByType}
9939
+ *
9895
9940
  * @typeParam Type String key specifying the event to extract
9896
9941
  */
9897
- declare type Payload_4<Type extends EventType_3> = Extract<Event_3, {
9898
- type: Type;
9899
- }>;
9942
+ declare type Payload_5<Type extends EventType_3> = BaseEvents.Payload<Event_3, Type>;
9900
9943
 
9901
9944
  /**
9902
9945
  * Extracts a single event type matching the given key from the ExternalApplication {@link Event} union.
9903
9946
  *
9947
+ * @see {@link ByType}
9948
+ *
9904
9949
  * @typeParam Type String key specifying the event to extract
9905
9950
  */
9906
- declare type Payload_5<Type extends EventType_4> = Extract<Event_7, {
9907
- type: Type;
9908
- }>;
9951
+ declare type Payload_6<Type extends EventType_4> = BaseEvents.Payload<Event_7, Type>;
9909
9952
 
9910
9953
  /**
9911
9954
  * Extracts a single event type matching the given key from the Frame {@link Event} union.
9912
9955
  *
9956
+ * @see {@link ByType}
9957
+ *
9913
9958
  * @typeParam Type String key specifying the event to extract
9914
9959
  */
9915
- declare type Payload_6<Type extends EventType_5> = Extract<Event_8, {
9916
- type: Type;
9917
- }>;
9960
+ declare type Payload_7<Type extends EventType_5> = BaseEvents.Payload<Event_8, Type>;
9918
9961
 
9919
9962
  /**
9920
9963
  * Extracts a single event type matching the given key from the GlobalHotkey {@link Event} union.
9921
9964
  *
9965
+ * @see {@link ByType}
9966
+ *
9922
9967
  * @typeParam Type String key specifying the event to extract
9923
9968
  */
9924
- declare type Payload_7<Type extends EventType_6> = Extract<Event_9, {
9925
- type: Type;
9926
- }>;
9969
+ declare type Payload_8<Type extends EventType_6> = BaseEvents.Payload<Event_9, Type>;
9927
9970
 
9928
9971
  /**
9929
9972
  * Extracts a single event type matching the given key from the Platform {@link Event} union.
9930
9973
  *
9931
- * @typeParam Type String key specifying the event to extract
9932
- */
9933
- declare type Payload_8<Type extends EventType_7> = Extract<Event_10, {
9934
- type: Type;
9935
- }>;
9936
-
9937
- /**
9938
- * Extracts a single event type matching the given key from the System {@link Event} union.
9974
+ * @see {@link ByType}
9939
9975
  *
9940
9976
  * @typeParam Type String key specifying the event to extract
9941
9977
  */
9942
- declare type Payload_9<Type extends EventType_8> = Extract<Event_11, {
9943
- type: Type;
9944
- }>;
9978
+ declare type Payload_9<Type extends EventType_7> = BaseEvents.Payload<Event_10, Type>;
9945
9979
 
9946
9980
  declare type PayloadTypeByStrategy<T extends ChannelStrategy<unknown>> = T extends ChannelStrategy<infer U> ? U : never;
9947
9981
 
@@ -10635,7 +10669,7 @@ declare namespace PlatformEvents {
10635
10669
  PlatformEvent,
10636
10670
  EventType_7 as EventType,
10637
10671
  PlatformEventType,
10638
- Payload_8 as Payload,
10672
+ Payload_9 as Payload,
10639
10673
  ByType_7 as ByType
10640
10674
  }
10641
10675
  }
@@ -12354,6 +12388,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12354
12388
  token: string;
12355
12389
  }
12356
12390
 
12391
+ /**
12392
+ * Generated when a View is removed from a layout.
12393
+ * @interface
12394
+ */
12395
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
12396
+ type: 'removed-from-layout';
12397
+ layoutIdentity: OpenFin.LayoutIdentity;
12398
+ };
12399
+
12357
12400
  /**
12358
12401
  * @interface
12359
12402
  */
@@ -12996,7 +13039,7 @@ declare type Snapshot = {
12996
13039
  * _Note_ - In the case of using a custom provider, if a window has a layout property but does not call _Layout.init_ this event may not fire.
12997
13040
  * @interface
12998
13041
  */
12999
- declare type SnapshotAppliedEvent = BaseEvent & {
13042
+ declare type SnapshotAppliedEvent = BaseEvents.BaseEvent & {
13000
13043
  topic: 'application';
13001
13044
  type: 'platform-snapshot-applied';
13002
13045
  };
@@ -14608,7 +14651,7 @@ declare namespace SystemEvents {
14608
14651
  SystemEvent,
14609
14652
  EventType_8 as EventType,
14610
14653
  SystemEventType,
14611
- Payload_9 as Payload,
14654
+ Payload_10 as Payload,
14612
14655
  ByType_8 as ByType
14613
14656
  }
14614
14657
  }
@@ -15658,6 +15701,8 @@ declare namespace ViewEvents {
15658
15701
  BaseEvent_4 as BaseEvent,
15659
15702
  BaseViewEvent,
15660
15703
  TargetChangedEvent,
15704
+ AddedToLayoutEvent,
15705
+ RemovedFromLayoutEvent,
15661
15706
  NonPropagatedViewEvent,
15662
15707
  CreatedEvent,
15663
15708
  DestroyedEvent,
@@ -15674,7 +15719,7 @@ declare namespace ViewEvents {
15674
15719
  PropagatedViewEvent,
15675
15720
  PropagatedEventType_2 as PropagatedEventType,
15676
15721
  PropagatedViewEventType,
15677
- Payload_2 as Payload,
15722
+ Payload_3 as Payload,
15678
15723
  ByType
15679
15724
  }
15680
15725
  }
@@ -18153,7 +18198,7 @@ declare namespace WindowEvents {
18153
18198
  PropagatedEvent_3 as PropagatedEvent,
18154
18199
  PropagatedWindowEvent,
18155
18200
  PropagatedWindowEventType,
18156
- Payload_3 as Payload,
18201
+ Payload_4 as Payload,
18157
18202
  ByType_2 as ByType
18158
18203
  }
18159
18204
  }
@@ -2734,9 +2734,14 @@ function requireInstance$2 () {
2734
2734
  // don't expose
2735
2735
  });
2736
2736
  const layoutWindow = await this.getCurrentWindow();
2737
+ let layoutWindowIdentity = layoutWindow.identity;
2738
+ // TODO: CORE-1857 - when we tearout active layout or drag a view out of a window, the above identity includes the whole window info.
2739
+ if (layoutWindowIdentity.identity) {
2740
+ layoutWindowIdentity = layoutWindowIdentity.identity;
2741
+ }
2737
2742
  try {
2738
2743
  const providerChannelClient = await __classPrivateFieldGet(this, _View_providerChannelClient, "f").getValue();
2739
- const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID, layoutWindow.identity);
2744
+ const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID, layoutWindowIdentity);
2740
2745
  const layoutIdentity = await client.getLayoutIdentityForViewOrThrow(this.identity);
2741
2746
  return this.fin.Platform.Layout.wrap(layoutIdentity);
2742
2747
  }
@@ -2749,7 +2754,7 @@ function requireInstance$2 () {
2749
2754
  throw e;
2750
2755
  }
2751
2756
  // fallback logic for missing endpoint
2752
- return this.fin.Platform.Layout.wrap(layoutWindow.identity);
2757
+ return this.fin.Platform.Layout.wrap(layoutWindowIdentity);
2753
2758
  }
2754
2759
  };
2755
2760
  /**
@@ -4634,7 +4639,7 @@ function requireInstance () {
4634
4639
  // don't expose
4635
4640
  });
4636
4641
  const opts = await this.getOptions();
4637
- if (!opts.layout || !opts.layoutSnapshot) {
4642
+ if (!opts.layout && !opts.layoutSnapshot) {
4638
4643
  throw new Error('Window does not have a Layout');
4639
4644
  }
4640
4645
  return this.fin.Platform.Layout.wrap(layoutIdentity ?? this.identity);
@@ -16872,6 +16877,8 @@ var application = {};
16872
16877
  * For example, a view's "attached" event will fire as 'window-view-attached' at the application level.
16873
16878
  *
16874
16879
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
16880
+ * Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
16881
+ * of an event as it would be raised on this emitter, use {@link Payload}.
16875
16882
  *
16876
16883
  * This namespace contains only payload shapes for events that are unique to `Application`. Events that propagate to `Application` from
16877
16884
  * child {@link OpenFin.Window windows} and {@link OpenFin.View views} are defined in the {@link OpenFin.WindowEvents} and
@@ -16903,6 +16910,8 @@ var externalApplication = {};
16903
16910
  * Namespace for events that can be transmitted by an {@link OpenFin.ExternalApplication}.
16904
16911
  *
16905
16912
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
16913
+ * Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
16914
+ * of an event as it would be raised on this emitter, use {@link Payload}.
16906
16915
  *
16907
16916
  * For a list of valid string keys for external application events, see {@link ExternalApplication.on ExternalApplication.on}.
16908
16917
  *
@@ -16921,6 +16930,8 @@ var globalHotkey = {};
16921
16930
  * Namespace for events that can be transmitted by {@link GlobalHotkey.GlobalHotkey}.
16922
16931
  *
16923
16932
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
16933
+ * Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
16934
+ * of an event as it would be raised on this emitter, use {@link Payload}.
16924
16935
  *
16925
16936
  * For a list of valid string keys for global hotkey events, see {@link GlobalHotkey.GlobalHotkey.on GlobalHotkey.on}.
16926
16937
  *
@@ -16935,6 +16946,8 @@ var platform = {};
16935
16946
  * Namespace for events that can emitted by a {@link OpenFin.Platform}.
16936
16947
  *
16937
16948
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
16949
+ * Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
16950
+ * of an event as it would be raised on this emitter, use {@link Payload}.
16938
16951
  *
16939
16952
  * The Platform `EventEmitter` is a superset of the {@link OpenFin.Application} `EventEmitter`,
16940
16953
  * meaning it can listen to all {@link OpenFin.ApplicationEvents Application events} in addition to the
@@ -16956,6 +16969,8 @@ var system = {};
16956
16969
  * will be visible as 'view-shown' at the system level, but *not* as `application-window-view-shown`.
16957
16970
  *
16958
16971
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
16972
+ * Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
16973
+ * of an event as it would be raised on this emitter, use {@link Payload}.
16959
16974
  *
16960
16975
  * This namespace contains only payload shapes for events that are unique to `System`. Events that propagate to `System` from
16961
16976
  * child {@link OpenFin.Application applications}, {@link OpenFin.Window windows}, and {@link OpenFin.View views} are defined in the
@@ -16972,6 +16987,8 @@ var view = {};
16972
16987
  * Namespace for events that can be emitted by a {@link OpenFin.View}.
16973
16988
  *
16974
16989
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
16990
+ * Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
16991
+ * of an event as it would be raised on this emitter, use {@link Payload}.
16975
16992
  *
16976
16993
  * This namespace contains only payload shapes for events that are unique to `View`. Events that are shared between all `WebContents`
16977
16994
  * (i.e. {@link OpenFin.Window}, {@link OpenFin.View}) are defined in {@link OpenFin.WebContentsEvents}. For a list
@@ -17003,6 +17020,8 @@ var window$1 = {};
17003
17020
  * Namespace for events that can be emitted by a {@link OpenFin.Window}.
17004
17021
  *
17005
17022
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
17023
+ * Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
17024
+ * of an event as it would be raised on this emitter, use {@link Payload}.
17006
17025
  *
17007
17026
  * This namespace contains only payload shapes for events that are unique to `Window`. Events that are shared between all `WebContents`
17008
17027
  * (i.e. {@link OpenFin.Window}, {@link OpenFin.View}) are defined in {@link OpenFin.WebContentsEvents}. Events that
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "36.80.23",
3
+ "version": "36.80.26",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -26,7 +26,7 @@
26
26
  "typescript": "4.9.5"
27
27
  },
28
28
  "dependencies": {
29
- "@types/node": "^16.0.0",
29
+ "@types/node": "^20.14.2",
30
30
  "openfin-adapter": "file:../../../js-adapter",
31
31
  "lodash": "^4.17.21",
32
32
  "ws": "^7.3.0"