@openfin/fdc3-api 41.100.109 → 41.100.111
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/fdc3-api-alpha.d.ts +41 -9
- package/out/fdc3-api-beta.d.ts +41 -9
- package/out/fdc3-api-public.d.ts +41 -9
- package/out/fdc3-api.d.ts +41 -9
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -4499,6 +4499,13 @@ declare type DomainSettings = {
|
|
|
4499
4499
|
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
|
4500
4500
|
};
|
|
4501
4501
|
|
|
4502
|
+
/**
|
|
4503
|
+
* Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
|
|
4504
|
+
*/
|
|
4505
|
+
declare type DomainSettingsPreloadScripts = Record<string, {
|
|
4506
|
+
enabled: boolean;
|
|
4507
|
+
}>;
|
|
4508
|
+
|
|
4502
4509
|
/**
|
|
4503
4510
|
* Defines domain-conditional settings for an OpenFin application.
|
|
4504
4511
|
* @interface
|
|
@@ -6565,9 +6572,10 @@ declare type InitPlatformOptions = {
|
|
|
6565
6572
|
* Injection setting for the `fin` API.
|
|
6566
6573
|
*
|
|
6567
6574
|
* * 'none': The `fin` API will be not available.
|
|
6575
|
+
* * 'preloads': The `fin` API will be available in a synchronous context in the preload script only.
|
|
6568
6576
|
* * 'global': The entire `fin` API will be available.
|
|
6569
6577
|
*/
|
|
6570
|
-
declare type InjectionType = 'none' | 'global';
|
|
6578
|
+
declare type InjectionType = 'none' | 'preloads' | 'global';
|
|
6571
6579
|
|
|
6572
6580
|
/**
|
|
6573
6581
|
* Generated when the value of the element changes.
|
|
@@ -10019,6 +10027,7 @@ declare namespace OpenFin {
|
|
|
10019
10027
|
StructuredContentPermissions,
|
|
10020
10028
|
ContentPermission,
|
|
10021
10029
|
ScreenCaptureBehavior,
|
|
10030
|
+
DomainSettingsPreloadScripts,
|
|
10022
10031
|
PerDomainSettings,
|
|
10023
10032
|
CopyPermissions,
|
|
10024
10033
|
PastePermissions,
|
|
@@ -10135,6 +10144,7 @@ declare namespace OpenFin {
|
|
|
10135
10144
|
PathServeRequest,
|
|
10136
10145
|
ServeAssetOptions,
|
|
10137
10146
|
ServedAssetInfo,
|
|
10147
|
+
ResolvedDomainSettings,
|
|
10138
10148
|
ApplicationEvents,
|
|
10139
10149
|
BaseEvents,
|
|
10140
10150
|
ExternalApplicationEvents,
|
|
@@ -10368,6 +10378,10 @@ declare type PerDomainSettings = {
|
|
|
10368
10378
|
* {@inheritdoc ChromiumPolicies}
|
|
10369
10379
|
*/
|
|
10370
10380
|
chromiumPolicies?: ChromiumPolicies;
|
|
10381
|
+
/**
|
|
10382
|
+
* {@inheritdoc DomainSettingsPreloadScripts}
|
|
10383
|
+
*/
|
|
10384
|
+
preloadScripts?: DomainSettingsPreloadScripts;
|
|
10371
10385
|
contentProtection?: {
|
|
10372
10386
|
/**
|
|
10373
10387
|
* {@inheritdoc ScreenCaptureBehavior}
|
|
@@ -12877,13 +12891,19 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12877
12891
|
'system-update-process-logging-options': ApiCall<{
|
|
12878
12892
|
options: OpenFin.ProcessLoggingOptions;
|
|
12879
12893
|
}, void>;
|
|
12880
|
-
'get-domain-settings': ApiCall<
|
|
12894
|
+
'get-domain-settings': ApiCall<void, OpenFin.DomainSettings>;
|
|
12881
12895
|
'serve-asset': ApiCall<{
|
|
12882
12896
|
options: OpenFin.ServeAssetOptions;
|
|
12883
12897
|
}, OpenFin.ServedAssetInfo>;
|
|
12884
|
-
'set-domain-settings': ApiCall<
|
|
12885
|
-
domainSettings: OpenFin.
|
|
12898
|
+
'set-domain-settings': ApiCall<{
|
|
12899
|
+
domainSettings: OpenFin.DomainSettings;
|
|
12886
12900
|
}, void>;
|
|
12901
|
+
'get-current-domain-settings': ApiCall<{
|
|
12902
|
+
identity: OpenFin.Identity;
|
|
12903
|
+
}, OpenFin.ResolvedDomainSettings>;
|
|
12904
|
+
'resolve-domain-settings': ApiCall<{
|
|
12905
|
+
url: string;
|
|
12906
|
+
}, OpenFin.ResolvedDomainSettings>;
|
|
12887
12907
|
'system-register-shutdown-handler': VoidCall;
|
|
12888
12908
|
'get-permissions': GetterCall<any>;
|
|
12889
12909
|
'refresh-extensions': {
|
|
@@ -13366,6 +13386,14 @@ declare type ResizeRegion = {
|
|
|
13366
13386
|
};
|
|
13367
13387
|
};
|
|
13368
13388
|
|
|
13389
|
+
declare type ResolvedDomainSettings = {
|
|
13390
|
+
url: string;
|
|
13391
|
+
settings: PerDomainSettings;
|
|
13392
|
+
matches: DomainSettingsRule[];
|
|
13393
|
+
multipleDomainMatchBehavior: MultipleDomainMatchBehavior;
|
|
13394
|
+
default?: PerDomainSettings;
|
|
13395
|
+
};
|
|
13396
|
+
|
|
13369
13397
|
/**
|
|
13370
13398
|
* Generated when an HTTP load was cancelled or failed.
|
|
13371
13399
|
* @interface
|
|
@@ -15565,7 +15593,9 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15565
15593
|
* // }
|
|
15566
15594
|
* ```
|
|
15567
15595
|
*/
|
|
15568
|
-
setDomainSettings(domainSettings: OpenFin.
|
|
15596
|
+
setDomainSettings(domainSettings: OpenFin.DomainSettings): Promise<void>;
|
|
15597
|
+
getCurrentDomainSettings(identity: OpenFin.Identity): Promise<OpenFin.ResolvedDomainSettings>;
|
|
15598
|
+
resolveDomainSettings(url: string): Promise<OpenFin.ResolvedDomainSettings>;
|
|
15569
15599
|
/**
|
|
15570
15600
|
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
|
15571
15601
|
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
|
@@ -15639,6 +15669,10 @@ declare type SystemEventType = EventType_8;
|
|
|
15639
15669
|
declare type SystemPermissions = {
|
|
15640
15670
|
getOSInfo: boolean;
|
|
15641
15671
|
getAllExternalWindows: boolean;
|
|
15672
|
+
setDomainSettings: boolean;
|
|
15673
|
+
getDomainSettings: boolean;
|
|
15674
|
+
getCurrentDomainSettings: boolean;
|
|
15675
|
+
resolveDomainSettings: boolean;
|
|
15642
15676
|
launchExternalProcess: boolean | {
|
|
15643
15677
|
enabled: boolean;
|
|
15644
15678
|
assets?: {
|
|
@@ -15975,7 +16009,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
|
|
|
15975
16009
|
sendRaw: Wire['send'];
|
|
15976
16010
|
eventAggregator: EventAggregator;
|
|
15977
16011
|
protected messageHandlers: MessageHandler[];
|
|
15978
|
-
constructor(
|
|
16012
|
+
constructor(factory: WireFactory, environment: Environment, config: OpenFin.Identity);
|
|
15979
16013
|
getFin(): OpenFin.Fin<MeType>;
|
|
15980
16014
|
registerFin(_fin: OpenFin.Fin<MeType>): void;
|
|
15981
16015
|
connectSync: () => void;
|
|
@@ -19570,9 +19604,7 @@ declare type Wire = EventEmitter & {
|
|
|
19570
19604
|
getPort(): string;
|
|
19571
19605
|
};
|
|
19572
19606
|
|
|
19573
|
-
declare type
|
|
19574
|
-
new (onmessage: (data: any) => void): Wire;
|
|
19575
|
-
};
|
|
19607
|
+
declare type WireFactory = (onmessage: (data: any) => void) => Wire;
|
|
19576
19608
|
|
|
19577
19609
|
/* Excluded from this release type: WithId */
|
|
19578
19610
|
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -4499,6 +4499,13 @@ declare type DomainSettings = {
|
|
|
4499
4499
|
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
|
4500
4500
|
};
|
|
4501
4501
|
|
|
4502
|
+
/**
|
|
4503
|
+
* Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
|
|
4504
|
+
*/
|
|
4505
|
+
declare type DomainSettingsPreloadScripts = Record<string, {
|
|
4506
|
+
enabled: boolean;
|
|
4507
|
+
}>;
|
|
4508
|
+
|
|
4502
4509
|
/**
|
|
4503
4510
|
* Defines domain-conditional settings for an OpenFin application.
|
|
4504
4511
|
* @interface
|
|
@@ -6565,9 +6572,10 @@ declare type InitPlatformOptions = {
|
|
|
6565
6572
|
* Injection setting for the `fin` API.
|
|
6566
6573
|
*
|
|
6567
6574
|
* * 'none': The `fin` API will be not available.
|
|
6575
|
+
* * 'preloads': The `fin` API will be available in a synchronous context in the preload script only.
|
|
6568
6576
|
* * 'global': The entire `fin` API will be available.
|
|
6569
6577
|
*/
|
|
6570
|
-
declare type InjectionType = 'none' | 'global';
|
|
6578
|
+
declare type InjectionType = 'none' | 'preloads' | 'global';
|
|
6571
6579
|
|
|
6572
6580
|
/**
|
|
6573
6581
|
* Generated when the value of the element changes.
|
|
@@ -10019,6 +10027,7 @@ declare namespace OpenFin {
|
|
|
10019
10027
|
StructuredContentPermissions,
|
|
10020
10028
|
ContentPermission,
|
|
10021
10029
|
ScreenCaptureBehavior,
|
|
10030
|
+
DomainSettingsPreloadScripts,
|
|
10022
10031
|
PerDomainSettings,
|
|
10023
10032
|
CopyPermissions,
|
|
10024
10033
|
PastePermissions,
|
|
@@ -10135,6 +10144,7 @@ declare namespace OpenFin {
|
|
|
10135
10144
|
PathServeRequest,
|
|
10136
10145
|
ServeAssetOptions,
|
|
10137
10146
|
ServedAssetInfo,
|
|
10147
|
+
ResolvedDomainSettings,
|
|
10138
10148
|
ApplicationEvents,
|
|
10139
10149
|
BaseEvents,
|
|
10140
10150
|
ExternalApplicationEvents,
|
|
@@ -10368,6 +10378,10 @@ declare type PerDomainSettings = {
|
|
|
10368
10378
|
* {@inheritdoc ChromiumPolicies}
|
|
10369
10379
|
*/
|
|
10370
10380
|
chromiumPolicies?: ChromiumPolicies;
|
|
10381
|
+
/**
|
|
10382
|
+
* {@inheritdoc DomainSettingsPreloadScripts}
|
|
10383
|
+
*/
|
|
10384
|
+
preloadScripts?: DomainSettingsPreloadScripts;
|
|
10371
10385
|
contentProtection?: {
|
|
10372
10386
|
/**
|
|
10373
10387
|
* {@inheritdoc ScreenCaptureBehavior}
|
|
@@ -12877,13 +12891,19 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12877
12891
|
'system-update-process-logging-options': ApiCall<{
|
|
12878
12892
|
options: OpenFin.ProcessLoggingOptions;
|
|
12879
12893
|
}, void>;
|
|
12880
|
-
'get-domain-settings': ApiCall<
|
|
12894
|
+
'get-domain-settings': ApiCall<void, OpenFin.DomainSettings>;
|
|
12881
12895
|
'serve-asset': ApiCall<{
|
|
12882
12896
|
options: OpenFin.ServeAssetOptions;
|
|
12883
12897
|
}, OpenFin.ServedAssetInfo>;
|
|
12884
|
-
'set-domain-settings': ApiCall<
|
|
12885
|
-
domainSettings: OpenFin.
|
|
12898
|
+
'set-domain-settings': ApiCall<{
|
|
12899
|
+
domainSettings: OpenFin.DomainSettings;
|
|
12886
12900
|
}, void>;
|
|
12901
|
+
'get-current-domain-settings': ApiCall<{
|
|
12902
|
+
identity: OpenFin.Identity;
|
|
12903
|
+
}, OpenFin.ResolvedDomainSettings>;
|
|
12904
|
+
'resolve-domain-settings': ApiCall<{
|
|
12905
|
+
url: string;
|
|
12906
|
+
}, OpenFin.ResolvedDomainSettings>;
|
|
12887
12907
|
'system-register-shutdown-handler': VoidCall;
|
|
12888
12908
|
'get-permissions': GetterCall<any>;
|
|
12889
12909
|
'refresh-extensions': {
|
|
@@ -13366,6 +13386,14 @@ declare type ResizeRegion = {
|
|
|
13366
13386
|
};
|
|
13367
13387
|
};
|
|
13368
13388
|
|
|
13389
|
+
declare type ResolvedDomainSettings = {
|
|
13390
|
+
url: string;
|
|
13391
|
+
settings: PerDomainSettings;
|
|
13392
|
+
matches: DomainSettingsRule[];
|
|
13393
|
+
multipleDomainMatchBehavior: MultipleDomainMatchBehavior;
|
|
13394
|
+
default?: PerDomainSettings;
|
|
13395
|
+
};
|
|
13396
|
+
|
|
13369
13397
|
/**
|
|
13370
13398
|
* Generated when an HTTP load was cancelled or failed.
|
|
13371
13399
|
* @interface
|
|
@@ -15565,7 +15593,9 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15565
15593
|
* // }
|
|
15566
15594
|
* ```
|
|
15567
15595
|
*/
|
|
15568
|
-
setDomainSettings(domainSettings: OpenFin.
|
|
15596
|
+
setDomainSettings(domainSettings: OpenFin.DomainSettings): Promise<void>;
|
|
15597
|
+
getCurrentDomainSettings(identity: OpenFin.Identity): Promise<OpenFin.ResolvedDomainSettings>;
|
|
15598
|
+
resolveDomainSettings(url: string): Promise<OpenFin.ResolvedDomainSettings>;
|
|
15569
15599
|
/**
|
|
15570
15600
|
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
|
15571
15601
|
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
|
@@ -15639,6 +15669,10 @@ declare type SystemEventType = EventType_8;
|
|
|
15639
15669
|
declare type SystemPermissions = {
|
|
15640
15670
|
getOSInfo: boolean;
|
|
15641
15671
|
getAllExternalWindows: boolean;
|
|
15672
|
+
setDomainSettings: boolean;
|
|
15673
|
+
getDomainSettings: boolean;
|
|
15674
|
+
getCurrentDomainSettings: boolean;
|
|
15675
|
+
resolveDomainSettings: boolean;
|
|
15642
15676
|
launchExternalProcess: boolean | {
|
|
15643
15677
|
enabled: boolean;
|
|
15644
15678
|
assets?: {
|
|
@@ -15975,7 +16009,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
|
|
|
15975
16009
|
sendRaw: Wire['send'];
|
|
15976
16010
|
eventAggregator: EventAggregator;
|
|
15977
16011
|
protected messageHandlers: MessageHandler[];
|
|
15978
|
-
constructor(
|
|
16012
|
+
constructor(factory: WireFactory, environment: Environment, config: OpenFin.Identity);
|
|
15979
16013
|
getFin(): OpenFin.Fin<MeType>;
|
|
15980
16014
|
registerFin(_fin: OpenFin.Fin<MeType>): void;
|
|
15981
16015
|
connectSync: () => void;
|
|
@@ -19570,9 +19604,7 @@ declare type Wire = EventEmitter & {
|
|
|
19570
19604
|
getPort(): string;
|
|
19571
19605
|
};
|
|
19572
19606
|
|
|
19573
|
-
declare type
|
|
19574
|
-
new (onmessage: (data: any) => void): Wire;
|
|
19575
|
-
};
|
|
19607
|
+
declare type WireFactory = (onmessage: (data: any) => void) => Wire;
|
|
19576
19608
|
|
|
19577
19609
|
/* Excluded from this release type: WithId */
|
|
19578
19610
|
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -4499,6 +4499,13 @@ declare type DomainSettings = {
|
|
|
4499
4499
|
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
|
4500
4500
|
};
|
|
4501
4501
|
|
|
4502
|
+
/**
|
|
4503
|
+
* Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
|
|
4504
|
+
*/
|
|
4505
|
+
declare type DomainSettingsPreloadScripts = Record<string, {
|
|
4506
|
+
enabled: boolean;
|
|
4507
|
+
}>;
|
|
4508
|
+
|
|
4502
4509
|
/**
|
|
4503
4510
|
* Defines domain-conditional settings for an OpenFin application.
|
|
4504
4511
|
* @interface
|
|
@@ -6565,9 +6572,10 @@ declare type InitPlatformOptions = {
|
|
|
6565
6572
|
* Injection setting for the `fin` API.
|
|
6566
6573
|
*
|
|
6567
6574
|
* * 'none': The `fin` API will be not available.
|
|
6575
|
+
* * 'preloads': The `fin` API will be available in a synchronous context in the preload script only.
|
|
6568
6576
|
* * 'global': The entire `fin` API will be available.
|
|
6569
6577
|
*/
|
|
6570
|
-
declare type InjectionType = 'none' | 'global';
|
|
6578
|
+
declare type InjectionType = 'none' | 'preloads' | 'global';
|
|
6571
6579
|
|
|
6572
6580
|
/**
|
|
6573
6581
|
* Generated when the value of the element changes.
|
|
@@ -10019,6 +10027,7 @@ declare namespace OpenFin {
|
|
|
10019
10027
|
StructuredContentPermissions,
|
|
10020
10028
|
ContentPermission,
|
|
10021
10029
|
ScreenCaptureBehavior,
|
|
10030
|
+
DomainSettingsPreloadScripts,
|
|
10022
10031
|
PerDomainSettings,
|
|
10023
10032
|
CopyPermissions,
|
|
10024
10033
|
PastePermissions,
|
|
@@ -10135,6 +10144,7 @@ declare namespace OpenFin {
|
|
|
10135
10144
|
PathServeRequest,
|
|
10136
10145
|
ServeAssetOptions,
|
|
10137
10146
|
ServedAssetInfo,
|
|
10147
|
+
ResolvedDomainSettings,
|
|
10138
10148
|
ApplicationEvents,
|
|
10139
10149
|
BaseEvents,
|
|
10140
10150
|
ExternalApplicationEvents,
|
|
@@ -10368,6 +10378,10 @@ declare type PerDomainSettings = {
|
|
|
10368
10378
|
* {@inheritdoc ChromiumPolicies}
|
|
10369
10379
|
*/
|
|
10370
10380
|
chromiumPolicies?: ChromiumPolicies;
|
|
10381
|
+
/**
|
|
10382
|
+
* {@inheritdoc DomainSettingsPreloadScripts}
|
|
10383
|
+
*/
|
|
10384
|
+
preloadScripts?: DomainSettingsPreloadScripts;
|
|
10371
10385
|
contentProtection?: {
|
|
10372
10386
|
/**
|
|
10373
10387
|
* {@inheritdoc ScreenCaptureBehavior}
|
|
@@ -12877,13 +12891,19 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12877
12891
|
'system-update-process-logging-options': ApiCall<{
|
|
12878
12892
|
options: OpenFin.ProcessLoggingOptions;
|
|
12879
12893
|
}, void>;
|
|
12880
|
-
'get-domain-settings': ApiCall<
|
|
12894
|
+
'get-domain-settings': ApiCall<void, OpenFin.DomainSettings>;
|
|
12881
12895
|
'serve-asset': ApiCall<{
|
|
12882
12896
|
options: OpenFin.ServeAssetOptions;
|
|
12883
12897
|
}, OpenFin.ServedAssetInfo>;
|
|
12884
|
-
'set-domain-settings': ApiCall<
|
|
12885
|
-
domainSettings: OpenFin.
|
|
12898
|
+
'set-domain-settings': ApiCall<{
|
|
12899
|
+
domainSettings: OpenFin.DomainSettings;
|
|
12886
12900
|
}, void>;
|
|
12901
|
+
'get-current-domain-settings': ApiCall<{
|
|
12902
|
+
identity: OpenFin.Identity;
|
|
12903
|
+
}, OpenFin.ResolvedDomainSettings>;
|
|
12904
|
+
'resolve-domain-settings': ApiCall<{
|
|
12905
|
+
url: string;
|
|
12906
|
+
}, OpenFin.ResolvedDomainSettings>;
|
|
12887
12907
|
'system-register-shutdown-handler': VoidCall;
|
|
12888
12908
|
'get-permissions': GetterCall<any>;
|
|
12889
12909
|
'refresh-extensions': {
|
|
@@ -13366,6 +13386,14 @@ declare type ResizeRegion = {
|
|
|
13366
13386
|
};
|
|
13367
13387
|
};
|
|
13368
13388
|
|
|
13389
|
+
declare type ResolvedDomainSettings = {
|
|
13390
|
+
url: string;
|
|
13391
|
+
settings: PerDomainSettings;
|
|
13392
|
+
matches: DomainSettingsRule[];
|
|
13393
|
+
multipleDomainMatchBehavior: MultipleDomainMatchBehavior;
|
|
13394
|
+
default?: PerDomainSettings;
|
|
13395
|
+
};
|
|
13396
|
+
|
|
13369
13397
|
/**
|
|
13370
13398
|
* Generated when an HTTP load was cancelled or failed.
|
|
13371
13399
|
* @interface
|
|
@@ -15565,7 +15593,9 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15565
15593
|
* // }
|
|
15566
15594
|
* ```
|
|
15567
15595
|
*/
|
|
15568
|
-
setDomainSettings(domainSettings: OpenFin.
|
|
15596
|
+
setDomainSettings(domainSettings: OpenFin.DomainSettings): Promise<void>;
|
|
15597
|
+
getCurrentDomainSettings(identity: OpenFin.Identity): Promise<OpenFin.ResolvedDomainSettings>;
|
|
15598
|
+
resolveDomainSettings(url: string): Promise<OpenFin.ResolvedDomainSettings>;
|
|
15569
15599
|
/**
|
|
15570
15600
|
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
|
15571
15601
|
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
|
@@ -15639,6 +15669,10 @@ declare type SystemEventType = EventType_8;
|
|
|
15639
15669
|
declare type SystemPermissions = {
|
|
15640
15670
|
getOSInfo: boolean;
|
|
15641
15671
|
getAllExternalWindows: boolean;
|
|
15672
|
+
setDomainSettings: boolean;
|
|
15673
|
+
getDomainSettings: boolean;
|
|
15674
|
+
getCurrentDomainSettings: boolean;
|
|
15675
|
+
resolveDomainSettings: boolean;
|
|
15642
15676
|
launchExternalProcess: boolean | {
|
|
15643
15677
|
enabled: boolean;
|
|
15644
15678
|
assets?: {
|
|
@@ -15975,7 +16009,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
|
|
|
15975
16009
|
sendRaw: Wire['send'];
|
|
15976
16010
|
eventAggregator: EventAggregator;
|
|
15977
16011
|
protected messageHandlers: MessageHandler[];
|
|
15978
|
-
constructor(
|
|
16012
|
+
constructor(factory: WireFactory, environment: Environment, config: OpenFin.Identity);
|
|
15979
16013
|
getFin(): OpenFin.Fin<MeType>;
|
|
15980
16014
|
registerFin(_fin: OpenFin.Fin<MeType>): void;
|
|
15981
16015
|
connectSync: () => void;
|
|
@@ -19570,9 +19604,7 @@ declare type Wire = EventEmitter & {
|
|
|
19570
19604
|
getPort(): string;
|
|
19571
19605
|
};
|
|
19572
19606
|
|
|
19573
|
-
declare type
|
|
19574
|
-
new (onmessage: (data: any) => void): Wire;
|
|
19575
|
-
};
|
|
19607
|
+
declare type WireFactory = (onmessage: (data: any) => void) => Wire;
|
|
19576
19608
|
|
|
19577
19609
|
/* Excluded from this release type: WithId */
|
|
19578
19610
|
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -4558,6 +4558,13 @@ declare type DomainSettings = {
|
|
|
4558
4558
|
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
|
4559
4559
|
};
|
|
4560
4560
|
|
|
4561
|
+
/**
|
|
4562
|
+
* Map of preload scripts that can enable new scripts or disable options defined preloadScripts.
|
|
4563
|
+
*/
|
|
4564
|
+
declare type DomainSettingsPreloadScripts = Record<string, {
|
|
4565
|
+
enabled: boolean;
|
|
4566
|
+
}>;
|
|
4567
|
+
|
|
4561
4568
|
/**
|
|
4562
4569
|
* Defines domain-conditional settings for an OpenFin application.
|
|
4563
4570
|
* @interface
|
|
@@ -6659,9 +6666,10 @@ declare type InitPlatformOptions = {
|
|
|
6659
6666
|
* Injection setting for the `fin` API.
|
|
6660
6667
|
*
|
|
6661
6668
|
* * 'none': The `fin` API will be not available.
|
|
6669
|
+
* * 'preloads': The `fin` API will be available in a synchronous context in the preload script only.
|
|
6662
6670
|
* * 'global': The entire `fin` API will be available.
|
|
6663
6671
|
*/
|
|
6664
|
-
declare type InjectionType = 'none' | 'global';
|
|
6672
|
+
declare type InjectionType = 'none' | 'preloads' | 'global';
|
|
6665
6673
|
|
|
6666
6674
|
/**
|
|
6667
6675
|
* Generated when the value of the element changes.
|
|
@@ -10337,6 +10345,7 @@ declare namespace OpenFin {
|
|
|
10337
10345
|
StructuredContentPermissions,
|
|
10338
10346
|
ContentPermission,
|
|
10339
10347
|
ScreenCaptureBehavior,
|
|
10348
|
+
DomainSettingsPreloadScripts,
|
|
10340
10349
|
PerDomainSettings,
|
|
10341
10350
|
CopyPermissions,
|
|
10342
10351
|
PastePermissions,
|
|
@@ -10453,6 +10462,7 @@ declare namespace OpenFin {
|
|
|
10453
10462
|
PathServeRequest,
|
|
10454
10463
|
ServeAssetOptions,
|
|
10455
10464
|
ServedAssetInfo,
|
|
10465
|
+
ResolvedDomainSettings,
|
|
10456
10466
|
ApplicationEvents,
|
|
10457
10467
|
BaseEvents,
|
|
10458
10468
|
ExternalApplicationEvents,
|
|
@@ -10686,6 +10696,10 @@ declare type PerDomainSettings = {
|
|
|
10686
10696
|
* {@inheritdoc ChromiumPolicies}
|
|
10687
10697
|
*/
|
|
10688
10698
|
chromiumPolicies?: ChromiumPolicies;
|
|
10699
|
+
/**
|
|
10700
|
+
* {@inheritdoc DomainSettingsPreloadScripts}
|
|
10701
|
+
*/
|
|
10702
|
+
preloadScripts?: DomainSettingsPreloadScripts;
|
|
10689
10703
|
contentProtection?: {
|
|
10690
10704
|
/**
|
|
10691
10705
|
* {@inheritdoc ScreenCaptureBehavior}
|
|
@@ -13278,13 +13292,19 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
13278
13292
|
'system-update-process-logging-options': ApiCall<{
|
|
13279
13293
|
options: OpenFin.ProcessLoggingOptions;
|
|
13280
13294
|
}, void>;
|
|
13281
|
-
'get-domain-settings': ApiCall<
|
|
13295
|
+
'get-domain-settings': ApiCall<void, OpenFin.DomainSettings>;
|
|
13282
13296
|
'serve-asset': ApiCall<{
|
|
13283
13297
|
options: OpenFin.ServeAssetOptions;
|
|
13284
13298
|
}, OpenFin.ServedAssetInfo>;
|
|
13285
|
-
'set-domain-settings': ApiCall<
|
|
13286
|
-
domainSettings: OpenFin.
|
|
13299
|
+
'set-domain-settings': ApiCall<{
|
|
13300
|
+
domainSettings: OpenFin.DomainSettings;
|
|
13287
13301
|
}, void>;
|
|
13302
|
+
'get-current-domain-settings': ApiCall<{
|
|
13303
|
+
identity: OpenFin.Identity;
|
|
13304
|
+
}, OpenFin.ResolvedDomainSettings>;
|
|
13305
|
+
'resolve-domain-settings': ApiCall<{
|
|
13306
|
+
url: string;
|
|
13307
|
+
}, OpenFin.ResolvedDomainSettings>;
|
|
13288
13308
|
'system-register-shutdown-handler': VoidCall;
|
|
13289
13309
|
'get-permissions': GetterCall<any>;
|
|
13290
13310
|
'refresh-extensions': {
|
|
@@ -13767,6 +13787,14 @@ declare type ResizeRegion = {
|
|
|
13767
13787
|
};
|
|
13768
13788
|
};
|
|
13769
13789
|
|
|
13790
|
+
declare type ResolvedDomainSettings = {
|
|
13791
|
+
url: string;
|
|
13792
|
+
settings: PerDomainSettings;
|
|
13793
|
+
matches: DomainSettingsRule[];
|
|
13794
|
+
multipleDomainMatchBehavior: MultipleDomainMatchBehavior;
|
|
13795
|
+
default?: PerDomainSettings;
|
|
13796
|
+
};
|
|
13797
|
+
|
|
13770
13798
|
/**
|
|
13771
13799
|
* Generated when an HTTP load was cancelled or failed.
|
|
13772
13800
|
* @interface
|
|
@@ -15972,7 +16000,9 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15972
16000
|
* // }
|
|
15973
16001
|
* ```
|
|
15974
16002
|
*/
|
|
15975
|
-
setDomainSettings(domainSettings: OpenFin.
|
|
16003
|
+
setDomainSettings(domainSettings: OpenFin.DomainSettings): Promise<void>;
|
|
16004
|
+
getCurrentDomainSettings(identity: OpenFin.Identity): Promise<OpenFin.ResolvedDomainSettings>;
|
|
16005
|
+
resolveDomainSettings(url: string): Promise<OpenFin.ResolvedDomainSettings>;
|
|
15976
16006
|
/**
|
|
15977
16007
|
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
|
15978
16008
|
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
|
@@ -16046,6 +16076,10 @@ declare type SystemEventType = EventType_8;
|
|
|
16046
16076
|
declare type SystemPermissions = {
|
|
16047
16077
|
getOSInfo: boolean;
|
|
16048
16078
|
getAllExternalWindows: boolean;
|
|
16079
|
+
setDomainSettings: boolean;
|
|
16080
|
+
getDomainSettings: boolean;
|
|
16081
|
+
getCurrentDomainSettings: boolean;
|
|
16082
|
+
resolveDomainSettings: boolean;
|
|
16049
16083
|
launchExternalProcess: boolean | {
|
|
16050
16084
|
enabled: boolean;
|
|
16051
16085
|
assets?: {
|
|
@@ -16389,7 +16423,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
|
|
|
16389
16423
|
sendRaw: Wire['send'];
|
|
16390
16424
|
eventAggregator: EventAggregator;
|
|
16391
16425
|
protected messageHandlers: MessageHandler[];
|
|
16392
|
-
constructor(
|
|
16426
|
+
constructor(factory: WireFactory, environment: Environment, config: OpenFin.Identity);
|
|
16393
16427
|
getFin(): OpenFin.Fin<MeType>;
|
|
16394
16428
|
registerFin(_fin: OpenFin.Fin<MeType>): void;
|
|
16395
16429
|
connectSync: () => void;
|
|
@@ -20024,9 +20058,7 @@ declare type Wire = EventEmitter & {
|
|
|
20024
20058
|
getPort(): string;
|
|
20025
20059
|
};
|
|
20026
20060
|
|
|
20027
|
-
declare type
|
|
20028
|
-
new (onmessage: (data: any) => void): Wire;
|
|
20029
|
-
};
|
|
20061
|
+
declare type WireFactory = (onmessage: (data: any) => void) => Wire;
|
|
20030
20062
|
|
|
20031
20063
|
/**
|
|
20032
20064
|
* @internal
|