@openfin/core 42.104.2 → 42.104.4
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/mock-beta.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;
|
|
@@ -1682,6 +1682,7 @@ declare type BaseConfig = {
|
|
|
1682
1682
|
devToolsPort?: number;
|
|
1683
1683
|
installerUI?: boolean;
|
|
1684
1684
|
runtime?: RuntimeConfig;
|
|
1685
|
+
apiDiagnostics?: boolean;
|
|
1685
1686
|
appAssets?: [
|
|
1686
1687
|
{
|
|
1687
1688
|
src: string;
|
|
@@ -3039,6 +3040,11 @@ declare type ClearCacheOption = {
|
|
|
3039
3040
|
* browser data that can be used across sessions
|
|
3040
3041
|
*/
|
|
3041
3042
|
localStorage?: boolean;
|
|
3043
|
+
/**
|
|
3044
|
+
* Clears saved window-state data written for windows that use `saveWindowState`.
|
|
3045
|
+
* After this data is cleared, previously persisted bounds and state (Maximized/Minimized) will not be restored until new state is written again.
|
|
3046
|
+
*/
|
|
3047
|
+
windowState?: boolean;
|
|
3042
3048
|
};
|
|
3043
3049
|
|
|
3044
3050
|
/**
|
|
@@ -3081,6 +3087,11 @@ declare type ClearDataOptions = {
|
|
|
3081
3087
|
* - `origin-in-all-contexts` - Storage is matched on origin only in all contexts.
|
|
3082
3088
|
*/
|
|
3083
3089
|
originMatchingMode?: 'third-parties-included' | 'origin-in-all-contexts';
|
|
3090
|
+
/**
|
|
3091
|
+
* Clears saved window-state data written for windows that use `saveWindowState`.
|
|
3092
|
+
* After this data is cleared, previously persisted bounds and state (Maximized/Minimized) will not be restored until new state is written again.
|
|
3093
|
+
*/
|
|
3094
|
+
windowState?: boolean;
|
|
3084
3095
|
};
|
|
3085
3096
|
|
|
3086
3097
|
/**
|
|
@@ -6450,6 +6461,16 @@ declare type IntentMetadata<TargetType = any> = {
|
|
|
6450
6461
|
*/
|
|
6451
6462
|
declare class InterApplicationBus extends Base {
|
|
6452
6463
|
Channel: Channel;
|
|
6464
|
+
/**
|
|
6465
|
+
* Event types for the InterApplicationBus.
|
|
6466
|
+
*
|
|
6467
|
+
* @remarks The `subscriber-added` and `subscriber-removed` events are disabled by default.
|
|
6468
|
+
* To re-enable them, launch the runtime with the `--emit-legacy-iab-events` flag.
|
|
6469
|
+
* These events will be removed in a future version. Use {@link Channel} for connection
|
|
6470
|
+
* lifecycle management instead.
|
|
6471
|
+
*
|
|
6472
|
+
* @deprecated Use {@link Channel} `onConnection` / `onDisconnection` instead.
|
|
6473
|
+
*/
|
|
6453
6474
|
events: {
|
|
6454
6475
|
subscriberAdded: string;
|
|
6455
6476
|
subscriberRemoved: string;
|
|
@@ -9966,6 +9987,9 @@ declare namespace OpenFin_2 {
|
|
|
9966
9987
|
SystemProcessInfo,
|
|
9967
9988
|
ClearCacheOption,
|
|
9968
9989
|
ClearDataOptions,
|
|
9990
|
+
TraceConfig,
|
|
9991
|
+
TraceCategoriesAndOptions,
|
|
9992
|
+
TraceBufferUsage,
|
|
9969
9993
|
CookieInfo,
|
|
9970
9994
|
CookieOption,
|
|
9971
9995
|
CrashReporterOptions,
|
|
@@ -12548,19 +12572,17 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12548
12572
|
response: OpenFin_2.MenuResult;
|
|
12549
12573
|
};
|
|
12550
12574
|
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
12551
|
-
'wrap-application': VoidCall;
|
|
12552
|
-
'wrap-application-sync': VoidCall;
|
|
12553
12575
|
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
|
12554
|
-
'application-create': VoidCall;
|
|
12555
|
-
'start-application': VoidCall;
|
|
12556
12576
|
'run-applications': ApiCall<{
|
|
12557
12577
|
applications: Array<OpenFin_2.ManifestInfo>;
|
|
12558
12578
|
opts?: OpenFin_2.RvmLaunchOptions;
|
|
12559
12579
|
}, void>;
|
|
12560
|
-
'
|
|
12561
|
-
|
|
12562
|
-
|
|
12563
|
-
|
|
12580
|
+
'send-analytics-batch': {
|
|
12581
|
+
request: {
|
|
12582
|
+
counts: Record<string, number>;
|
|
12583
|
+
};
|
|
12584
|
+
response: void;
|
|
12585
|
+
};
|
|
12564
12586
|
'request-external-authorization': {
|
|
12565
12587
|
request: any;
|
|
12566
12588
|
response: void;
|
|
@@ -12679,10 +12701,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12679
12701
|
options: OpenFin_2.UpdatableViewOptions;
|
|
12680
12702
|
}>;
|
|
12681
12703
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
12682
|
-
'view-wrap-sync': VoidCall;
|
|
12683
|
-
'view-wrap': VoidCall;
|
|
12684
|
-
'view-get-current': VoidCall;
|
|
12685
|
-
'view-get-current-sync': VoidCall;
|
|
12686
12704
|
'animate-window': IdentityCall<{
|
|
12687
12705
|
transitions: OpenFin_2.Transition;
|
|
12688
12706
|
options: OpenFin_2.TransitionOptions;
|
|
@@ -12780,14 +12798,8 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12780
12798
|
'get-current-window': VoidCall;
|
|
12781
12799
|
'get-current-window-sync': VoidCall;
|
|
12782
12800
|
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
|
12783
|
-
'external-application-wrap': VoidCall;
|
|
12784
|
-
'external-application-wrap-sync': VoidCall;
|
|
12785
12801
|
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
|
12786
12802
|
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
|
12787
|
-
'frame-wrap': VoidCall;
|
|
12788
|
-
'frame-wrap-sync': VoidCall;
|
|
12789
|
-
'frame-get-current': VoidCall;
|
|
12790
|
-
'frame-get-current-sync': VoidCall;
|
|
12791
12803
|
'global-hotkey-register': {
|
|
12792
12804
|
request: {
|
|
12793
12805
|
hotkey: string;
|
|
@@ -12876,6 +12888,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12876
12888
|
response: any;
|
|
12877
12889
|
};
|
|
12878
12890
|
'get-version': GetterCall<string>;
|
|
12891
|
+
'content-tracing-get-categories': GetterCall<string[]>;
|
|
12892
|
+
'content-tracing-start-recording': ApiCall<{
|
|
12893
|
+
options: OpenFin_2.TraceConfig | OpenFin_2.TraceCategoriesAndOptions;
|
|
12894
|
+
}, void>;
|
|
12895
|
+
'content-tracing-stop-recording': GetterCall<string>;
|
|
12896
|
+
'content-tracing-get-trace-buffer-usage': GetterCall<OpenFin_2.TraceBufferUsage>;
|
|
12879
12897
|
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
|
12880
12898
|
'clear-http-cache': VoidCall;
|
|
12881
12899
|
'clear-cache-data': ApiCall<OpenFin_2.ClearDataOptions, void>;
|
|
@@ -13117,7 +13135,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13117
13135
|
apiPath: '.resolveDomainSettings';
|
|
13118
13136
|
namespace: 'System';
|
|
13119
13137
|
};
|
|
13120
|
-
'system-register-shutdown-handler': VoidCall;
|
|
13121
13138
|
'get-permissions': GetterCall<any>;
|
|
13122
13139
|
'refresh-extensions': {
|
|
13123
13140
|
request: void;
|
|
@@ -13127,24 +13144,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13127
13144
|
request: void;
|
|
13128
13145
|
response: OpenFin_2.ExtensionInfo[];
|
|
13129
13146
|
};
|
|
13130
|
-
'fdc3-add-context-listener': VoidCall;
|
|
13131
|
-
'fdc3-add-intent-listener': VoidCall;
|
|
13132
|
-
'fdc3-raise-intent': VoidCall;
|
|
13133
|
-
'fdc3-find-intent': VoidCall;
|
|
13134
|
-
'fdc3-find-intents-by-context': VoidCall;
|
|
13135
|
-
'fdc3-raise-intent-for-context': VoidCall;
|
|
13136
|
-
'fdc3-get-info': VoidCall;
|
|
13137
|
-
'fdc3-find-instances': VoidCall;
|
|
13138
|
-
'fdc3-get-app-metadata': VoidCall;
|
|
13139
|
-
'fdc3-broadcast': VoidCall;
|
|
13140
|
-
'fdc3-open': VoidCall;
|
|
13141
|
-
'fdc3-get-or-create-channel': VoidCall;
|
|
13142
|
-
'fdc3-get-system-channels': VoidCall;
|
|
13143
|
-
'fdc3-join-channel': VoidCall;
|
|
13144
|
-
'fdc3-get-current-channel': VoidCall;
|
|
13145
|
-
'fdc3-leave-current-channel': VoidCall;
|
|
13146
|
-
'interop-init': VoidCall;
|
|
13147
|
-
'interop-connect-sync': VoidCall;
|
|
13148
13147
|
'interop-client-set-context': VoidCall;
|
|
13149
13148
|
'interop-client-add-context-handler': VoidCall;
|
|
13150
13149
|
'interop-client-get-context-groups': VoidCall;
|
|
@@ -13175,12 +13174,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13175
13174
|
'interop-session-context-group-set-context': VoidCall;
|
|
13176
13175
|
'interop-session-context-group-get-context': VoidCall;
|
|
13177
13176
|
'interop-session-context-group-add-handler': VoidCall;
|
|
13178
|
-
'platform-wrap': VoidCall;
|
|
13179
|
-
'platform-wrap-sync': VoidCall;
|
|
13180
|
-
'platform-get-current': VoidCall;
|
|
13181
|
-
'platform-get-current-sync': VoidCall;
|
|
13182
|
-
'platform-start': VoidCall;
|
|
13183
|
-
'platform-start-from-manifest': VoidCall;
|
|
13184
13177
|
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
13185
13178
|
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
13186
13179
|
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
@@ -13193,11 +13186,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13193
13186
|
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
13194
13187
|
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
13195
13188
|
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
13196
|
-
'layout-wrap': VoidCall;
|
|
13197
|
-
'layout-wrap-sync': VoidCall;
|
|
13198
|
-
'layout-get-current': VoidCall;
|
|
13199
|
-
'layout-get-current-sync': VoidCall;
|
|
13200
|
-
'layout-init': VoidCall;
|
|
13201
13189
|
'layout-get-config': VoidCall;
|
|
13202
13190
|
'layout-get-views': VoidCall;
|
|
13203
13191
|
'layout-replace': VoidCall;
|
|
@@ -13216,12 +13204,6 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13216
13204
|
'layout-controller-create-adjacent-stack': VoidCall;
|
|
13217
13205
|
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
13218
13206
|
'layout-controller-set-stack-active-view': VoidCall;
|
|
13219
|
-
'snapshot-source-init': VoidCall;
|
|
13220
|
-
'snapshot-source-wrap-sync': VoidCall;
|
|
13221
|
-
'snapshot-source-wrap': VoidCall;
|
|
13222
|
-
'snapshot-source-ready': VoidCall;
|
|
13223
|
-
'snapshot-source-get-snapshot': VoidCall;
|
|
13224
|
-
'snapshot-source-apply-snapshot': VoidCall;
|
|
13225
13207
|
'capture-page': IdentityCall<{
|
|
13226
13208
|
options?: OpenFin_2.CapturePageOptions;
|
|
13227
13209
|
}, string>;
|
|
@@ -14398,6 +14380,10 @@ declare type SubscriptionOptions = {
|
|
|
14398
14380
|
*
|
|
14399
14381
|
*/
|
|
14400
14382
|
declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14383
|
+
/**
|
|
14384
|
+
* Chromium content tracing APIs.
|
|
14385
|
+
*/
|
|
14386
|
+
readonly ContentTracing: SystemContentTracing;
|
|
14401
14387
|
/* Excluded from this release type: __constructor */
|
|
14402
14388
|
private sendExternalProcessRequest;
|
|
14403
14389
|
/**
|
|
@@ -14421,13 +14407,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
14421
14407
|
* * cookies: browser [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies)
|
|
14422
14408
|
* * localStorage: browser data that can be used across sessions ([local storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage))
|
|
14423
14409
|
* * appcache: html5 [application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache)
|
|
14410
|
+
* * windowState: clears data written for windows using `saveWindowState`; after clearing, previously saved bounds and state will not be restored until new state is written
|
|
14424
14411
|
* @example
|
|
14425
14412
|
* ```js
|
|
14426
14413
|
* const clearCacheOptions = {
|
|
14427
14414
|
* appcache: true,
|
|
14428
14415
|
* cache: true,
|
|
14429
14416
|
* cookies: true,
|
|
14430
|
-
* localStorage: true
|
|
14417
|
+
* localStorage: true,
|
|
14418
|
+
* windowState: true
|
|
14431
14419
|
* };
|
|
14432
14420
|
* fin.System.clearCache(clearCacheOptions).then(() => console.log('Cache cleared')).catch(err => console.log(err));
|
|
14433
14421
|
* ```
|
|
@@ -14452,12 +14440,16 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
14452
14440
|
*
|
|
14453
14441
|
* @param options - Optional configuration for what data to clear
|
|
14454
14442
|
*
|
|
14443
|
+
* @remarks Set `windowState: true` to also clear data written for windows using `saveWindowState`.
|
|
14444
|
+
* After this data is cleared, previously saved bounds and state will not be restored until new state is written again.
|
|
14445
|
+
*
|
|
14455
14446
|
* @example
|
|
14456
14447
|
* ```js
|
|
14457
14448
|
* // Clear only cookies and localStorage for a specific origin
|
|
14458
14449
|
* await fin.System.clearCacheData({
|
|
14459
14450
|
* dataTypes: ['cookies', 'localStorage'],
|
|
14460
|
-
* origins: ['http://localhost:8081']
|
|
14451
|
+
* origins: ['http://localhost:8081'],
|
|
14452
|
+
* windowState: true
|
|
14461
14453
|
* });
|
|
14462
14454
|
*
|
|
14463
14455
|
* // Clear everything except for a specific origin
|
|
@@ -15918,6 +15910,36 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
|
15918
15910
|
launchLogUploader(options: OpenFin_2.LogUploaderOptions): Promise<void>;
|
|
15919
15911
|
}
|
|
15920
15912
|
|
|
15913
|
+
/**
|
|
15914
|
+
* Chromium content tracing APIs exposed under `fin.System.ContentTracing`.
|
|
15915
|
+
*/
|
|
15916
|
+
declare class SystemContentTracing extends Base {
|
|
15917
|
+
/**
|
|
15918
|
+
* Gets the currently known tracing category groups.
|
|
15919
|
+
*/
|
|
15920
|
+
getCategories(): Promise<string[]>;
|
|
15921
|
+
/**
|
|
15922
|
+
* Starts content tracing across runtime processes.
|
|
15923
|
+
*
|
|
15924
|
+
* Only one content tracing session may be active across the runtime at a time.
|
|
15925
|
+
* This method rejects if another identity already owns the active session.
|
|
15926
|
+
*/
|
|
15927
|
+
startRecording(options: OpenFin_2.TraceConfig | OpenFin_2.TraceCategoriesAndOptions): Promise<void>;
|
|
15928
|
+
/**
|
|
15929
|
+
* Stops the active content tracing session and writes the trace to the runtime-managed cache folder.
|
|
15930
|
+
*
|
|
15931
|
+
* The calling identity must match the identity that started the active tracing session.
|
|
15932
|
+
* This method rejects if tracing is not active or is owned by another identity.
|
|
15933
|
+
*/
|
|
15934
|
+
stopRecording(): Promise<string>;
|
|
15935
|
+
/**
|
|
15936
|
+
* Returns the current maximum trace buffer usage across processes.
|
|
15937
|
+
*
|
|
15938
|
+
* This method is not supported on macOS and rejects on that platform.
|
|
15939
|
+
*/
|
|
15940
|
+
getTraceBufferUsage(): Promise<OpenFin_2.TraceBufferUsage>;
|
|
15941
|
+
}
|
|
15942
|
+
|
|
15921
15943
|
/**
|
|
15922
15944
|
* @deprecated Renamed to {@link Event}.
|
|
15923
15945
|
*/
|
|
@@ -16250,6 +16272,76 @@ declare type Time = {
|
|
|
16250
16272
|
|
|
16251
16273
|
declare type TimeZones = 'utc' | 'local';
|
|
16252
16274
|
|
|
16275
|
+
/**
|
|
16276
|
+
* @interface
|
|
16277
|
+
* Current maximum usage across trace buffers.
|
|
16278
|
+
*/
|
|
16279
|
+
declare type TraceBufferUsage = {
|
|
16280
|
+
value: number;
|
|
16281
|
+
percentage: number;
|
|
16282
|
+
};
|
|
16283
|
+
|
|
16284
|
+
/**
|
|
16285
|
+
* @interface
|
|
16286
|
+
* Shorthand tracing configuration based on Electron's contentTracing.startRecording() API.
|
|
16287
|
+
*/
|
|
16288
|
+
declare type TraceCategoriesAndOptions = {
|
|
16289
|
+
/**
|
|
16290
|
+
* Filter that controls which category groups should be traced.
|
|
16291
|
+
* 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.
|
|
16292
|
+
*/
|
|
16293
|
+
categoryFilter: string;
|
|
16294
|
+
/**
|
|
16295
|
+
* 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.
|
|
16296
|
+
*/
|
|
16297
|
+
traceOptions: string;
|
|
16298
|
+
};
|
|
16299
|
+
|
|
16300
|
+
/**
|
|
16301
|
+
* @interface
|
|
16302
|
+
* Structured tracing configuration based on Electron's contentTracing.startRecording() API.
|
|
16303
|
+
*/
|
|
16304
|
+
declare type TraceConfig = {
|
|
16305
|
+
/**
|
|
16306
|
+
* Can be `record-until-full`, `record-continuously`, `record-as-much-as-possible` or `trace-to-console`.
|
|
16307
|
+
* Defaults to `record-until-full`, which will record until the trace buffer is full and then stop recording.
|
|
16308
|
+
*/
|
|
16309
|
+
recording_mode?: 'record-until-full' | 'record-continuously' | 'record-as-much-as-possible' | 'trace-to-console';
|
|
16310
|
+
/**
|
|
16311
|
+
* Maximum size of the trace recording buffer in kilobytes.
|
|
16312
|
+
*/
|
|
16313
|
+
trace_buffer_size_in_kb?: number;
|
|
16314
|
+
/**
|
|
16315
|
+
* Maximum size of the trace recording buffer in events.
|
|
16316
|
+
* Defaults to 100MB
|
|
16317
|
+
*/
|
|
16318
|
+
trace_buffer_size_in_events?: number;
|
|
16319
|
+
/**
|
|
16320
|
+
* Filters event data according to Chromium's vetted allowlist.
|
|
16321
|
+
*/
|
|
16322
|
+
enable_argument_filter?: boolean;
|
|
16323
|
+
/**
|
|
16324
|
+
* A list of tracing categories to include.
|
|
16325
|
+
*/
|
|
16326
|
+
included_categories?: string[];
|
|
16327
|
+
/**
|
|
16328
|
+
* A list of tracing categories to exclude.
|
|
16329
|
+
*/
|
|
16330
|
+
excluded_categories?: string[];
|
|
16331
|
+
/**
|
|
16332
|
+
* A list of process IDs to include in the trace.
|
|
16333
|
+
*/
|
|
16334
|
+
included_process_ids?: number[];
|
|
16335
|
+
/**
|
|
16336
|
+
* A list of histogram names to report with the trace.
|
|
16337
|
+
*/
|
|
16338
|
+
histogram_names?: string[];
|
|
16339
|
+
/**
|
|
16340
|
+
* Additional configuration for memory tracing when memory-infra tracing is enabled.
|
|
16341
|
+
*/
|
|
16342
|
+
memory_dump_config?: Record<string, any>;
|
|
16343
|
+
};
|
|
16344
|
+
|
|
16253
16345
|
/**
|
|
16254
16346
|
* @interface
|
|
16255
16347
|
*/
|
|
@@ -16318,9 +16410,12 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
|
|
|
16318
16410
|
sendRaw: Wire['send'];
|
|
16319
16411
|
eventAggregator: EventAggregator;
|
|
16320
16412
|
protected messageHandlers: MessageHandler[];
|
|
16321
|
-
constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity
|
|
16413
|
+
constructor(factory: WireFactory, environment: Environment, config: OpenFin_2.Identity & {
|
|
16414
|
+
apiDiagnostics?: boolean;
|
|
16415
|
+
});
|
|
16322
16416
|
getFin(): OpenFin_2.Fin<MeType>;
|
|
16323
16417
|
registerFin(_fin: OpenFin_2.Fin<MeType>): void;
|
|
16418
|
+
recordAnalytic(action: string): void;
|
|
16324
16419
|
connectSync: () => void;
|
|
16325
16420
|
getPort: () => string;
|
|
16326
16421
|
shutdown(): Promise<void>;
|