@openfin/fdc3-api 41.100.27 → 41.100.29

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.
@@ -5932,11 +5932,8 @@ declare type FrameEventType = EventType_5;
5932
5932
  /**
5933
5933
  * @interface
5934
5934
  */
5935
- declare type FrameInfo = {
5936
- name: string;
5937
- uuid: string;
5935
+ declare type FrameInfo = EntityInfo & {
5938
5936
  url: string;
5939
- entityType: EntityType_4;
5940
5937
  parent: Identity_4;
5941
5938
  };
5942
5939
 
@@ -9632,6 +9629,8 @@ declare namespace OpenFin {
9632
9629
  ClientConnectionPayload,
9633
9630
  EntityInfo,
9634
9631
  EntityType_4 as EntityType,
9632
+ ScreenCaptureState,
9633
+ ScreenCapturePermission,
9635
9634
  Bounds,
9636
9635
  WindowBounds,
9637
9636
  Rectangle,
@@ -9851,6 +9850,7 @@ declare namespace OpenFin {
9851
9850
  StructuredContentBehavior,
9852
9851
  StructuredContentPermissions,
9853
9852
  ContentPermission,
9853
+ ScreenCaptureBehavior,
9854
9854
  PerDomainSettings,
9855
9855
  DomainSettingsRule,
9856
9856
  FileDownloadBehavior,
@@ -10164,6 +10164,12 @@ declare type PerDomainSettings = {
10164
10164
  * {@inheritdoc ChromiumPolicies}
10165
10165
  */
10166
10166
  chromiumPolicies?: ChromiumPolicies;
10167
+ contentProtection?: {
10168
+ /**
10169
+ * {@inheritdoc ScreenCaptureBehavior}
10170
+ */
10171
+ screenCapture: ScreenCaptureBehavior;
10172
+ };
10167
10173
  };
10168
10174
 
10169
10175
  /**
@@ -12809,6 +12815,10 @@ declare interface ProtocolMap extends ProtocolMapBase {
12809
12815
  };
12810
12816
  response: OpenFin.PopupResult;
12811
12817
  };
12818
+ 'get-screen-capture-permissions': {
12819
+ request: OpenFin.Identity;
12820
+ response: OpenFin.ScreenCapturePermission;
12821
+ };
12812
12822
  'render-overlay': {
12813
12823
  request: {
12814
12824
  bounds: OpenFin.Bounds;
@@ -13338,6 +13348,31 @@ declare type RvmLaunchOptions = {
13338
13348
  subscribe?: (launch: LaunchEmitter) => void;
13339
13349
  };
13340
13350
 
13351
+ /**
13352
+ * @interface
13353
+ * Controls whether this content should be allowed or blocked when capturing the screen.
13354
+ */
13355
+ declare type ScreenCaptureBehavior = 'allow' | 'block';
13356
+
13357
+ /**
13358
+ * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
13359
+ * @interface
13360
+ */
13361
+ declare type ScreenCapturePermission = {
13362
+ permission: ScreenCaptureBehavior;
13363
+ permissions: ScreenCaptureState[];
13364
+ };
13365
+
13366
+ /**
13367
+ * screenCapture state for a given entity as defined in domain settings.
13368
+ * @interface
13369
+ */
13370
+ declare type ScreenCaptureState = {
13371
+ info: EntityInfo;
13372
+ behavior: ScreenCaptureBehavior;
13373
+ url: string;
13374
+ };
13375
+
13341
13376
  /**
13342
13377
  * @interface
13343
13378
  */
@@ -17673,6 +17708,19 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
17673
17708
  * {@link OpenFin.WebContentsEvents event namespace}.
17674
17709
  */
17675
17710
  showPopupWindow(options: OpenFin.PopupOptions): Promise<OpenFin.PopupResult>;
17711
+ /**
17712
+ *
17713
+ * Get the screen capture permission for this content.
17714
+ *
17715
+ * @example
17716
+ * ```js
17717
+ * const { permission } = await fin.me.getScreenCapturePermission();
17718
+ *
17719
+ * console.log(`This content is currently ${permission}ed in screen captures.`);
17720
+ *
17721
+ * ```
17722
+ */
17723
+ getScreenCapturePermission(): Promise<OpenFin.ScreenCapturePermission>;
17676
17724
  }
17677
17725
 
17678
17726
  /**
@@ -5932,11 +5932,8 @@ declare type FrameEventType = EventType_5;
5932
5932
  /**
5933
5933
  * @interface
5934
5934
  */
5935
- declare type FrameInfo = {
5936
- name: string;
5937
- uuid: string;
5935
+ declare type FrameInfo = EntityInfo & {
5938
5936
  url: string;
5939
- entityType: EntityType_4;
5940
5937
  parent: Identity_4;
5941
5938
  };
5942
5939
 
@@ -9632,6 +9629,8 @@ declare namespace OpenFin {
9632
9629
  ClientConnectionPayload,
9633
9630
  EntityInfo,
9634
9631
  EntityType_4 as EntityType,
9632
+ ScreenCaptureState,
9633
+ ScreenCapturePermission,
9635
9634
  Bounds,
9636
9635
  WindowBounds,
9637
9636
  Rectangle,
@@ -9851,6 +9850,7 @@ declare namespace OpenFin {
9851
9850
  StructuredContentBehavior,
9852
9851
  StructuredContentPermissions,
9853
9852
  ContentPermission,
9853
+ ScreenCaptureBehavior,
9854
9854
  PerDomainSettings,
9855
9855
  DomainSettingsRule,
9856
9856
  FileDownloadBehavior,
@@ -10164,6 +10164,12 @@ declare type PerDomainSettings = {
10164
10164
  * {@inheritdoc ChromiumPolicies}
10165
10165
  */
10166
10166
  chromiumPolicies?: ChromiumPolicies;
10167
+ contentProtection?: {
10168
+ /**
10169
+ * {@inheritdoc ScreenCaptureBehavior}
10170
+ */
10171
+ screenCapture: ScreenCaptureBehavior;
10172
+ };
10167
10173
  };
10168
10174
 
10169
10175
  /**
@@ -12809,6 +12815,10 @@ declare interface ProtocolMap extends ProtocolMapBase {
12809
12815
  };
12810
12816
  response: OpenFin.PopupResult;
12811
12817
  };
12818
+ 'get-screen-capture-permissions': {
12819
+ request: OpenFin.Identity;
12820
+ response: OpenFin.ScreenCapturePermission;
12821
+ };
12812
12822
  'render-overlay': {
12813
12823
  request: {
12814
12824
  bounds: OpenFin.Bounds;
@@ -13338,6 +13348,31 @@ declare type RvmLaunchOptions = {
13338
13348
  subscribe?: (launch: LaunchEmitter) => void;
13339
13349
  };
13340
13350
 
13351
+ /**
13352
+ * @interface
13353
+ * Controls whether this content should be allowed or blocked when capturing the screen.
13354
+ */
13355
+ declare type ScreenCaptureBehavior = 'allow' | 'block';
13356
+
13357
+ /**
13358
+ * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
13359
+ * @interface
13360
+ */
13361
+ declare type ScreenCapturePermission = {
13362
+ permission: ScreenCaptureBehavior;
13363
+ permissions: ScreenCaptureState[];
13364
+ };
13365
+
13366
+ /**
13367
+ * screenCapture state for a given entity as defined in domain settings.
13368
+ * @interface
13369
+ */
13370
+ declare type ScreenCaptureState = {
13371
+ info: EntityInfo;
13372
+ behavior: ScreenCaptureBehavior;
13373
+ url: string;
13374
+ };
13375
+
13341
13376
  /**
13342
13377
  * @interface
13343
13378
  */
@@ -17673,6 +17708,19 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
17673
17708
  * {@link OpenFin.WebContentsEvents event namespace}.
17674
17709
  */
17675
17710
  showPopupWindow(options: OpenFin.PopupOptions): Promise<OpenFin.PopupResult>;
17711
+ /**
17712
+ *
17713
+ * Get the screen capture permission for this content.
17714
+ *
17715
+ * @example
17716
+ * ```js
17717
+ * const { permission } = await fin.me.getScreenCapturePermission();
17718
+ *
17719
+ * console.log(`This content is currently ${permission}ed in screen captures.`);
17720
+ *
17721
+ * ```
17722
+ */
17723
+ getScreenCapturePermission(): Promise<OpenFin.ScreenCapturePermission>;
17676
17724
  }
17677
17725
 
17678
17726
  /**
@@ -5932,11 +5932,8 @@ declare type FrameEventType = EventType_5;
5932
5932
  /**
5933
5933
  * @interface
5934
5934
  */
5935
- declare type FrameInfo = {
5936
- name: string;
5937
- uuid: string;
5935
+ declare type FrameInfo = EntityInfo & {
5938
5936
  url: string;
5939
- entityType: EntityType_4;
5940
5937
  parent: Identity_4;
5941
5938
  };
5942
5939
 
@@ -9632,6 +9629,8 @@ declare namespace OpenFin {
9632
9629
  ClientConnectionPayload,
9633
9630
  EntityInfo,
9634
9631
  EntityType_4 as EntityType,
9632
+ ScreenCaptureState,
9633
+ ScreenCapturePermission,
9635
9634
  Bounds,
9636
9635
  WindowBounds,
9637
9636
  Rectangle,
@@ -9851,6 +9850,7 @@ declare namespace OpenFin {
9851
9850
  StructuredContentBehavior,
9852
9851
  StructuredContentPermissions,
9853
9852
  ContentPermission,
9853
+ ScreenCaptureBehavior,
9854
9854
  PerDomainSettings,
9855
9855
  DomainSettingsRule,
9856
9856
  FileDownloadBehavior,
@@ -10164,6 +10164,12 @@ declare type PerDomainSettings = {
10164
10164
  * {@inheritdoc ChromiumPolicies}
10165
10165
  */
10166
10166
  chromiumPolicies?: ChromiumPolicies;
10167
+ contentProtection?: {
10168
+ /**
10169
+ * {@inheritdoc ScreenCaptureBehavior}
10170
+ */
10171
+ screenCapture: ScreenCaptureBehavior;
10172
+ };
10167
10173
  };
10168
10174
 
10169
10175
  /**
@@ -12809,6 +12815,10 @@ declare interface ProtocolMap extends ProtocolMapBase {
12809
12815
  };
12810
12816
  response: OpenFin.PopupResult;
12811
12817
  };
12818
+ 'get-screen-capture-permissions': {
12819
+ request: OpenFin.Identity;
12820
+ response: OpenFin.ScreenCapturePermission;
12821
+ };
12812
12822
  'render-overlay': {
12813
12823
  request: {
12814
12824
  bounds: OpenFin.Bounds;
@@ -13338,6 +13348,31 @@ declare type RvmLaunchOptions = {
13338
13348
  subscribe?: (launch: LaunchEmitter) => void;
13339
13349
  };
13340
13350
 
13351
+ /**
13352
+ * @interface
13353
+ * Controls whether this content should be allowed or blocked when capturing the screen.
13354
+ */
13355
+ declare type ScreenCaptureBehavior = 'allow' | 'block';
13356
+
13357
+ /**
13358
+ * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
13359
+ * @interface
13360
+ */
13361
+ declare type ScreenCapturePermission = {
13362
+ permission: ScreenCaptureBehavior;
13363
+ permissions: ScreenCaptureState[];
13364
+ };
13365
+
13366
+ /**
13367
+ * screenCapture state for a given entity as defined in domain settings.
13368
+ * @interface
13369
+ */
13370
+ declare type ScreenCaptureState = {
13371
+ info: EntityInfo;
13372
+ behavior: ScreenCaptureBehavior;
13373
+ url: string;
13374
+ };
13375
+
13341
13376
  /**
13342
13377
  * @interface
13343
13378
  */
@@ -17673,6 +17708,19 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
17673
17708
  * {@link OpenFin.WebContentsEvents event namespace}.
17674
17709
  */
17675
17710
  showPopupWindow(options: OpenFin.PopupOptions): Promise<OpenFin.PopupResult>;
17711
+ /**
17712
+ *
17713
+ * Get the screen capture permission for this content.
17714
+ *
17715
+ * @example
17716
+ * ```js
17717
+ * const { permission } = await fin.me.getScreenCapturePermission();
17718
+ *
17719
+ * console.log(`This content is currently ${permission}ed in screen captures.`);
17720
+ *
17721
+ * ```
17722
+ */
17723
+ getScreenCapturePermission(): Promise<OpenFin.ScreenCapturePermission>;
17676
17724
  }
17677
17725
 
17678
17726
  /**
package/out/fdc3-api.d.ts CHANGED
@@ -6020,11 +6020,8 @@ declare type FrameEventType = EventType_5;
6020
6020
  /**
6021
6021
  * @interface
6022
6022
  */
6023
- declare type FrameInfo = {
6024
- name: string;
6025
- uuid: string;
6023
+ declare type FrameInfo = EntityInfo & {
6026
6024
  url: string;
6027
- entityType: EntityType_4;
6028
6025
  parent: Identity_4;
6029
6026
  };
6030
6027
 
@@ -9950,6 +9947,8 @@ declare namespace OpenFin {
9950
9947
  ClientConnectionPayload,
9951
9948
  EntityInfo,
9952
9949
  EntityType_4 as EntityType,
9950
+ ScreenCaptureState,
9951
+ ScreenCapturePermission,
9953
9952
  Bounds,
9954
9953
  WindowBounds,
9955
9954
  Rectangle,
@@ -10169,6 +10168,7 @@ declare namespace OpenFin {
10169
10168
  StructuredContentBehavior,
10170
10169
  StructuredContentPermissions,
10171
10170
  ContentPermission,
10171
+ ScreenCaptureBehavior,
10172
10172
  PerDomainSettings,
10173
10173
  DomainSettingsRule,
10174
10174
  FileDownloadBehavior,
@@ -10482,6 +10482,12 @@ declare type PerDomainSettings = {
10482
10482
  * {@inheritdoc ChromiumPolicies}
10483
10483
  */
10484
10484
  chromiumPolicies?: ChromiumPolicies;
10485
+ contentProtection?: {
10486
+ /**
10487
+ * {@inheritdoc ScreenCaptureBehavior}
10488
+ */
10489
+ screenCapture: ScreenCaptureBehavior;
10490
+ };
10485
10491
  };
10486
10492
 
10487
10493
  /**
@@ -13210,6 +13216,10 @@ declare interface ProtocolMap extends ProtocolMapBase {
13210
13216
  };
13211
13217
  response: OpenFin.PopupResult;
13212
13218
  };
13219
+ 'get-screen-capture-permissions': {
13220
+ request: OpenFin.Identity;
13221
+ response: OpenFin.ScreenCapturePermission;
13222
+ };
13213
13223
  'render-overlay': {
13214
13224
  request: {
13215
13225
  bounds: OpenFin.Bounds;
@@ -13739,6 +13749,31 @@ declare type RvmLaunchOptions = {
13739
13749
  subscribe?: (launch: LaunchEmitter) => void;
13740
13750
  };
13741
13751
 
13752
+ /**
13753
+ * @interface
13754
+ * Controls whether this content should be allowed or blocked when capturing the screen.
13755
+ */
13756
+ declare type ScreenCaptureBehavior = 'allow' | 'block';
13757
+
13758
+ /**
13759
+ * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
13760
+ * @interface
13761
+ */
13762
+ declare type ScreenCapturePermission = {
13763
+ permission: ScreenCaptureBehavior;
13764
+ permissions: ScreenCaptureState[];
13765
+ };
13766
+
13767
+ /**
13768
+ * screenCapture state for a given entity as defined in domain settings.
13769
+ * @interface
13770
+ */
13771
+ declare type ScreenCaptureState = {
13772
+ info: EntityInfo;
13773
+ behavior: ScreenCaptureBehavior;
13774
+ url: string;
13775
+ };
13776
+
13742
13777
  /**
13743
13778
  * @interface
13744
13779
  */
@@ -18124,6 +18159,19 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
18124
18159
  * {@link OpenFin.WebContentsEvents event namespace}.
18125
18160
  */
18126
18161
  showPopupWindow(options: OpenFin.PopupOptions): Promise<OpenFin.PopupResult>;
18162
+ /**
18163
+ *
18164
+ * Get the screen capture permission for this content.
18165
+ *
18166
+ * @example
18167
+ * ```js
18168
+ * const { permission } = await fin.me.getScreenCapturePermission();
18169
+ *
18170
+ * console.log(`This content is currently ${permission}ed in screen captures.`);
18171
+ *
18172
+ * ```
18173
+ */
18174
+ getScreenCapturePermission(): Promise<OpenFin.ScreenCapturePermission>;
18127
18175
  }
18128
18176
 
18129
18177
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "41.100.27",
3
+ "version": "41.100.29",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,