@openfin/core 42.104.2 → 42.104.5
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/mock-alpha.d.ts +153 -58
- package/out/mock-beta.d.ts +153 -58
- package/out/mock-public.d.ts +153 -58
- package/out/stub.d.ts +153 -58
- package/out/stub.js +4034 -5472
- package/package.json +41 -36
package/out/stub.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
|
|
|
88
88
|
url: string;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
-
declare type AnalyticsOnlyCalls = '
|
|
91
|
+
declare type AnalyticsOnlyCalls = 'layout-get-stack-by-view' | 'layout-add-view' | 'layout-close-view' | `layout-controller-${string}`;
|
|
92
92
|
|
|
93
93
|
declare type AnalyticsProtocolMap = {
|
|
94
94
|
[k in AnalyticsOnlyCalls]: VoidCall;
|
|
@@ -1714,6 +1714,7 @@ declare type BaseConfig = {
|
|
|
1714
1714
|
devToolsPort?: number;
|
|
1715
1715
|
installerUI?: boolean;
|
|
1716
1716
|
runtime?: RuntimeConfig;
|
|
1717
|
+
apiDiagnostics?: boolean;
|
|
1717
1718
|
appAssets?: [
|
|
1718
1719
|
{
|
|
1719
1720
|
src: string;
|
|
@@ -3095,6 +3096,11 @@ declare type ClearCacheOption = {
|
|
|
3095
3096
|
* browser data that can be used across sessions
|
|
3096
3097
|
*/
|
|
3097
3098
|
localStorage?: boolean;
|
|
3099
|
+
/**
|
|
3100
|
+
* Clears saved window-state data written for windows that use `saveWindowState`.
|
|
3101
|
+
* After this data is cleared, previously persisted bounds and state (Maximized/Minimized) will not be restored until new state is written again.
|
|
3102
|
+
*/
|
|
3103
|
+
windowState?: boolean;
|
|
3098
3104
|
};
|
|
3099
3105
|
|
|
3100
3106
|
/**
|
|
@@ -3137,6 +3143,11 @@ declare type ClearDataOptions = {
|
|
|
3137
3143
|
* - `origin-in-all-contexts` - Storage is matched on origin only in all contexts.
|
|
3138
3144
|
*/
|
|
3139
3145
|
originMatchingMode?: 'third-parties-included' | 'origin-in-all-contexts';
|
|
3146
|
+
/**
|
|
3147
|
+
* Clears saved window-state data written for windows that use `saveWindowState`.
|
|
3148
|
+
* After this data is cleared, previously persisted bounds and state (Maximized/Minimized) will not be restored until new state is written again.
|
|
3149
|
+
*/
|
|
3150
|
+
windowState?: boolean;
|
|
3140
3151
|
};
|
|
3141
3152
|
|
|
3142
3153
|
/**
|
|
@@ -6544,6 +6555,16 @@ declare type IntentMetadata<TargetType = any> = {
|
|
|
6544
6555
|
*/
|
|
6545
6556
|
declare class InterApplicationBus extends Base {
|
|
6546
6557
|
Channel: Channel;
|
|
6558
|
+
/**
|
|
6559
|
+
* Event types for the InterApplicationBus.
|
|
6560
|
+
*
|
|
6561
|
+
* @remarks The `subscriber-added` and `subscriber-removed` events are disabled by default.
|
|
6562
|
+
* To re-enable them, launch the runtime with the `--emit-legacy-iab-events` flag.
|
|
6563
|
+
* These events will be removed in a future version. Use {@link Channel} for connection
|
|
6564
|
+
* lifecycle management instead.
|
|
6565
|
+
*
|
|
6566
|
+
* @deprecated Use {@link Channel} `onConnection` / `onDisconnection` instead.
|
|
6567
|
+
*/
|
|
6547
6568
|
events: {
|
|
6548
6569
|
subscriberAdded: string;
|
|
6549
6570
|
subscriberRemoved: string;
|
|
@@ -10300,6 +10321,9 @@ declare namespace OpenFin_2 {
|
|
|
10300
10321
|
SystemProcessInfo,
|
|
10301
10322
|
ClearCacheOption,
|
|
10302
10323
|
ClearDataOptions,
|
|
10324
|
+
TraceConfig,
|
|
10325
|
+
TraceCategoriesAndOptions,
|
|
10326
|
+
TraceBufferUsage,
|
|
10303
10327
|
CookieInfo,
|
|
10304
10328
|
CookieOption,
|
|
10305
10329
|
CrashReporterOptions,
|
|
@@ -12965,19 +12989,17 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12965
12989
|
response: OpenFin_2.MenuResult;
|
|
12966
12990
|
};
|
|
12967
12991
|
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
12968
|
-
'wrap-application': VoidCall;
|
|
12969
|
-
'wrap-application-sync': VoidCall;
|
|
12970
12992
|
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
|
12971
|
-
'application-create': VoidCall;
|
|
12972
|
-
'start-application': VoidCall;
|
|
12973
12993
|
'run-applications': ApiCall<{
|
|
12974
12994
|
applications: Array<OpenFin_2.ManifestInfo>;
|
|
12975
12995
|
opts?: OpenFin_2.RvmLaunchOptions;
|
|
12976
12996
|
}, void>;
|
|
12977
|
-
'
|
|
12978
|
-
|
|
12979
|
-
|
|
12980
|
-
|
|
12997
|
+
'send-analytics-batch': {
|
|
12998
|
+
request: {
|
|
12999
|
+
counts: Record<string, number>;
|
|
13000
|
+
};
|
|
13001
|
+
response: void;
|
|
13002
|
+
};
|
|
12981
13003
|
'request-external-authorization': {
|
|
12982
13004
|
request: any;
|
|
12983
13005
|
response: void;
|
|
@@ -13096,10 +13118,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13096
13118
|
options: OpenFin_2.UpdatableViewOptions;
|
|
13097
13119
|
}>;
|
|
13098
13120
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
13099
|
-
'view-wrap-sync': VoidCall;
|
|
13100
|
-
'view-wrap': VoidCall;
|
|
13101
|
-
'view-get-current': VoidCall;
|
|
13102
|
-
'view-get-current-sync': VoidCall;
|
|
13103
13121
|
'animate-window': IdentityCall<{
|
|
13104
13122
|
transitions: OpenFin_2.Transition;
|
|
13105
13123
|
options: OpenFin_2.TransitionOptions;
|
|
@@ -13197,14 +13215,8 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13197
13215
|
'get-current-window': VoidCall;
|
|
13198
13216
|
'get-current-window-sync': VoidCall;
|
|
13199
13217
|
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
|
13200
|
-
'external-application-wrap': VoidCall;
|
|
13201
|
-
'external-application-wrap-sync': VoidCall;
|
|
13202
13218
|
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
|
13203
13219
|
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
|
13204
|
-
'frame-wrap': VoidCall;
|
|
13205
|
-
'frame-wrap-sync': VoidCall;
|
|
13206
|
-
'frame-get-current': VoidCall;
|
|
13207
|
-
'frame-get-current-sync': VoidCall;
|
|
13208
13220
|
'global-hotkey-register': {
|
|
13209
13221
|
request: {
|
|
13210
13222
|
hotkey: string;
|
|
@@ -13293,6 +13305,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13293
13305
|
response: any;
|
|
13294
13306
|
};
|
|
13295
13307
|
'get-version': GetterCall<string>;
|
|
13308
|
+
'content-tracing-get-categories': GetterCall<string[]>;
|
|
13309
|
+
'content-tracing-start-recording': ApiCall<{
|
|
13310
|
+
options: OpenFin_2.TraceConfig | OpenFin_2.TraceCategoriesAndOptions;
|
|
13311
|
+
}, void>;
|
|
13312
|
+
'content-tracing-stop-recording': GetterCall<string>;
|
|
13313
|
+
'content-tracing-get-trace-buffer-usage': GetterCall<OpenFin_2.TraceBufferUsage>;
|
|
13296
13314
|
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
|
13297
13315
|
'clear-http-cache': VoidCall;
|
|
13298
13316
|
'clear-cache-data': ApiCall<OpenFin_2.ClearDataOptions, void>;
|
|
@@ -13534,7 +13552,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13534
13552
|
apiPath: '.resolveDomainSettings';
|
|
13535
13553
|
namespace: 'System';
|
|
13536
13554
|
};
|
|
13537
|
-
'system-register-shutdown-handler': VoidCall;
|
|
13538
13555
|
'get-permissions': GetterCall<any>;
|
|
13539
13556
|
'refresh-extensions': {
|
|
13540
13557
|
request: void;
|
|
@@ -13544,24 +13561,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13544
13561
|
request: void;
|
|
13545
13562
|
response: OpenFin_2.ExtensionInfo[];
|
|
13546
13563
|
};
|
|
13547
|
-
'fdc3-add-context-listener': VoidCall;
|
|
13548
|
-
'fdc3-add-intent-listener': VoidCall;
|
|
13549
|
-
'fdc3-raise-intent': VoidCall;
|
|
13550
|
-
'fdc3-find-intent': VoidCall;
|
|
13551
|
-
'fdc3-find-intents-by-context': VoidCall;
|
|
13552
|
-
'fdc3-raise-intent-for-context': VoidCall;
|
|
13553
|
-
'fdc3-get-info': VoidCall;
|
|
13554
|
-
'fdc3-find-instances': VoidCall;
|
|
13555
|
-
'fdc3-get-app-metadata': VoidCall;
|
|
13556
|
-
'fdc3-broadcast': VoidCall;
|
|
13557
|
-
'fdc3-open': VoidCall;
|
|
13558
|
-
'fdc3-get-or-create-channel': VoidCall;
|
|
13559
|
-
'fdc3-get-system-channels': VoidCall;
|
|
13560
|
-
'fdc3-join-channel': VoidCall;
|
|
13561
|
-
'fdc3-get-current-channel': VoidCall;
|
|
13562
|
-
'fdc3-leave-current-channel': VoidCall;
|
|
13563
|
-
'interop-init': VoidCall;
|
|
13564
|
-
'interop-connect-sync': VoidCall;
|
|
13565
13564
|
'interop-client-set-context': VoidCall;
|
|
13566
13565
|
'interop-client-add-context-handler': VoidCall;
|
|
13567
13566
|
'interop-client-get-context-groups': VoidCall;
|
|
@@ -13592,12 +13591,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13592
13591
|
'interop-session-context-group-set-context': VoidCall;
|
|
13593
13592
|
'interop-session-context-group-get-context': VoidCall;
|
|
13594
13593
|
'interop-session-context-group-add-handler': VoidCall;
|
|
13595
|
-
'platform-wrap': VoidCall;
|
|
13596
|
-
'platform-wrap-sync': VoidCall;
|
|
13597
|
-
'platform-get-current': VoidCall;
|
|
13598
|
-
'platform-get-current-sync': VoidCall;
|
|
13599
|
-
'platform-start': VoidCall;
|
|
13600
|
-
'platform-start-from-manifest': VoidCall;
|
|
13601
13594
|
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
13602
13595
|
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
13603
13596
|
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
@@ -13610,11 +13603,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13610
13603
|
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
13611
13604
|
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
13612
13605
|
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
13613
|
-
'layout-wrap': VoidCall;
|
|
13614
|
-
'layout-wrap-sync': VoidCall;
|
|
13615
|
-
'layout-get-current': VoidCall;
|
|
13616
|
-
'layout-get-current-sync': VoidCall;
|
|
13617
|
-
'layout-init': VoidCall;
|
|
13618
13606
|
'layout-get-config': VoidCall;
|
|
13619
13607
|
'layout-get-views': VoidCall;
|
|
13620
13608
|
'layout-replace': VoidCall;
|
|
@@ -13633,12 +13621,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13633
13621
|
'layout-controller-create-adjacent-stack': VoidCall;
|
|
13634
13622
|
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
13635
13623
|
'layout-controller-set-stack-active-view': VoidCall;
|
|
13636
|
-
'snapshot-source-init': VoidCall;
|
|
13637
|
-
'snapshot-source-wrap-sync': VoidCall;
|
|
13638
|
-
'snapshot-source-wrap': VoidCall;
|
|
13639
|
-
'snapshot-source-ready': VoidCall;
|
|
13640
|
-
'snapshot-source-get-snapshot': VoidCall;
|
|
13641
|
-
'snapshot-source-apply-snapshot': VoidCall;
|
|
13642
13624
|
'capture-page': IdentityCall<{
|
|
13643
13625
|
options?: OpenFin_2.CapturePageOptions;
|
|
13644
13626
|
}, string>;
|
|
@@ -14818,6 +14800,10 @@ declare type SubscriptionOptions = {
|
|
|
14818
14800
|
*
|
|
14819
14801
|
*/
|
|
14820
14802
|
declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14803
|
+
/**
|
|
14804
|
+
* Chromium content tracing APIs.
|
|
14805
|
+
*/
|
|
14806
|
+
readonly ContentTracing: SystemContentTracing;
|
|
14821
14807
|
/**
|
|
14822
14808
|
* @internal
|
|
14823
14809
|
*/
|
|
@@ -14844,13 +14830,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
14844
14830
|
* * cookies: browser [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies)
|
|
14845
14831
|
* * localStorage: browser data that can be used across sessions ([local storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage))
|
|
14846
14832
|
* * appcache: html5 [application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache)
|
|
14833
|
+
* * windowState: clears data written for windows using `saveWindowState`; after clearing, previously saved bounds and state will not be restored until new state is written
|
|
14847
14834
|
* @example
|
|
14848
14835
|
* ```js
|
|
14849
14836
|
* const clearCacheOptions = {
|
|
14850
14837
|
* appcache: true,
|
|
14851
14838
|
* cache: true,
|
|
14852
14839
|
* cookies: true,
|
|
14853
|
-
* localStorage: true
|
|
14840
|
+
* localStorage: true,
|
|
14841
|
+
* windowState: true
|
|
14854
14842
|
* };
|
|
14855
14843
|
* fin.System.clearCache(clearCacheOptions).then(() => console.log('Cache cleared')).catch(err => console.log(err));
|
|
14856
14844
|
* ```
|
|
@@ -14875,12 +14863,16 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
14875
14863
|
*
|
|
14876
14864
|
* @param options - Optional configuration for what data to clear
|
|
14877
14865
|
*
|
|
14866
|
+
* @remarks Set `windowState: true` to also clear data written for windows using `saveWindowState`.
|
|
14867
|
+
* After this data is cleared, previously saved bounds and state will not be restored until new state is written again.
|
|
14868
|
+
*
|
|
14878
14869
|
* @example
|
|
14879
14870
|
* ```js
|
|
14880
14871
|
* // Clear only cookies and localStorage for a specific origin
|
|
14881
14872
|
* await fin.System.clearCacheData({
|
|
14882
14873
|
* dataTypes: ['cookies', 'localStorage'],
|
|
14883
|
-
* origins: ['http://localhost:8081']
|
|
14874
|
+
* origins: ['http://localhost:8081'],
|
|
14875
|
+
* windowState: true
|
|
14884
14876
|
* });
|
|
14885
14877
|
*
|
|
14886
14878
|
* // Clear everything except for a specific origin
|
|
@@ -16341,6 +16333,36 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
16341
16333
|
launchLogUploader(options: OpenFin_2.LogUploaderOptions): Promise<void>;
|
|
16342
16334
|
}
|
|
16343
16335
|
|
|
16336
|
+
/**
|
|
16337
|
+
* Chromium content tracing APIs exposed under `fin.System.ContentTracing`.
|
|
16338
|
+
*/
|
|
16339
|
+
declare class SystemContentTracing extends Base {
|
|
16340
|
+
/**
|
|
16341
|
+
* Gets the currently known tracing category groups.
|
|
16342
|
+
*/
|
|
16343
|
+
getCategories(): Promise<string[]>;
|
|
16344
|
+
/**
|
|
16345
|
+
* Starts content tracing across runtime processes.
|
|
16346
|
+
*
|
|
16347
|
+
* Only one content tracing session may be active across the runtime at a time.
|
|
16348
|
+
* This method rejects if another identity already owns the active session.
|
|
16349
|
+
*/
|
|
16350
|
+
startRecording(options: OpenFin_2.TraceConfig | OpenFin_2.TraceCategoriesAndOptions): Promise<void>;
|
|
16351
|
+
/**
|
|
16352
|
+
* Stops the active content tracing session and writes the trace to the runtime-managed cache folder.
|
|
16353
|
+
*
|
|
16354
|
+
* The calling identity must match the identity that started the active tracing session.
|
|
16355
|
+
* This method rejects if tracing is not active or is owned by another identity.
|
|
16356
|
+
*/
|
|
16357
|
+
stopRecording(): Promise<string>;
|
|
16358
|
+
/**
|
|
16359
|
+
* Returns the current maximum trace buffer usage across processes.
|
|
16360
|
+
*
|
|
16361
|
+
* This method is not supported on macOS and rejects on that platform.
|
|
16362
|
+
*/
|
|
16363
|
+
getTraceBufferUsage(): Promise<OpenFin_2.TraceBufferUsage>;
|
|
16364
|
+
}
|
|
16365
|
+
|
|
16344
16366
|
/**
|
|
16345
16367
|
* @deprecated Renamed to {@link Event}.
|
|
16346
16368
|
*/
|
|
@@ -16680,6 +16702,76 @@ declare type Time = {
|
|
|
16680
16702
|
|
|
16681
16703
|
declare type TimeZones = 'utc' | 'local';
|
|
16682
16704
|
|
|
16705
|
+
/**
|
|
16706
|
+
* @interface
|
|
16707
|
+
* Current maximum usage across trace buffers.
|
|
16708
|
+
*/
|
|
16709
|
+
declare type TraceBufferUsage = {
|
|
16710
|
+
value: number;
|
|
16711
|
+
percentage: number;
|
|
16712
|
+
};
|
|
16713
|
+
|
|
16714
|
+
/**
|
|
16715
|
+
* @interface
|
|
16716
|
+
* Shorthand tracing configuration based on Electron's contentTracing.startRecording() API.
|
|
16717
|
+
*/
|
|
16718
|
+
declare type TraceCategoriesAndOptions = {
|
|
16719
|
+
/**
|
|
16720
|
+
* Filter that controls which category groups should be traced.
|
|
16721
|
+
* A filter can have an optional '-' prefix to exclude category groups that contain a matching category. Having both included and excluded category patterns in the same list is not supported. Examples: test_MyTest*, test_MyTest*,test_OtherStuff, -excluded_category1,-excluded_category2.
|
|
16722
|
+
*/
|
|
16723
|
+
categoryFilter: string;
|
|
16724
|
+
/**
|
|
16725
|
+
* Comma-delimited string controlling recording mode and extra trace options. valid strings; record-until-full, record-continuously, trace-to-console, enable-sampling, enable-systrace, e.g. 'record-until-full,enable-sampling'. The first 3 options are trace recording modes and hence mutually exclusive. If more than one trace recording modes appear in the traceOptions string, the last one takes precedence. If none of the trace recording modes are specified, recording mode is record-until-full. The trace option will first be reset to the default option (record_mode set to record-until-full, enable_sampling and enable_systrace set to false) before options parsed from traceOptions are applied on it.
|
|
16726
|
+
*/
|
|
16727
|
+
traceOptions: string;
|
|
16728
|
+
};
|
|
16729
|
+
|
|
16730
|
+
/**
|
|
16731
|
+
* @interface
|
|
16732
|
+
* Structured tracing configuration based on Electron's contentTracing.startRecording() API.
|
|
16733
|
+
*/
|
|
16734
|
+
declare type TraceConfig = {
|
|
16735
|
+
/**
|
|
16736
|
+
* Can be `record-until-full`, `record-continuously`, `record-as-much-as-possible` or `trace-to-console`.
|
|
16737
|
+
* Defaults to `record-until-full`, which will record until the trace buffer is full and then stop recording.
|
|
16738
|
+
*/
|
|
16739
|
+
recording_mode?: 'record-until-full' | 'record-continuously' | 'record-as-much-as-possible' | 'trace-to-console';
|
|
16740
|
+
/**
|
|
16741
|
+
* Maximum size of the trace recording buffer in kilobytes.
|
|
16742
|
+
*/
|
|
16743
|
+
trace_buffer_size_in_kb?: number;
|
|
16744
|
+
/**
|
|
16745
|
+
* Maximum size of the trace recording buffer in events.
|
|
16746
|
+
* Defaults to 100MB
|
|
16747
|
+
*/
|
|
16748
|
+
trace_buffer_size_in_events?: number;
|
|
16749
|
+
/**
|
|
16750
|
+
* Filters event data according to Chromium's vetted allowlist.
|
|
16751
|
+
*/
|
|
16752
|
+
enable_argument_filter?: boolean;
|
|
16753
|
+
/**
|
|
16754
|
+
* A list of tracing categories to include.
|
|
16755
|
+
*/
|
|
16756
|
+
included_categories?: string[];
|
|
16757
|
+
/**
|
|
16758
|
+
* A list of tracing categories to exclude.
|
|
16759
|
+
*/
|
|
16760
|
+
excluded_categories?: string[];
|
|
16761
|
+
/**
|
|
16762
|
+
* A list of process IDs to include in the trace.
|
|
16763
|
+
*/
|
|
16764
|
+
included_process_ids?: number[];
|
|
16765
|
+
/**
|
|
16766
|
+
* A list of histogram names to report with the trace.
|
|
16767
|
+
*/
|
|
16768
|
+
histogram_names?: string[];
|
|
16769
|
+
/**
|
|
16770
|
+
* Additional configuration for memory tracing when memory-infra tracing is enabled.
|
|
16771
|
+
*/
|
|
16772
|
+
memory_dump_config?: Record<string, any>;
|
|
16773
|
+
};
|
|
16774
|
+
|
|
16683
16775
|
/**
|
|
16684
16776
|
* @interface
|
|
16685
16777
|
*/
|
|
@@ -16748,9 +16840,12 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
|
|
|
16748
16840
|
sendRaw: Wire['send'];
|
|
16749
16841
|
eventAggregator: EventAggregator;
|
|
16750
16842
|
protected messageHandlers: MessageHandler[];
|
|
16751
|
-
constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity
|
|
16843
|
+
constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity & {
|
|
16844
|
+
apiDiagnostics?: boolean;
|
|
16845
|
+
});
|
|
16752
16846
|
getFin(): OpenFin_2.Fin<MeType>;
|
|
16753
16847
|
registerFin(_fin: OpenFin_2.Fin<MeType>): void;
|
|
16848
|
+
recordAnalytic(action: string): void;
|
|
16754
16849
|
connectSync: () => void;
|
|
16755
16850
|
getPort: () => string;
|
|
16756
16851
|
shutdown(): Promise<void>;
|