@openfin/remote-adapter 36.80.23 → 36.80.25
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/out/remote-adapter-alpha.d.ts +98 -53
- package/out/remote-adapter-beta.d.ts +98 -53
- package/out/remote-adapter-public.d.ts +98 -53
- package/out/remote-adapter.d.ts +98 -53
- package/out/remote-adapter.js +8 -3
- package/package.json +2 -2
package/out/remote-adapter.d.ts
CHANGED
|
@@ -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
|
-
|
|
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> =
|
|
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> =
|
|
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> =
|
|
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> =
|
|
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> =
|
|
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> =
|
|
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> =
|
|
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> =
|
|
2093
|
+
declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
|
|
2084
2094
|
|
|
2085
2095
|
/**
|
|
2086
2096
|
* Configuration for page capture.
|
|
@@ -3763,7 +3773,9 @@ declare type ConstWindowOptions = {
|
|
|
3763
3773
|
*/
|
|
3764
3774
|
preloadScripts: PreloadScript[];
|
|
3765
3775
|
/**
|
|
3766
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3776
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3777
|
+
* 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.
|
|
3778
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3767
3779
|
*/
|
|
3768
3780
|
processAffinity: string;
|
|
3769
3781
|
/**
|
|
@@ -4967,7 +4979,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
4967
4979
|
*/
|
|
4968
4980
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
4969
4981
|
target: OpenFin.Identity;
|
|
4970
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
4982
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
|
4971
4983
|
|
|
4972
4984
|
/**
|
|
4973
4985
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
|
@@ -5016,9 +5028,7 @@ declare class EventAggregator extends EmitterMap {
|
|
|
5016
5028
|
* @remarks Selects the correct type for the event
|
|
5017
5029
|
* payload from the provided union based on the provided string literal type.
|
|
5018
5030
|
*/
|
|
5019
|
-
declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends string> = (payload:
|
|
5020
|
-
type: EventType;
|
|
5021
|
-
}>, ...args: any[]) => void;
|
|
5031
|
+
declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends string> = (payload: Payload_2<EmitterEvent, EventType>, ...args: any[]) => void;
|
|
5022
5032
|
|
|
5023
5033
|
declare namespace Events {
|
|
5024
5034
|
export {
|
|
@@ -5170,7 +5180,7 @@ declare namespace ExternalApplicationEvents {
|
|
|
5170
5180
|
ExternalApplicationEvent,
|
|
5171
5181
|
EventType_4 as EventType,
|
|
5172
5182
|
ExternalApplicationEventType,
|
|
5173
|
-
|
|
5183
|
+
Payload_6 as Payload,
|
|
5174
5184
|
ByType_4 as ByType
|
|
5175
5185
|
}
|
|
5176
5186
|
}
|
|
@@ -5617,7 +5627,7 @@ declare namespace FrameEvents {
|
|
|
5617
5627
|
FrameEvent,
|
|
5618
5628
|
EventType_5 as EventType,
|
|
5619
5629
|
FrameEventType,
|
|
5620
|
-
|
|
5630
|
+
Payload_7 as Payload,
|
|
5621
5631
|
ByType_5 as ByType
|
|
5622
5632
|
}
|
|
5623
5633
|
}
|
|
@@ -5862,7 +5872,7 @@ declare namespace GlobalHotkeyEvents {
|
|
|
5862
5872
|
GlobalHotkeyEvent,
|
|
5863
5873
|
EventType_6 as EventType,
|
|
5864
5874
|
GlobalHotkeyEventType,
|
|
5865
|
-
|
|
5875
|
+
Payload_8 as Payload,
|
|
5866
5876
|
ByType_6 as ByType
|
|
5867
5877
|
}
|
|
5868
5878
|
}
|
|
@@ -9882,76 +9892,100 @@ declare type Payload<Success extends boolean = boolean, Data = any> = {
|
|
|
9882
9892
|
};
|
|
9883
9893
|
|
|
9884
9894
|
/**
|
|
9885
|
-
* Extracts a single event type matching the given key from the
|
|
9895
|
+
* Extracts a single event type matching the given key from the System {@link Event} union.
|
|
9896
|
+
*
|
|
9897
|
+
* @see {@link ByType}
|
|
9886
9898
|
*
|
|
9887
9899
|
* @typeParam Type String key specifying the event to extract
|
|
9888
9900
|
*/
|
|
9889
|
-
declare type
|
|
9890
|
-
|
|
9901
|
+
declare type Payload_10<Type extends EventType_8> = BaseEvents.Payload<Event_11, Type>;
|
|
9902
|
+
|
|
9903
|
+
/**
|
|
9904
|
+
* Extracts a single event type matching the given type key from the provided EmitterEvent union.
|
|
9905
|
+
*
|
|
9906
|
+
* @remarks Each event emitter namespace defines its own reduction of this type that fixes the Event parameter to
|
|
9907
|
+
* the appropriate payload union for that namespace.
|
|
9908
|
+
*
|
|
9909
|
+
* @typeParam Event Union of payloads for events on the given emitter
|
|
9910
|
+
* @see {@link ByType}
|
|
9911
|
+
*
|
|
9912
|
+
* @typeParam Type String key specifying the event to extract from the union
|
|
9913
|
+
*
|
|
9914
|
+
* @see {@link OpenFin.Events.ApplicationEvents.Payload}
|
|
9915
|
+
* @see {@link OpenFin.Events.ExternalApplicationEvents.Payload}
|
|
9916
|
+
* @see {@link OpenFin.Events.FrameEvents.Payload}
|
|
9917
|
+
* @see {@link OpenFin.Events.GlobalHotkeyEvents.Payload}
|
|
9918
|
+
* @see {@link OpenFin.Events.PlatformEvents.Payload}
|
|
9919
|
+
* @see {@link OpenFin.Events.SystemEvents.Payload}
|
|
9920
|
+
* @see {@link OpenFin.Events.ViewEvents.Payload}
|
|
9921
|
+
* @see {@link OpenFin.Events.WindowEvents.Payload}
|
|
9922
|
+
*/
|
|
9923
|
+
declare type Payload_2<Event extends BaseEvent, EventType extends string> = Extract<Event, {
|
|
9924
|
+
type: EventType;
|
|
9891
9925
|
}>;
|
|
9892
9926
|
|
|
9927
|
+
/**
|
|
9928
|
+
* Extracts a single event type matching the given key from the View {@link Event} union.
|
|
9929
|
+
*
|
|
9930
|
+
* @see {@link ByType}
|
|
9931
|
+
*
|
|
9932
|
+
* @typeParam Type String key specifying the event to extract
|
|
9933
|
+
*/
|
|
9934
|
+
declare type Payload_3<Type extends EventType> = BaseEvents.Payload<Event_4, Type>;
|
|
9935
|
+
|
|
9893
9936
|
/**
|
|
9894
9937
|
* Extracts a single event type matching the given key from the Window {@link Event} union.
|
|
9895
9938
|
*
|
|
9939
|
+
* @see {@link ByType}
|
|
9940
|
+
*
|
|
9896
9941
|
* @typeParam Type String key specifying the event to extract
|
|
9897
9942
|
*/
|
|
9898
|
-
declare type
|
|
9899
|
-
type: Type;
|
|
9900
|
-
}>;
|
|
9943
|
+
declare type Payload_4<Type extends EventType_2> = BaseEvents.Payload<Event_6, Type>;
|
|
9901
9944
|
|
|
9902
9945
|
/**
|
|
9903
9946
|
* Extracts a single event type matching the given key from the Application {@link Event} union.
|
|
9904
9947
|
*
|
|
9948
|
+
* @see {@link ByType}
|
|
9949
|
+
*
|
|
9905
9950
|
* @typeParam Type String key specifying the event to extract
|
|
9906
9951
|
*/
|
|
9907
|
-
declare type
|
|
9908
|
-
type: Type;
|
|
9909
|
-
}>;
|
|
9952
|
+
declare type Payload_5<Type extends EventType_3> = BaseEvents.Payload<Event_3, Type>;
|
|
9910
9953
|
|
|
9911
9954
|
/**
|
|
9912
9955
|
* Extracts a single event type matching the given key from the ExternalApplication {@link Event} union.
|
|
9913
9956
|
*
|
|
9957
|
+
* @see {@link ByType}
|
|
9958
|
+
*
|
|
9914
9959
|
* @typeParam Type String key specifying the event to extract
|
|
9915
9960
|
*/
|
|
9916
|
-
declare type
|
|
9917
|
-
type: Type;
|
|
9918
|
-
}>;
|
|
9961
|
+
declare type Payload_6<Type extends EventType_4> = BaseEvents.Payload<Event_7, Type>;
|
|
9919
9962
|
|
|
9920
9963
|
/**
|
|
9921
9964
|
* Extracts a single event type matching the given key from the Frame {@link Event} union.
|
|
9922
9965
|
*
|
|
9966
|
+
* @see {@link ByType}
|
|
9967
|
+
*
|
|
9923
9968
|
* @typeParam Type String key specifying the event to extract
|
|
9924
9969
|
*/
|
|
9925
|
-
declare type
|
|
9926
|
-
type: Type;
|
|
9927
|
-
}>;
|
|
9970
|
+
declare type Payload_7<Type extends EventType_5> = BaseEvents.Payload<Event_8, Type>;
|
|
9928
9971
|
|
|
9929
9972
|
/**
|
|
9930
9973
|
* Extracts a single event type matching the given key from the GlobalHotkey {@link Event} union.
|
|
9931
9974
|
*
|
|
9975
|
+
* @see {@link ByType}
|
|
9976
|
+
*
|
|
9932
9977
|
* @typeParam Type String key specifying the event to extract
|
|
9933
9978
|
*/
|
|
9934
|
-
declare type
|
|
9935
|
-
type: Type;
|
|
9936
|
-
}>;
|
|
9979
|
+
declare type Payload_8<Type extends EventType_6> = BaseEvents.Payload<Event_9, Type>;
|
|
9937
9980
|
|
|
9938
9981
|
/**
|
|
9939
9982
|
* Extracts a single event type matching the given key from the Platform {@link Event} union.
|
|
9940
9983
|
*
|
|
9941
|
-
* @
|
|
9942
|
-
*/
|
|
9943
|
-
declare type Payload_8<Type extends EventType_7> = Extract<Event_10, {
|
|
9944
|
-
type: Type;
|
|
9945
|
-
}>;
|
|
9946
|
-
|
|
9947
|
-
/**
|
|
9948
|
-
* Extracts a single event type matching the given key from the System {@link Event} union.
|
|
9984
|
+
* @see {@link ByType}
|
|
9949
9985
|
*
|
|
9950
9986
|
* @typeParam Type String key specifying the event to extract
|
|
9951
9987
|
*/
|
|
9952
|
-
declare type Payload_9<Type extends
|
|
9953
|
-
type: Type;
|
|
9954
|
-
}>;
|
|
9988
|
+
declare type Payload_9<Type extends EventType_7> = BaseEvents.Payload<Event_10, Type>;
|
|
9955
9989
|
|
|
9956
9990
|
declare type PayloadTypeByStrategy<T extends ChannelStrategy<unknown>> = T extends ChannelStrategy<infer U> ? U : never;
|
|
9957
9991
|
|
|
@@ -10645,7 +10679,7 @@ declare namespace PlatformEvents {
|
|
|
10645
10679
|
PlatformEvent,
|
|
10646
10680
|
EventType_7 as EventType,
|
|
10647
10681
|
PlatformEventType,
|
|
10648
|
-
|
|
10682
|
+
Payload_9 as Payload,
|
|
10649
10683
|
ByType_7 as ByType
|
|
10650
10684
|
}
|
|
10651
10685
|
}
|
|
@@ -12364,6 +12398,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
|
12364
12398
|
token: string;
|
|
12365
12399
|
}
|
|
12366
12400
|
|
|
12401
|
+
/**
|
|
12402
|
+
* Generated when a View is removed from a layout.
|
|
12403
|
+
* @interface
|
|
12404
|
+
*/
|
|
12405
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
|
12406
|
+
type: 'removed-from-layout';
|
|
12407
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
12408
|
+
};
|
|
12409
|
+
|
|
12367
12410
|
/**
|
|
12368
12411
|
* @interface
|
|
12369
12412
|
*/
|
|
@@ -13006,7 +13049,7 @@ declare type Snapshot = {
|
|
|
13006
13049
|
* _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.
|
|
13007
13050
|
* @interface
|
|
13008
13051
|
*/
|
|
13009
|
-
declare type SnapshotAppliedEvent = BaseEvent & {
|
|
13052
|
+
declare type SnapshotAppliedEvent = BaseEvents.BaseEvent & {
|
|
13010
13053
|
topic: 'application';
|
|
13011
13054
|
type: 'platform-snapshot-applied';
|
|
13012
13055
|
};
|
|
@@ -14618,7 +14661,7 @@ declare namespace SystemEvents {
|
|
|
14618
14661
|
SystemEvent,
|
|
14619
14662
|
EventType_8 as EventType,
|
|
14620
14663
|
SystemEventType,
|
|
14621
|
-
|
|
14664
|
+
Payload_10 as Payload,
|
|
14622
14665
|
ByType_8 as ByType
|
|
14623
14666
|
}
|
|
14624
14667
|
}
|
|
@@ -15668,6 +15711,8 @@ declare namespace ViewEvents {
|
|
|
15668
15711
|
BaseEvent_4 as BaseEvent,
|
|
15669
15712
|
BaseViewEvent,
|
|
15670
15713
|
TargetChangedEvent,
|
|
15714
|
+
AddedToLayoutEvent,
|
|
15715
|
+
RemovedFromLayoutEvent,
|
|
15671
15716
|
NonPropagatedViewEvent,
|
|
15672
15717
|
CreatedEvent,
|
|
15673
15718
|
DestroyedEvent,
|
|
@@ -15684,7 +15729,7 @@ declare namespace ViewEvents {
|
|
|
15684
15729
|
PropagatedViewEvent,
|
|
15685
15730
|
PropagatedEventType_2 as PropagatedEventType,
|
|
15686
15731
|
PropagatedViewEventType,
|
|
15687
|
-
|
|
15732
|
+
Payload_3 as Payload,
|
|
15688
15733
|
ByType
|
|
15689
15734
|
}
|
|
15690
15735
|
}
|
|
@@ -18163,7 +18208,7 @@ declare namespace WindowEvents {
|
|
|
18163
18208
|
PropagatedEvent_3 as PropagatedEvent,
|
|
18164
18209
|
PropagatedWindowEvent,
|
|
18165
18210
|
PropagatedWindowEventType,
|
|
18166
|
-
|
|
18211
|
+
Payload_4 as Payload,
|
|
18167
18212
|
ByType_2 as ByType
|
|
18168
18213
|
}
|
|
18169
18214
|
}
|
package/out/remote-adapter.js
CHANGED
|
@@ -6926,7 +6926,7 @@ function requireInstance$1 () {
|
|
|
6926
6926
|
// don't expose
|
|
6927
6927
|
});
|
|
6928
6928
|
const opts = await this.getOptions();
|
|
6929
|
-
if (!opts.layout
|
|
6929
|
+
if (!opts.layout && !opts.layoutSnapshot) {
|
|
6930
6930
|
throw new Error('Window does not have a Layout');
|
|
6931
6931
|
}
|
|
6932
6932
|
return this.fin.Platform.Layout.wrap(layoutIdentity ?? this.identity);
|
|
@@ -8230,9 +8230,14 @@ function requireInstance () {
|
|
|
8230
8230
|
// don't expose
|
|
8231
8231
|
});
|
|
8232
8232
|
const layoutWindow = await this.getCurrentWindow();
|
|
8233
|
+
let layoutWindowIdentity = layoutWindow.identity;
|
|
8234
|
+
// TODO: CORE-1857 - when we tearout active layout or drag a view out of a window, the above identity includes the whole window info.
|
|
8235
|
+
if (layoutWindowIdentity.identity) {
|
|
8236
|
+
layoutWindowIdentity = layoutWindowIdentity.identity;
|
|
8237
|
+
}
|
|
8233
8238
|
try {
|
|
8234
8239
|
const providerChannelClient = await __classPrivateFieldGet(this, _View_providerChannelClient, "f").getValue();
|
|
8235
|
-
const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID,
|
|
8240
|
+
const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID, layoutWindowIdentity);
|
|
8236
8241
|
const layoutIdentity = await client.getLayoutIdentityForViewOrThrow(this.identity);
|
|
8237
8242
|
return this.fin.Platform.Layout.wrap(layoutIdentity);
|
|
8238
8243
|
}
|
|
@@ -8245,7 +8250,7 @@ function requireInstance () {
|
|
|
8245
8250
|
throw e;
|
|
8246
8251
|
}
|
|
8247
8252
|
// fallback logic for missing endpoint
|
|
8248
|
-
return this.fin.Platform.Layout.wrap(
|
|
8253
|
+
return this.fin.Platform.Layout.wrap(layoutWindowIdentity);
|
|
8249
8254
|
}
|
|
8250
8255
|
};
|
|
8251
8256
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "36.80.
|
|
3
|
+
"version": "36.80.25",
|
|
4
4
|
"description": "Establish intermachine runtime connections using webRTC.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"private": false,
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@rollup/plugin-commonjs": "25.0.2",
|
|
21
21
|
"@rollup/plugin-node-resolve": "15.1.0",
|
|
22
22
|
"@rollup/plugin-typescript": "11.1.1",
|
|
23
|
-
"@types/node": "^20.
|
|
23
|
+
"@types/node": "^20.14.2",
|
|
24
24
|
"rollup": "3.24.1",
|
|
25
25
|
"typescript": "4.9.5"
|
|
26
26
|
},
|