@openfin/fdc3-api 45.100.79 → 45.100.83

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.
@@ -2882,7 +2882,7 @@ declare class ChannelProvider extends ChannelBase {
2882
2882
  * a read-only array containing all the identities of connecting clients.
2883
2883
  */
2884
2884
  get connections(): OpenFin.ClientConnectionPayload[];
2885
- static handleClientDisconnection(channel: ChannelProvider, payload: any): void;
2885
+ static handleClientDisconnection(channel: ChannelProvider, payload: ClientDisconnectionPayload): void;
2886
2886
  static setProviderRemoval(provider: ChannelProvider, remove: Function): void;
2887
2887
  /* Excluded from this release type: __constructor */
2888
2888
  /**
@@ -3278,6 +3278,10 @@ declare type ClientChangedContextGroup = InteropClientEvent<'client-changed-cont
3278
3278
  */
3279
3279
  declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3280
3280
 
3281
+ declare type ClientDisconnectionPayload = OpenFin.Identity & {
3282
+ endpointId?: string;
3283
+ };
3284
+
3281
3285
  /**
3282
3286
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3283
3287
  * @interface
@@ -4157,6 +4161,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4157
4161
  */
4158
4162
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4159
4163
 
4164
+ /**
4165
+ * Normalized disposition of a content creation request.
4166
+ * - `default` - The default browser behavior (replace/reuse current tab).
4167
+ * - `foreground-tab` - Loaded in a new foreground tab.
4168
+ * - `background-tab` - Loaded in a new background tab.
4169
+ * - `new-window` - Loaded in a new browser window.
4170
+ * - `popup` - Loaded in a popup window.
4171
+ * - `other` - Any other or unrecognized disposition.
4172
+ */
4173
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4174
+
4160
4175
  /**
4161
4176
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4162
4177
  *
@@ -4219,7 +4234,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4219
4234
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4220
4235
  * - `other` - The content is loaded in some other way.
4221
4236
  */
4222
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4237
+ disposition: OpenFin.ContentCreationDisposition;
4223
4238
  };
4224
4239
 
4225
4240
  /**
@@ -5618,13 +5633,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5618
5633
  type: 'extension-tab-created';
5619
5634
  /** Identity of the auto-created view backing the new tab. */
5620
5635
  viewIdentity: OpenFin.Identity;
5636
+ /**
5637
+ * Identity of the view that was active when the extension triggered tab creation.
5638
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5639
+ */
5640
+ activeTabIdentity?: OpenFin.Identity;
5621
5641
  /** Initial URL the extension requested. */
5622
5642
  url: string;
5623
5643
  /**
5624
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5625
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5644
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5645
+ * - `foreground-tab` new tab opened in the foreground
5646
+ * - `background-tab` — new tab opened in the background
5647
+ * - `popup` — new popup window
5648
+ * - `new-window` — new browser window
5649
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5650
+ * - `other` — any other or unrecognized Chromium disposition
5626
5651
  */
5627
- disposition: string;
5652
+ disposition: OpenFin.ContentCreationDisposition;
5628
5653
  };
5629
5654
 
5630
5655
  /**
@@ -9695,6 +9720,9 @@ declare type Manifest = {
9695
9720
  progressBarFillColor?: number;
9696
9721
  textColor?: number;
9697
9722
  };
9723
+ experimentalExtensionPolicyBlockedHosts?: {
9724
+ hosts: string[];
9725
+ };
9698
9726
  licenseKey: string;
9699
9727
  offlineAccess?: boolean;
9700
9728
  platform?: PlatformOptions;
@@ -10988,6 +11016,7 @@ declare namespace OpenFin {
10988
11016
  IntentMetadata,
10989
11017
  IntentHandler,
10990
11018
  ContentCreationBehavior,
11019
+ ContentCreationDisposition,
10991
11020
  ContentCreationBehaviorNames,
10992
11021
  MatchPattern,
10993
11022
  BaseContentCreationRule,
@@ -2882,7 +2882,7 @@ declare class ChannelProvider extends ChannelBase {
2882
2882
  * a read-only array containing all the identities of connecting clients.
2883
2883
  */
2884
2884
  get connections(): OpenFin.ClientConnectionPayload[];
2885
- static handleClientDisconnection(channel: ChannelProvider, payload: any): void;
2885
+ static handleClientDisconnection(channel: ChannelProvider, payload: ClientDisconnectionPayload): void;
2886
2886
  static setProviderRemoval(provider: ChannelProvider, remove: Function): void;
2887
2887
  /* Excluded from this release type: __constructor */
2888
2888
  /**
@@ -3278,6 +3278,10 @@ declare type ClientChangedContextGroup = InteropClientEvent<'client-changed-cont
3278
3278
  */
3279
3279
  declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3280
3280
 
3281
+ declare type ClientDisconnectionPayload = OpenFin.Identity & {
3282
+ endpointId?: string;
3283
+ };
3284
+
3281
3285
  /**
3282
3286
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3283
3287
  * @interface
@@ -4157,6 +4161,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4157
4161
  */
4158
4162
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4159
4163
 
4164
+ /**
4165
+ * Normalized disposition of a content creation request.
4166
+ * - `default` - The default browser behavior (replace/reuse current tab).
4167
+ * - `foreground-tab` - Loaded in a new foreground tab.
4168
+ * - `background-tab` - Loaded in a new background tab.
4169
+ * - `new-window` - Loaded in a new browser window.
4170
+ * - `popup` - Loaded in a popup window.
4171
+ * - `other` - Any other or unrecognized disposition.
4172
+ */
4173
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4174
+
4160
4175
  /**
4161
4176
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4162
4177
  *
@@ -4219,7 +4234,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4219
4234
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4220
4235
  * - `other` - The content is loaded in some other way.
4221
4236
  */
4222
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4237
+ disposition: OpenFin.ContentCreationDisposition;
4223
4238
  };
4224
4239
 
4225
4240
  /**
@@ -5618,13 +5633,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5618
5633
  type: 'extension-tab-created';
5619
5634
  /** Identity of the auto-created view backing the new tab. */
5620
5635
  viewIdentity: OpenFin.Identity;
5636
+ /**
5637
+ * Identity of the view that was active when the extension triggered tab creation.
5638
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5639
+ */
5640
+ activeTabIdentity?: OpenFin.Identity;
5621
5641
  /** Initial URL the extension requested. */
5622
5642
  url: string;
5623
5643
  /**
5624
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5625
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5644
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5645
+ * - `foreground-tab` new tab opened in the foreground
5646
+ * - `background-tab` — new tab opened in the background
5647
+ * - `popup` — new popup window
5648
+ * - `new-window` — new browser window
5649
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5650
+ * - `other` — any other or unrecognized Chromium disposition
5626
5651
  */
5627
- disposition: string;
5652
+ disposition: OpenFin.ContentCreationDisposition;
5628
5653
  };
5629
5654
 
5630
5655
  /**
@@ -9695,6 +9720,9 @@ declare type Manifest = {
9695
9720
  progressBarFillColor?: number;
9696
9721
  textColor?: number;
9697
9722
  };
9723
+ experimentalExtensionPolicyBlockedHosts?: {
9724
+ hosts: string[];
9725
+ };
9698
9726
  licenseKey: string;
9699
9727
  offlineAccess?: boolean;
9700
9728
  platform?: PlatformOptions;
@@ -10988,6 +11016,7 @@ declare namespace OpenFin {
10988
11016
  IntentMetadata,
10989
11017
  IntentHandler,
10990
11018
  ContentCreationBehavior,
11019
+ ContentCreationDisposition,
10991
11020
  ContentCreationBehaviorNames,
10992
11021
  MatchPattern,
10993
11022
  BaseContentCreationRule,
@@ -2882,7 +2882,7 @@ declare class ChannelProvider extends ChannelBase {
2882
2882
  * a read-only array containing all the identities of connecting clients.
2883
2883
  */
2884
2884
  get connections(): OpenFin.ClientConnectionPayload[];
2885
- static handleClientDisconnection(channel: ChannelProvider, payload: any): void;
2885
+ static handleClientDisconnection(channel: ChannelProvider, payload: ClientDisconnectionPayload): void;
2886
2886
  static setProviderRemoval(provider: ChannelProvider, remove: Function): void;
2887
2887
  /* Excluded from this release type: __constructor */
2888
2888
  /**
@@ -3278,6 +3278,10 @@ declare type ClientChangedContextGroup = InteropClientEvent<'client-changed-cont
3278
3278
  */
3279
3279
  declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3280
3280
 
3281
+ declare type ClientDisconnectionPayload = OpenFin.Identity & {
3282
+ endpointId?: string;
3283
+ };
3284
+
3281
3285
  /**
3282
3286
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3283
3287
  * @interface
@@ -4157,6 +4161,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4157
4161
  */
4158
4162
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4159
4163
 
4164
+ /**
4165
+ * Normalized disposition of a content creation request.
4166
+ * - `default` - The default browser behavior (replace/reuse current tab).
4167
+ * - `foreground-tab` - Loaded in a new foreground tab.
4168
+ * - `background-tab` - Loaded in a new background tab.
4169
+ * - `new-window` - Loaded in a new browser window.
4170
+ * - `popup` - Loaded in a popup window.
4171
+ * - `other` - Any other or unrecognized disposition.
4172
+ */
4173
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4174
+
4160
4175
  /**
4161
4176
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4162
4177
  *
@@ -4219,7 +4234,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4219
4234
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4220
4235
  * - `other` - The content is loaded in some other way.
4221
4236
  */
4222
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4237
+ disposition: OpenFin.ContentCreationDisposition;
4223
4238
  };
4224
4239
 
4225
4240
  /**
@@ -5618,13 +5633,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5618
5633
  type: 'extension-tab-created';
5619
5634
  /** Identity of the auto-created view backing the new tab. */
5620
5635
  viewIdentity: OpenFin.Identity;
5636
+ /**
5637
+ * Identity of the view that was active when the extension triggered tab creation.
5638
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5639
+ */
5640
+ activeTabIdentity?: OpenFin.Identity;
5621
5641
  /** Initial URL the extension requested. */
5622
5642
  url: string;
5623
5643
  /**
5624
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5625
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5644
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5645
+ * - `foreground-tab` new tab opened in the foreground
5646
+ * - `background-tab` — new tab opened in the background
5647
+ * - `popup` — new popup window
5648
+ * - `new-window` — new browser window
5649
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5650
+ * - `other` — any other or unrecognized Chromium disposition
5626
5651
  */
5627
- disposition: string;
5652
+ disposition: OpenFin.ContentCreationDisposition;
5628
5653
  };
5629
5654
 
5630
5655
  /**
@@ -9695,6 +9720,9 @@ declare type Manifest = {
9695
9720
  progressBarFillColor?: number;
9696
9721
  textColor?: number;
9697
9722
  };
9723
+ experimentalExtensionPolicyBlockedHosts?: {
9724
+ hosts: string[];
9725
+ };
9698
9726
  licenseKey: string;
9699
9727
  offlineAccess?: boolean;
9700
9728
  platform?: PlatformOptions;
@@ -10988,6 +11016,7 @@ declare namespace OpenFin {
10988
11016
  IntentMetadata,
10989
11017
  IntentHandler,
10990
11018
  ContentCreationBehavior,
11019
+ ContentCreationDisposition,
10991
11020
  ContentCreationBehaviorNames,
10992
11021
  MatchPattern,
10993
11022
  BaseContentCreationRule,
package/out/fdc3-api.d.ts CHANGED
@@ -2935,7 +2935,7 @@ declare class ChannelProvider extends ChannelBase {
2935
2935
  * a read-only array containing all the identities of connecting clients.
2936
2936
  */
2937
2937
  get connections(): OpenFin.ClientConnectionPayload[];
2938
- static handleClientDisconnection(channel: ChannelProvider, payload: any): void;
2938
+ static handleClientDisconnection(channel: ChannelProvider, payload: ClientDisconnectionPayload): void;
2939
2939
  static setProviderRemoval(provider: ChannelProvider, remove: Function): void;
2940
2940
  /**
2941
2941
  * @internal
@@ -3334,6 +3334,10 @@ declare type ClientChangedContextGroup = InteropClientEvent<'client-changed-cont
3334
3334
  */
3335
3335
  declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3336
3336
 
3337
+ declare type ClientDisconnectionPayload = OpenFin.Identity & {
3338
+ endpointId?: string;
3339
+ };
3340
+
3337
3341
  /**
3338
3342
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3339
3343
  * @interface
@@ -4216,6 +4220,17 @@ declare type ContentCreationBehavior = 'window' | 'view' | 'block' | 'browser';
4216
4220
  */
4217
4221
  declare type ContentCreationBehaviorNames = ContentCreationBehavior;
4218
4222
 
4223
+ /**
4224
+ * Normalized disposition of a content creation request.
4225
+ * - `default` - The default browser behavior (replace/reuse current tab).
4226
+ * - `foreground-tab` - Loaded in a new foreground tab.
4227
+ * - `background-tab` - Loaded in a new background tab.
4228
+ * - `new-window` - Loaded in a new browser window.
4229
+ * - `popup` - Loaded in a popup window.
4230
+ * - `other` - Any other or unrecognized disposition.
4231
+ */
4232
+ declare type ContentCreationDisposition = 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4233
+
4219
4234
  /**
4220
4235
  * Configures how new content (e,g, from `window.open` or a link) is opened.
4221
4236
  *
@@ -4278,7 +4293,7 @@ declare type ContentCreationRulesEvent = NamedEvent & {
4278
4293
  * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
4279
4294
  * - `other` - The content is loaded in some other way.
4280
4295
  */
4281
- disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
4296
+ disposition: OpenFin.ContentCreationDisposition;
4282
4297
  };
4283
4298
 
4284
4299
  /**
@@ -5700,13 +5715,23 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5700
5715
  type: 'extension-tab-created';
5701
5716
  /** Identity of the auto-created view backing the new tab. */
5702
5717
  viewIdentity: OpenFin.Identity;
5718
+ /**
5719
+ * Identity of the view that was active when the extension triggered tab creation.
5720
+ * Undefined if no tab was active (e.g. the first tab in a newly-opened window).
5721
+ */
5722
+ activeTabIdentity?: OpenFin.Identity;
5703
5723
  /** Initial URL the extension requested. */
5704
5724
  url: string;
5705
5725
  /**
5706
- * Raw Chromium disposition (`newForegroundTab`, `newBackgroundTab`,
5707
- * `newPopup`, `newWindow`, etc.). Informational in v1.
5726
+ * Normalized disposition of the tab creation request, aligned with `child-view-created`.
5727
+ * - `foreground-tab` new tab opened in the foreground
5728
+ * - `background-tab` — new tab opened in the background
5729
+ * - `popup` — new popup window
5730
+ * - `new-window` — new browser window
5731
+ * - `default` — replace/reuse current tab (`currentTab`, `singletonTab`)
5732
+ * - `other` — any other or unrecognized Chromium disposition
5708
5733
  */
5709
- disposition: string;
5734
+ disposition: OpenFin.ContentCreationDisposition;
5710
5735
  };
5711
5736
 
5712
5737
  /**
@@ -10004,6 +10029,9 @@ declare type Manifest = {
10004
10029
  progressBarFillColor?: number;
10005
10030
  textColor?: number;
10006
10031
  };
10032
+ experimentalExtensionPolicyBlockedHosts?: {
10033
+ hosts: string[];
10034
+ };
10007
10035
  licenseKey: string;
10008
10036
  offlineAccess?: boolean;
10009
10037
  platform?: PlatformOptions;
@@ -11322,6 +11350,7 @@ declare namespace OpenFin {
11322
11350
  IntentMetadata,
11323
11351
  IntentHandler,
11324
11352
  ContentCreationBehavior,
11353
+ ContentCreationDisposition,
11325
11354
  ContentCreationBehaviorNames,
11326
11355
  MatchPattern,
11327
11356
  BaseContentCreationRule,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "45.100.79",
3
+ "version": "45.100.83",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,