@openfin/core 45.100.79 → 45.100.81

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.
@@ -4160,6 +4160,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4160
4160
  */
4161
4161
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4162
4162
 
4163
+ /**
4164
+ * Normalized disposition of a content creation request.
4165
+ * - `default` - The default browser behavior (replace/reuse current tab).
4166
+ * - `foreground-tab` - Loaded in a new foreground tab.
4167
+ * - `background-tab` - Loaded in a new background tab.
4168
+ * - `new-window` - Loaded in a new browser window.
4169
+ * - `popup` - Loaded in a popup window.
4170
+ * - `other` - Any other or unrecognized disposition.
4171
+ */
4172
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4173
+
4163
4174
  /**
4164
4175
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4165
4176
  *
@@ -4222,7 +4233,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4222
4233
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4223
4234
  * - `other` - The content is loaded in some other way.
4224
4235
  */
4225
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4236
+ disposition: OpenFin_2.ContentCreationDisposition;
4226
4237
  };
4227
4238
 
4228
4239
  /**
@@ -5621,13 +5632,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5621
5632
  type: 'extension-tab-created';
5622
5633
  /** Identity of the auto-created view backing the new tab. */
5623
5634
  viewIdentity: OpenFin_2.Identity;
5635
+ /**
5636
+ * Identity of the view that was active when the extension triggered tab creation.
5637
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5638
+ */
5639
+ activeTabIdentity?: OpenFin_2.Identity;
5624
5640
  /** Initial URL the extension requested. */
5625
5641
  url: string;
5626
5642
  /**
5627
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5628
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5643
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5644
+ * - `foreground-tab` new tab opened in the foreground
5645
+ * - `background-tab` — new tab opened in the background
5646
+ * - `popup` — new popup window
5647
+ * - `new-window` — new browser window
5648
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5649
+ * - `other` — any other or unrecognized Chromium disposition
5629
5650
  */
5630
- disposition: string;
5651
+ disposition: OpenFin_2.ContentCreationDisposition;
5631
5652
  };
5632
5653
 
5633
5654
  /**
@@ -9353,6 +9374,9 @@ declare type Manifest = {
9353
9374
  progressBarFillColor?: number;
9354
9375
  textColor?: number;
9355
9376
  };
9377
+ experimentalExtensionPolicyBlockedHosts?: {
9378
+ hosts: string[];
9379
+ };
9356
9380
  licenseKey: string;
9357
9381
  offlineAccess?: boolean;
9358
9382
  platform?: PlatformOptions;
@@ -10646,6 +10670,7 @@ declare namespace OpenFin_2 {
10646
10670
  IntentMetadata,
10647
10671
  IntentHandler,
10648
10672
  ContentCreationBehavior,
10673
+ ContentCreationDisposition,
10649
10674
  ContentCreationBehaviorNames,
10650
10675
  MatchPattern,
10651
10676
  BaseContentCreationRule,
@@ -4160,6 +4160,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4160
4160
  */
4161
4161
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4162
4162
 
4163
+ /**
4164
+ * Normalized disposition of a content creation request.
4165
+ * - `default` - The default browser behavior (replace/reuse current tab).
4166
+ * - `foreground-tab` - Loaded in a new foreground tab.
4167
+ * - `background-tab` - Loaded in a new background tab.
4168
+ * - `new-window` - Loaded in a new browser window.
4169
+ * - `popup` - Loaded in a popup window.
4170
+ * - `other` - Any other or unrecognized disposition.
4171
+ */
4172
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4173
+
4163
4174
  /**
4164
4175
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4165
4176
  *
@@ -4222,7 +4233,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4222
4233
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4223
4234
  * - `other` - The content is loaded in some other way.
4224
4235
  */
4225
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4236
+ disposition: OpenFin_2.ContentCreationDisposition;
4226
4237
  };
4227
4238
 
4228
4239
  /**
@@ -5621,13 +5632,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5621
5632
  type: 'extension-tab-created';
5622
5633
  /** Identity of the auto-created view backing the new tab. */
5623
5634
  viewIdentity: OpenFin_2.Identity;
5635
+ /**
5636
+ * Identity of the view that was active when the extension triggered tab creation.
5637
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5638
+ */
5639
+ activeTabIdentity?: OpenFin_2.Identity;
5624
5640
  /** Initial URL the extension requested. */
5625
5641
  url: string;
5626
5642
  /**
5627
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5628
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5643
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5644
+ * - `foreground-tab` new tab opened in the foreground
5645
+ * - `background-tab` — new tab opened in the background
5646
+ * - `popup` — new popup window
5647
+ * - `new-window` — new browser window
5648
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5649
+ * - `other` — any other or unrecognized Chromium disposition
5629
5650
  */
5630
- disposition: string;
5651
+ disposition: OpenFin_2.ContentCreationDisposition;
5631
5652
  };
5632
5653
 
5633
5654
  /**
@@ -9353,6 +9374,9 @@ declare type Manifest = {
9353
9374
  progressBarFillColor?: number;
9354
9375
  textColor?: number;
9355
9376
  };
9377
+ experimentalExtensionPolicyBlockedHosts?: {
9378
+ hosts: string[];
9379
+ };
9356
9380
  licenseKey: string;
9357
9381
  offlineAccess?: boolean;
9358
9382
  platform?: PlatformOptions;
@@ -10646,6 +10670,7 @@ declare namespace OpenFin_2 {
10646
10670
  IntentMetadata,
10647
10671
  IntentHandler,
10648
10672
  ContentCreationBehavior,
10673
+ ContentCreationDisposition,
10649
10674
  ContentCreationBehaviorNames,
10650
10675
  MatchPattern,
10651
10676
  BaseContentCreationRule,
@@ -4160,6 +4160,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4160
4160
  */
4161
4161
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4162
4162
 
4163
+ /**
4164
+ * Normalized disposition of a content creation request.
4165
+ * - `default` - The default browser behavior (replace/reuse current tab).
4166
+ * - `foreground-tab` - Loaded in a new foreground tab.
4167
+ * - `background-tab` - Loaded in a new background tab.
4168
+ * - `new-window` - Loaded in a new browser window.
4169
+ * - `popup` - Loaded in a popup window.
4170
+ * - `other` - Any other or unrecognized disposition.
4171
+ */
4172
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4173
+
4163
4174
  /**
4164
4175
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4165
4176
  *
@@ -4222,7 +4233,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4222
4233
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4223
4234
  * - `other` - The content is loaded in some other way.
4224
4235
  */
4225
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4236
+ disposition: OpenFin_2.ContentCreationDisposition;
4226
4237
  };
4227
4238
 
4228
4239
  /**
@@ -5621,13 +5632,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5621
5632
  type: 'extension-tab-created';
5622
5633
  /** Identity of the auto-created view backing the new tab. */
5623
5634
  viewIdentity: OpenFin_2.Identity;
5635
+ /**
5636
+ * Identity of the view that was active when the extension triggered tab creation.
5637
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5638
+ */
5639
+ activeTabIdentity?: OpenFin_2.Identity;
5624
5640
  /** Initial URL the extension requested. */
5625
5641
  url: string;
5626
5642
  /**
5627
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5628
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5643
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5644
+ * - `foreground-tab` new tab opened in the foreground
5645
+ * - `background-tab` — new tab opened in the background
5646
+ * - `popup` — new popup window
5647
+ * - `new-window` — new browser window
5648
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5649
+ * - `other` — any other or unrecognized Chromium disposition
5629
5650
  */
5630
- disposition: string;
5651
+ disposition: OpenFin_2.ContentCreationDisposition;
5631
5652
  };
5632
5653
 
5633
5654
  /**
@@ -9353,6 +9374,9 @@ declare type Manifest = {
9353
9374
  progressBarFillColor?: number;
9354
9375
  textColor?: number;
9355
9376
  };
9377
+ experimentalExtensionPolicyBlockedHosts?: {
9378
+ hosts: string[];
9379
+ };
9356
9380
  licenseKey: string;
9357
9381
  offlineAccess?: boolean;
9358
9382
  platform?: PlatformOptions;
@@ -10646,6 +10670,7 @@ declare namespace OpenFin_2 {
10646
10670
  IntentMetadata,
10647
10671
  IntentHandler,
10648
10672
  ContentCreationBehavior,
10673
+ ContentCreationDisposition,
10649
10674
  ContentCreationBehaviorNames,
10650
10675
  MatchPattern,
10651
10676
  BaseContentCreationRule,
package/out/stub.d.ts CHANGED
@@ -4219,6 +4219,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4219
4219
  */
4220
4220
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4221
4221
 
4222
+ /**
4223
+ * Normalized disposition of a content creation request.
4224
+ * - `default` - The default browser behavior (replace/reuse current tab).
4225
+ * - `foreground-tab` - Loaded in a new foreground tab.
4226
+ * - `background-tab` - Loaded in a new background tab.
4227
+ * - `new-window` - Loaded in a new browser window.
4228
+ * - `popup` - Loaded in a popup window.
4229
+ * - `other` - Any other or unrecognized disposition.
4230
+ */
4231
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4232
+
4222
4233
  /**
4223
4234
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4224
4235
  *
@@ -4281,7 +4292,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4281
4292
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4282
4293
  * - `other` - The content is loaded in some other way.
4283
4294
  */
4284
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4295
+ disposition: OpenFin_2.ContentCreationDisposition;
4285
4296
  };
4286
4297
 
4287
4298
  /**
@@ -5703,13 +5714,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5703
5714
  type: 'extension-tab-created';
5704
5715
  /** Identity of the auto-created view backing the new tab. */
5705
5716
  viewIdentity: OpenFin_2.Identity;
5717
+ /**
5718
+ * Identity of the view that was active when the extension triggered tab creation.
5719
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5720
+ */
5721
+ activeTabIdentity?: OpenFin_2.Identity;
5706
5722
  /** Initial URL the extension requested. */
5707
5723
  url: string;
5708
5724
  /**
5709
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5710
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5725
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5726
+ * - `foreground-tab` new tab opened in the foreground
5727
+ * - `background-tab` — new tab opened in the background
5728
+ * - `popup` — new popup window
5729
+ * - `new-window` — new browser window
5730
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5731
+ * - `other` — any other or unrecognized Chromium disposition
5711
5732
  */
5712
- disposition: string;
5733
+ disposition: OpenFin_2.ContentCreationDisposition;
5713
5734
  };
5714
5735
 
5715
5736
  /**
@@ -9662,6 +9683,9 @@ declare type Manifest = {
9662
9683
  progressBarFillColor?: number;
9663
9684
  textColor?: number;
9664
9685
  };
9686
+ experimentalExtensionPolicyBlockedHosts?: {
9687
+ hosts: string[];
9688
+ };
9665
9689
  licenseKey: string;
9666
9690
  offlineAccess?: boolean;
9667
9691
  platform?: PlatformOptions;
@@ -10980,6 +11004,7 @@ declare namespace OpenFin_2 {
10980
11004
  IntentMetadata,
10981
11005
  IntentHandler,
10982
11006
  ContentCreationBehavior,
11007
+ ContentCreationDisposition,
10983
11008
  ContentCreationBehaviorNames,
10984
11009
  MatchPattern,
10985
11010
  BaseContentCreationRule,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "45.100.79",
3
+ "version": "45.100.81",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",