@openfin/core 40.103.4 → 40.103.5
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock-alpha.d.ts +20 -2
- package/out/mock-beta.d.ts +20 -2
- package/out/mock-public.d.ts +20 -2
- package/out/stub.d.ts +20 -2
- package/out/stub.js +7 -1
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
@@ -4486,6 +4486,10 @@ declare type DomainSettings = {
|
|
4486
4486
|
* more information, see the documentation for the individual properties.
|
4487
4487
|
*/
|
4488
4488
|
default?: PerDomainSettings;
|
4489
|
+
/**
|
4490
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
4491
|
+
*/
|
4492
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
4489
4493
|
};
|
4490
4494
|
|
4491
4495
|
/**
|
@@ -4498,7 +4502,7 @@ declare type DomainSettingsRule = {
|
|
4498
4502
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
4499
4503
|
* the domain(s) for which the rule applies.
|
4500
4504
|
*/
|
4501
|
-
match
|
4505
|
+
match: string[];
|
4502
4506
|
/**
|
4503
4507
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
4504
4508
|
*/
|
@@ -8864,6 +8868,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
|
8864
8868
|
*/
|
8865
8869
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
8866
8870
|
|
8871
|
+
/**
|
8872
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
8873
|
+
*/
|
8874
|
+
declare type MultipleDomainMatchBehavior =
|
8875
|
+
/**
|
8876
|
+
* Apply only the first matching rule in the list.
|
8877
|
+
*/
|
8878
|
+
'pick-first'
|
8879
|
+
/**
|
8880
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
8881
|
+
*/
|
8882
|
+
| 'deep-merge';
|
8883
|
+
|
8867
8884
|
/**
|
8868
8885
|
* @interface
|
8869
8886
|
*/
|
@@ -9604,6 +9621,7 @@ declare namespace OpenFin_2 {
|
|
9604
9621
|
RuntimeInfo,
|
9605
9622
|
DefaultDomainSettings,
|
9606
9623
|
DefaultDomainSettingsRule,
|
9624
|
+
MultipleDomainMatchBehavior,
|
9607
9625
|
DomainSettings,
|
9608
9626
|
ApiInjection,
|
9609
9627
|
DomainApiSettings,
|
@@ -9969,7 +9987,7 @@ declare type PerDomainSettings = {
|
|
9969
9987
|
/**
|
9970
9988
|
* {@inheritdoc ScreenCaptureBehavior}
|
9971
9989
|
*/
|
9972
|
-
screenCapture
|
9990
|
+
screenCapture?: ScreenCaptureBehavior;
|
9973
9991
|
/**
|
9974
9992
|
* {@inheritdoc ClipboardPermissions}
|
9975
9993
|
*/
|
package/out/mock-beta.d.ts
CHANGED
@@ -4486,6 +4486,10 @@ declare type DomainSettings = {
|
|
4486
4486
|
* more information, see the documentation for the individual properties.
|
4487
4487
|
*/
|
4488
4488
|
default?: PerDomainSettings;
|
4489
|
+
/**
|
4490
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
4491
|
+
*/
|
4492
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
4489
4493
|
};
|
4490
4494
|
|
4491
4495
|
/**
|
@@ -4498,7 +4502,7 @@ declare type DomainSettingsRule = {
|
|
4498
4502
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
4499
4503
|
* the domain(s) for which the rule applies.
|
4500
4504
|
*/
|
4501
|
-
match
|
4505
|
+
match: string[];
|
4502
4506
|
/**
|
4503
4507
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
4504
4508
|
*/
|
@@ -8864,6 +8868,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
|
8864
8868
|
*/
|
8865
8869
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
8866
8870
|
|
8871
|
+
/**
|
8872
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
8873
|
+
*/
|
8874
|
+
declare type MultipleDomainMatchBehavior =
|
8875
|
+
/**
|
8876
|
+
* Apply only the first matching rule in the list.
|
8877
|
+
*/
|
8878
|
+
'pick-first'
|
8879
|
+
/**
|
8880
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
8881
|
+
*/
|
8882
|
+
| 'deep-merge';
|
8883
|
+
|
8867
8884
|
/**
|
8868
8885
|
* @interface
|
8869
8886
|
*/
|
@@ -9604,6 +9621,7 @@ declare namespace OpenFin_2 {
|
|
9604
9621
|
RuntimeInfo,
|
9605
9622
|
DefaultDomainSettings,
|
9606
9623
|
DefaultDomainSettingsRule,
|
9624
|
+
MultipleDomainMatchBehavior,
|
9607
9625
|
DomainSettings,
|
9608
9626
|
ApiInjection,
|
9609
9627
|
DomainApiSettings,
|
@@ -9969,7 +9987,7 @@ declare type PerDomainSettings = {
|
|
9969
9987
|
/**
|
9970
9988
|
* {@inheritdoc ScreenCaptureBehavior}
|
9971
9989
|
*/
|
9972
|
-
screenCapture
|
9990
|
+
screenCapture?: ScreenCaptureBehavior;
|
9973
9991
|
/**
|
9974
9992
|
* {@inheritdoc ClipboardPermissions}
|
9975
9993
|
*/
|
package/out/mock-public.d.ts
CHANGED
@@ -4486,6 +4486,10 @@ declare type DomainSettings = {
|
|
4486
4486
|
* more information, see the documentation for the individual properties.
|
4487
4487
|
*/
|
4488
4488
|
default?: PerDomainSettings;
|
4489
|
+
/**
|
4490
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
4491
|
+
*/
|
4492
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
4489
4493
|
};
|
4490
4494
|
|
4491
4495
|
/**
|
@@ -4498,7 +4502,7 @@ declare type DomainSettingsRule = {
|
|
4498
4502
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
4499
4503
|
* the domain(s) for which the rule applies.
|
4500
4504
|
*/
|
4501
|
-
match
|
4505
|
+
match: string[];
|
4502
4506
|
/**
|
4503
4507
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
4504
4508
|
*/
|
@@ -8864,6 +8868,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
|
8864
8868
|
*/
|
8865
8869
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
8866
8870
|
|
8871
|
+
/**
|
8872
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
8873
|
+
*/
|
8874
|
+
declare type MultipleDomainMatchBehavior =
|
8875
|
+
/**
|
8876
|
+
* Apply only the first matching rule in the list.
|
8877
|
+
*/
|
8878
|
+
'pick-first'
|
8879
|
+
/**
|
8880
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
8881
|
+
*/
|
8882
|
+
| 'deep-merge';
|
8883
|
+
|
8867
8884
|
/**
|
8868
8885
|
* @interface
|
8869
8886
|
*/
|
@@ -9604,6 +9621,7 @@ declare namespace OpenFin_2 {
|
|
9604
9621
|
RuntimeInfo,
|
9605
9622
|
DefaultDomainSettings,
|
9606
9623
|
DefaultDomainSettingsRule,
|
9624
|
+
MultipleDomainMatchBehavior,
|
9607
9625
|
DomainSettings,
|
9608
9626
|
ApiInjection,
|
9609
9627
|
DomainApiSettings,
|
@@ -9969,7 +9987,7 @@ declare type PerDomainSettings = {
|
|
9969
9987
|
/**
|
9970
9988
|
* {@inheritdoc ScreenCaptureBehavior}
|
9971
9989
|
*/
|
9972
|
-
screenCapture
|
9990
|
+
screenCapture?: ScreenCaptureBehavior;
|
9973
9991
|
/**
|
9974
9992
|
* {@inheritdoc ClipboardPermissions}
|
9975
9993
|
*/
|
package/out/stub.d.ts
CHANGED
@@ -4545,6 +4545,10 @@ declare type DomainSettings = {
|
|
4545
4545
|
* more information, see the documentation for the individual properties.
|
4546
4546
|
*/
|
4547
4547
|
default?: PerDomainSettings;
|
4548
|
+
/**
|
4549
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
4550
|
+
*/
|
4551
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
4548
4552
|
};
|
4549
4553
|
|
4550
4554
|
/**
|
@@ -4557,7 +4561,7 @@ declare type DomainSettingsRule = {
|
|
4557
4561
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
4558
4562
|
* the domain(s) for which the rule applies.
|
4559
4563
|
*/
|
4560
|
-
match
|
4564
|
+
match: string[];
|
4561
4565
|
/**
|
4562
4566
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
4563
4567
|
*/
|
@@ -9160,6 +9164,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
|
9160
9164
|
*/
|
9161
9165
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9162
9166
|
|
9167
|
+
/**
|
9168
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
9169
|
+
*/
|
9170
|
+
declare type MultipleDomainMatchBehavior =
|
9171
|
+
/**
|
9172
|
+
* Apply only the first matching rule in the list.
|
9173
|
+
*/
|
9174
|
+
'pick-first'
|
9175
|
+
/**
|
9176
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
9177
|
+
*/
|
9178
|
+
| 'deep-merge';
|
9179
|
+
|
9163
9180
|
/**
|
9164
9181
|
* @interface
|
9165
9182
|
*/
|
@@ -9922,6 +9939,7 @@ declare namespace OpenFin_2 {
|
|
9922
9939
|
RuntimeInfo,
|
9923
9940
|
DefaultDomainSettings,
|
9924
9941
|
DefaultDomainSettingsRule,
|
9942
|
+
MultipleDomainMatchBehavior,
|
9925
9943
|
DomainSettings,
|
9926
9944
|
ApiInjection,
|
9927
9945
|
DomainApiSettings,
|
@@ -10287,7 +10305,7 @@ declare type PerDomainSettings = {
|
|
10287
10305
|
/**
|
10288
10306
|
* {@inheritdoc ScreenCaptureBehavior}
|
10289
10307
|
*/
|
10290
|
-
screenCapture
|
10308
|
+
screenCapture?: ScreenCaptureBehavior;
|
10291
10309
|
/**
|
10292
10310
|
* {@inheritdoc ClipboardPermissions}
|
10293
10311
|
*/
|
package/out/stub.js
CHANGED
@@ -15333,7 +15333,13 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
15333
15333
|
const getResultPromise = new Promise((resolve, reject) => {
|
15334
15334
|
fin.InterApplicationBus.subscribe({ uuid: '*' }, guid, (intentResult) => {
|
15335
15335
|
resolve(intentResult);
|
15336
|
-
}).catch(() =>
|
15336
|
+
}).catch(() => {
|
15337
|
+
// not supported in web, suppress the error
|
15338
|
+
if (interopModule.wire.environment.type === 'other') {
|
15339
|
+
resolve(undefined);
|
15340
|
+
}
|
15341
|
+
reject(new Error('getResult is not supported in this environment'));
|
15342
|
+
});
|
15337
15343
|
});
|
15338
15344
|
// Adding the intentResolutionResultId to the intentObj. Because fireIntent only accepts a single arg, we have to slap it in here.
|
15339
15345
|
const metadata = app ? { target: app, intentResolutionResultId: guid } : { intentResolutionResultId: guid };
|