@openfin/fdc3-api 45.100.78 → 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.
@@ -4157,6 +4157,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4157
4157
  */
4158
4158
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4159
4159
 
4160
+ /**
4161
+ * Normalized disposition of a content creation request.
4162
+ * - `default` - The default browser behavior (replace/reuse current tab).
4163
+ * - `foreground-tab` - Loaded in a new foreground tab.
4164
+ * - `background-tab` - Loaded in a new background tab.
4165
+ * - `new-window` - Loaded in a new browser window.
4166
+ * - `popup` - Loaded in a popup window.
4167
+ * - `other` - Any other or unrecognized disposition.
4168
+ */
4169
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4170
+
4160
4171
  /**
4161
4172
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4162
4173
  *
@@ -4219,7 +4230,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4219
4230
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4220
4231
  * - `other` - The content is loaded in some other way.
4221
4232
  */
4222
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4233
+ disposition: OpenFin.ContentCreationDisposition;
4223
4234
  };
4224
4235
 
4225
4236
  /**
@@ -5618,13 +5629,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5618
5629
  type: 'extension-tab-created';
5619
5630
  /** Identity of the auto-created view backing the new tab. */
5620
5631
  viewIdentity: OpenFin.Identity;
5632
+ /**
5633
+ * Identity of the view that was active when the extension triggered tab creation.
5634
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5635
+ */
5636
+ activeTabIdentity?: OpenFin.Identity;
5621
5637
  /** Initial URL the extension requested. */
5622
5638
  url: string;
5623
5639
  /**
5624
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5625
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5640
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5641
+ * - `foreground-tab` new tab opened in the foreground
5642
+ * - `background-tab` — new tab opened in the background
5643
+ * - `popup` — new popup window
5644
+ * - `new-window` — new browser window
5645
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5646
+ * - `other` — any other or unrecognized Chromium disposition
5626
5647
  */
5627
- disposition: string;
5648
+ disposition: OpenFin.ContentCreationDisposition;
5628
5649
  };
5629
5650
 
5630
5651
  /**
@@ -9695,6 +9716,9 @@ declare type Manifest = {
9695
9716
  progressBarFillColor?: number;
9696
9717
  textColor?: number;
9697
9718
  };
9719
+ experimentalExtensionPolicyBlockedHosts?: {
9720
+ hosts: string[];
9721
+ };
9698
9722
  licenseKey: string;
9699
9723
  offlineAccess?: boolean;
9700
9724
  platform?: PlatformOptions;
@@ -10988,6 +11012,7 @@ declare namespace OpenFin {
10988
11012
  IntentMetadata,
10989
11013
  IntentHandler,
10990
11014
  ContentCreationBehavior,
11015
+ ContentCreationDisposition,
10991
11016
  ContentCreationBehaviorNames,
10992
11017
  MatchPattern,
10993
11018
  BaseContentCreationRule,
@@ -4157,6 +4157,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4157
4157
  */
4158
4158
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4159
4159
 
4160
+ /**
4161
+ * Normalized disposition of a content creation request.
4162
+ * - `default` - The default browser behavior (replace/reuse current tab).
4163
+ * - `foreground-tab` - Loaded in a new foreground tab.
4164
+ * - `background-tab` - Loaded in a new background tab.
4165
+ * - `new-window` - Loaded in a new browser window.
4166
+ * - `popup` - Loaded in a popup window.
4167
+ * - `other` - Any other or unrecognized disposition.
4168
+ */
4169
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4170
+
4160
4171
  /**
4161
4172
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4162
4173
  *
@@ -4219,7 +4230,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4219
4230
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4220
4231
  * - `other` - The content is loaded in some other way.
4221
4232
  */
4222
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4233
+ disposition: OpenFin.ContentCreationDisposition;
4223
4234
  };
4224
4235
 
4225
4236
  /**
@@ -5618,13 +5629,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5618
5629
  type: 'extension-tab-created';
5619
5630
  /** Identity of the auto-created view backing the new tab. */
5620
5631
  viewIdentity: OpenFin.Identity;
5632
+ /**
5633
+ * Identity of the view that was active when the extension triggered tab creation.
5634
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5635
+ */
5636
+ activeTabIdentity?: OpenFin.Identity;
5621
5637
  /** Initial URL the extension requested. */
5622
5638
  url: string;
5623
5639
  /**
5624
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5625
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5640
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5641
+ * - `foreground-tab` new tab opened in the foreground
5642
+ * - `background-tab` — new tab opened in the background
5643
+ * - `popup` — new popup window
5644
+ * - `new-window` — new browser window
5645
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5646
+ * - `other` — any other or unrecognized Chromium disposition
5626
5647
  */
5627
- disposition: string;
5648
+ disposition: OpenFin.ContentCreationDisposition;
5628
5649
  };
5629
5650
 
5630
5651
  /**
@@ -9695,6 +9716,9 @@ declare type Manifest = {
9695
9716
  progressBarFillColor?: number;
9696
9717
  textColor?: number;
9697
9718
  };
9719
+ experimentalExtensionPolicyBlockedHosts?: {
9720
+ hosts: string[];
9721
+ };
9698
9722
  licenseKey: string;
9699
9723
  offlineAccess?: boolean;
9700
9724
  platform?: PlatformOptions;
@@ -10988,6 +11012,7 @@ declare namespace OpenFin {
10988
11012
  IntentMetadata,
10989
11013
  IntentHandler,
10990
11014
  ContentCreationBehavior,
11015
+ ContentCreationDisposition,
10991
11016
  ContentCreationBehaviorNames,
10992
11017
  MatchPattern,
10993
11018
  BaseContentCreationRule,
@@ -4157,6 +4157,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4157
4157
  */
4158
4158
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4159
4159
 
4160
+ /**
4161
+ * Normalized disposition of a content creation request.
4162
+ * - `default` - The default browser behavior (replace/reuse current tab).
4163
+ * - `foreground-tab` - Loaded in a new foreground tab.
4164
+ * - `background-tab` - Loaded in a new background tab.
4165
+ * - `new-window` - Loaded in a new browser window.
4166
+ * - `popup` - Loaded in a popup window.
4167
+ * - `other` - Any other or unrecognized disposition.
4168
+ */
4169
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4170
+
4160
4171
  /**
4161
4172
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4162
4173
  *
@@ -4219,7 +4230,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4219
4230
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4220
4231
  * - `other` - The content is loaded in some other way.
4221
4232
  */
4222
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4233
+ disposition: OpenFin.ContentCreationDisposition;
4223
4234
  };
4224
4235
 
4225
4236
  /**
@@ -5618,13 +5629,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5618
5629
  type: 'extension-tab-created';
5619
5630
  /** Identity of the auto-created view backing the new tab. */
5620
5631
  viewIdentity: OpenFin.Identity;
5632
+ /**
5633
+ * Identity of the view that was active when the extension triggered tab creation.
5634
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5635
+ */
5636
+ activeTabIdentity?: OpenFin.Identity;
5621
5637
  /** Initial URL the extension requested. */
5622
5638
  url: string;
5623
5639
  /**
5624
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5625
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5640
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5641
+ * - `foreground-tab` new tab opened in the foreground
5642
+ * - `background-tab` — new tab opened in the background
5643
+ * - `popup` — new popup window
5644
+ * - `new-window` — new browser window
5645
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5646
+ * - `other` — any other or unrecognized Chromium disposition
5626
5647
  */
5627
- disposition: string;
5648
+ disposition: OpenFin.ContentCreationDisposition;
5628
5649
  };
5629
5650
 
5630
5651
  /**
@@ -9695,6 +9716,9 @@ declare type Manifest = {
9695
9716
  progressBarFillColor?: number;
9696
9717
  textColor?: number;
9697
9718
  };
9719
+ experimentalExtensionPolicyBlockedHosts?: {
9720
+ hosts: string[];
9721
+ };
9698
9722
  licenseKey: string;
9699
9723
  offlineAccess?: boolean;
9700
9724
  platform?: PlatformOptions;
@@ -10988,6 +11012,7 @@ declare namespace OpenFin {
10988
11012
  IntentMetadata,
10989
11013
  IntentHandler,
10990
11014
  ContentCreationBehavior,
11015
+ ContentCreationDisposition,
10991
11016
  ContentCreationBehaviorNames,
10992
11017
  MatchPattern,
10993
11018
  BaseContentCreationRule,
package/out/fdc3-api.d.ts CHANGED
@@ -4216,6 +4216,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4216
4216
  */
4217
4217
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4218
4218
 
4219
+ /**
4220
+ * Normalized disposition of a content creation request.
4221
+ * - `default` - The default browser behavior (replace/reuse current tab).
4222
+ * - `foreground-tab` - Loaded in a new foreground tab.
4223
+ * - `background-tab` - Loaded in a new background tab.
4224
+ * - `new-window` - Loaded in a new browser window.
4225
+ * - `popup` - Loaded in a popup window.
4226
+ * - `other` - Any other or unrecognized disposition.
4227
+ */
4228
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4229
+
4219
4230
  /**
4220
4231
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4221
4232
  *
@@ -4278,7 +4289,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4278
4289
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4279
4290
  * - `other` - The content is loaded in some other way.
4280
4291
  */
4281
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4292
+ disposition: OpenFin.ContentCreationDisposition;
4282
4293
  };
4283
4294
 
4284
4295
  /**
@@ -5700,13 +5711,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5700
5711
  type: 'extension-tab-created';
5701
5712
  /** Identity of the auto-created view backing the new tab. */
5702
5713
  viewIdentity: OpenFin.Identity;
5714
+ /**
5715
+ * Identity of the view that was active when the extension triggered tab creation.
5716
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5717
+ */
5718
+ activeTabIdentity?: OpenFin.Identity;
5703
5719
  /** Initial URL the extension requested. */
5704
5720
  url: string;
5705
5721
  /**
5706
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5707
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5722
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5723
+ * - `foreground-tab` new tab opened in the foreground
5724
+ * - `background-tab` — new tab opened in the background
5725
+ * - `popup` — new popup window
5726
+ * - `new-window` — new browser window
5727
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5728
+ * - `other` — any other or unrecognized Chromium disposition
5708
5729
  */
5709
- disposition: string;
5730
+ disposition: OpenFin.ContentCreationDisposition;
5710
5731
  };
5711
5732
 
5712
5733
  /**
@@ -10004,6 +10025,9 @@ declare type Manifest = {
10004
10025
  progressBarFillColor?: number;
10005
10026
  textColor?: number;
10006
10027
  };
10028
+ experimentalExtensionPolicyBlockedHosts?: {
10029
+ hosts: string[];
10030
+ };
10007
10031
  licenseKey: string;
10008
10032
  offlineAccess?: boolean;
10009
10033
  platform?: PlatformOptions;
@@ -11322,6 +11346,7 @@ declare namespace OpenFin {
11322
11346
  IntentMetadata,
11323
11347
  IntentHandler,
11324
11348
  ContentCreationBehavior,
11349
+ ContentCreationDisposition,
11325
11350
  ContentCreationBehaviorNames,
11326
11351
  MatchPattern,
11327
11352
  BaseContentCreationRule,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "45.100.78",
3
+ "version": "45.100.81",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,