@openfin/core 39.82.12 → 39.82.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -4357,6 +4357,10 @@ declare type DomainSettingsRule = {
4357
4357
  * Settings applied when a webcontents has been navigated to a matched domain.
4358
4358
  */
4359
4359
  options: PerDomainSettings;
4360
+ /**
4361
+ * Options to use when comparing URIs to the `match` patterns.
4362
+ */
4363
+ matchOptions?: RuleMatchOptions;
4360
4364
  };
4361
4365
 
4362
4366
  /**
@@ -8898,6 +8902,10 @@ declare type NavigationRules = {
8898
8902
  allowlist?: string[];
8899
8903
  /** Forbidden URLs for navigation. */
8900
8904
  denylist?: string[];
8905
+ /**
8906
+ * Options to use when comparing URIs to the `allowlist` and `denylist` patterns.
8907
+ */
8908
+ matchOptions?: RuleMatchOptions;
8901
8909
  };
8902
8910
 
8903
8911
  declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
@@ -9047,6 +9055,7 @@ declare namespace OpenFin_2 {
9047
9055
  Api,
9048
9056
  ApiSettings,
9049
9057
  InjectionType,
9058
+ RuleMatchOptions,
9050
9059
  NavigationRules,
9051
9060
  ContentNavigation,
9052
9061
  ContentRedirect,
@@ -11969,6 +11978,17 @@ declare interface RTCProtocolOffer extends ProtocolPacketBase {
11969
11978
  };
11970
11979
  }
11971
11980
 
11981
+ /**
11982
+ * Controls the behavior of the navigation URI pattern matching algorithm.
11983
+ */
11984
+ declare type RuleMatchOptions = {
11985
+ /**
11986
+ * Matches all schemes rather than just http and https when a wild card is specified. For example, `'*://*.site.com'` will
11987
+ * only match urls which begin with `'http:'` or `'https:'` unless this setting is `true`.
11988
+ */
11989
+ matchAllSchemes?: boolean;
11990
+ };
11991
+
11972
11992
  declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
11973
11993
 
11974
11994
  /**
@@ -4357,6 +4357,10 @@ declare type DomainSettingsRule = {
4357
4357
  * Settings applied when a webcontents has been navigated to a matched domain.
4358
4358
  */
4359
4359
  options: PerDomainSettings;
4360
+ /**
4361
+ * Options to use when comparing URIs to the `match` patterns.
4362
+ */
4363
+ matchOptions?: RuleMatchOptions;
4360
4364
  };
4361
4365
 
4362
4366
  /**
@@ -8898,6 +8902,10 @@ declare type NavigationRules = {
8898
8902
  allowlist?: string[];
8899
8903
  /** Forbidden URLs for navigation. */
8900
8904
  denylist?: string[];
8905
+ /**
8906
+ * Options to use when comparing URIs to the `allowlist` and `denylist` patterns.
8907
+ */
8908
+ matchOptions?: RuleMatchOptions;
8901
8909
  };
8902
8910
 
8903
8911
  declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
@@ -9047,6 +9055,7 @@ declare namespace OpenFin_2 {
9047
9055
  Api,
9048
9056
  ApiSettings,
9049
9057
  InjectionType,
9058
+ RuleMatchOptions,
9050
9059
  NavigationRules,
9051
9060
  ContentNavigation,
9052
9061
  ContentRedirect,
@@ -11969,6 +11978,17 @@ declare interface RTCProtocolOffer extends ProtocolPacketBase {
11969
11978
  };
11970
11979
  }
11971
11980
 
11981
+ /**
11982
+ * Controls the behavior of the navigation URI pattern matching algorithm.
11983
+ */
11984
+ declare type RuleMatchOptions = {
11985
+ /**
11986
+ * Matches all schemes rather than just http and https when a wild card is specified. For example, `'*://*.site.com'` will
11987
+ * only match urls which begin with `'http:'` or `'https:'` unless this setting is `true`.
11988
+ */
11989
+ matchAllSchemes?: boolean;
11990
+ };
11991
+
11972
11992
  declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
11973
11993
 
11974
11994
  /**
@@ -4357,6 +4357,10 @@ declare type DomainSettingsRule = {
4357
4357
  * Settings applied when a webcontents has been navigated to a matched domain.
4358
4358
  */
4359
4359
  options: PerDomainSettings;
4360
+ /**
4361
+ * Options to use when comparing URIs to the `match` patterns.
4362
+ */
4363
+ matchOptions?: RuleMatchOptions;
4360
4364
  };
4361
4365
 
4362
4366
  /**
@@ -8898,6 +8902,10 @@ declare type NavigationRules = {
8898
8902
  allowlist?: string[];
8899
8903
  /** Forbidden URLs for navigation. */
8900
8904
  denylist?: string[];
8905
+ /**
8906
+ * Options to use when comparing URIs to the `allowlist` and `denylist` patterns.
8907
+ */
8908
+ matchOptions?: RuleMatchOptions;
8901
8909
  };
8902
8910
 
8903
8911
  declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
@@ -9047,6 +9055,7 @@ declare namespace OpenFin_2 {
9047
9055
  Api,
9048
9056
  ApiSettings,
9049
9057
  InjectionType,
9058
+ RuleMatchOptions,
9050
9059
  NavigationRules,
9051
9060
  ContentNavigation,
9052
9061
  ContentRedirect,
@@ -11969,6 +11978,17 @@ declare interface RTCProtocolOffer extends ProtocolPacketBase {
11969
11978
  };
11970
11979
  }
11971
11980
 
11981
+ /**
11982
+ * Controls the behavior of the navigation URI pattern matching algorithm.
11983
+ */
11984
+ declare type RuleMatchOptions = {
11985
+ /**
11986
+ * Matches all schemes rather than just http and https when a wild card is specified. For example, `'*://*.site.com'` will
11987
+ * only match urls which begin with `'http:'` or `'https:'` unless this setting is `true`.
11988
+ */
11989
+ matchAllSchemes?: boolean;
11990
+ };
11991
+
11972
11992
  declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
11973
11993
 
11974
11994
  /**
package/out/mock.d.ts CHANGED
@@ -4416,6 +4416,10 @@ declare type DomainSettingsRule = {
4416
4416
  * Settings applied when a webcontents has been navigated to a matched domain.
4417
4417
  */
4418
4418
  options: PerDomainSettings;
4419
+ /**
4420
+ * Options to use when comparing URIs to the `match` patterns.
4421
+ */
4422
+ matchOptions?: RuleMatchOptions;
4419
4423
  };
4420
4424
 
4421
4425
  /**
@@ -9203,6 +9207,10 @@ declare type NavigationRules = {
9203
9207
  allowlist?: string[];
9204
9208
  /** Forbidden URLs for navigation. */
9205
9209
  denylist?: string[];
9210
+ /**
9211
+ * Options to use when comparing URIs to the `allowlist` and `denylist` patterns.
9212
+ */
9213
+ matchOptions?: RuleMatchOptions;
9206
9214
  };
9207
9215
 
9208
9216
  declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
@@ -9362,6 +9370,7 @@ declare namespace OpenFin_2 {
9362
9370
  Api,
9363
9371
  ApiSettings,
9364
9372
  InjectionType,
9373
+ RuleMatchOptions,
9365
9374
  NavigationRules,
9366
9375
  ContentNavigation,
9367
9376
  ContentRedirect,
@@ -12362,6 +12371,17 @@ declare interface RTCProtocolOffer extends ProtocolPacketBase {
12362
12371
  };
12363
12372
  }
12364
12373
 
12374
+ /**
12375
+ * Controls the behavior of the navigation URI pattern matching algorithm.
12376
+ */
12377
+ declare type RuleMatchOptions = {
12378
+ /**
12379
+ * Matches all schemes rather than just http and https when a wild card is specified. For example, `'*://*.site.com'` will
12380
+ * only match urls which begin with `'http:'` or `'https:'` unless this setting is `true`.
12381
+ */
12382
+ matchAllSchemes?: boolean;
12383
+ };
12384
+
12365
12385
  declare type RunRequestedEvent = OpenFin_2.ApplicationEvents.RunRequestedEvent;
12366
12386
 
12367
12387
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "39.82.12",
3
+ "version": "39.82.13",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",