@openfin/fdc3-api 41.102.6 → 41.102.8

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.
@@ -3000,6 +3000,10 @@ declare type ChromiumPolicies = {
3000
3000
  * Disable AutofillAddressEnabled policy for a Window or View.
3001
3001
  */
3002
3002
  AutofillAddressEnabled?: PolicyOptions;
3003
+ /**
3004
+ * Disable AutofillCreditCardEnabled policy for a Window or View.
3005
+ */
3006
+ AutofillCreditCardEnabled?: PolicyOptions;
3003
3007
  };
3004
3008
 
3005
3009
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
@@ -3850,6 +3854,10 @@ declare type ConstWindowOptions = {
3850
3854
  * Control which options to ignore when creating a Platform Window.
3851
3855
  */
3852
3856
  excludeOptions: ExcludeOptions;
3857
+ /**
3858
+ * Controls whether frameless window should have rounded corners. Default is false for Windows and true for MacOS. Setting this property to false will prevent the window from being fullscreenable on macOS. On Windows versions older than Windows 11 Build 22000 this property has no effect, and frameless windows will not have rounded corners.
3859
+ */
3860
+ roundedCorners: boolean;
3853
3861
  };
3854
3862
 
3855
3863
  /**
@@ -6950,6 +6958,7 @@ declare class InteropBroker extends Base {
6950
6958
  private sessionContextGroupMap;
6951
6959
  private channel;
6952
6960
  private logging;
6961
+ private privateChannelProviderMap;
6953
6962
  /* Excluded from this release type: __constructor */
6954
6963
  private getProvider;
6955
6964
  static createClosedConstructor(...args: ConstructorParameters<typeof InteropBroker>): {
@@ -9669,6 +9678,12 @@ declare type MutableWindowOptions = {
9669
9678
  /**
9670
9679
  * Shows the window's icon in the taskbar.
9671
9680
  *
9681
+ * @remarks
9682
+ * In Windows, setting `showTaskbarIcon` to false will cause the window to display on all virtual desktops.
9683
+ * In order to prevent this while keeping `showTaskbarIcon` false, pass the identity of the parent via the
9684
+ * `modalParentIdentity` (see {@link WindowCreationOptions}). This is useful for popups managed by
9685
+ * {@link Window._Window.showPopupWindow}.
9686
+ *
9672
9687
  * @default true
9673
9688
  */
9674
9689
  showTaskbarIcon: boolean;
@@ -3000,6 +3000,10 @@ declare type ChromiumPolicies = {
3000
3000
  * Disable AutofillAddressEnabled policy for a Window or View.
3001
3001
  */
3002
3002
  AutofillAddressEnabled?: PolicyOptions;
3003
+ /**
3004
+ * Disable AutofillCreditCardEnabled policy for a Window or View.
3005
+ */
3006
+ AutofillCreditCardEnabled?: PolicyOptions;
3003
3007
  };
3004
3008
 
3005
3009
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
@@ -3850,6 +3854,10 @@ declare type ConstWindowOptions = {
3850
3854
  * Control which options to ignore when creating a Platform Window.
3851
3855
  */
3852
3856
  excludeOptions: ExcludeOptions;
3857
+ /**
3858
+ * Controls whether frameless window should have rounded corners. Default is false for Windows and true for MacOS. Setting this property to false will prevent the window from being fullscreenable on macOS. On Windows versions older than Windows 11 Build 22000 this property has no effect, and frameless windows will not have rounded corners.
3859
+ */
3860
+ roundedCorners: boolean;
3853
3861
  };
3854
3862
 
3855
3863
  /**
@@ -6950,6 +6958,7 @@ declare class InteropBroker extends Base {
6950
6958
  private sessionContextGroupMap;
6951
6959
  private channel;
6952
6960
  private logging;
6961
+ private privateChannelProviderMap;
6953
6962
  /* Excluded from this release type: __constructor */
6954
6963
  private getProvider;
6955
6964
  static createClosedConstructor(...args: ConstructorParameters<typeof InteropBroker>): {
@@ -9669,6 +9678,12 @@ declare type MutableWindowOptions = {
9669
9678
  /**
9670
9679
  * Shows the window's icon in the taskbar.
9671
9680
  *
9681
+ * @remarks
9682
+ * In Windows, setting `showTaskbarIcon` to false will cause the window to display on all virtual desktops.
9683
+ * In order to prevent this while keeping `showTaskbarIcon` false, pass the identity of the parent via the
9684
+ * `modalParentIdentity` (see {@link WindowCreationOptions}). This is useful for popups managed by
9685
+ * {@link Window._Window.showPopupWindow}.
9686
+ *
9672
9687
  * @default true
9673
9688
  */
9674
9689
  showTaskbarIcon: boolean;
@@ -3000,6 +3000,10 @@ declare type ChromiumPolicies = {
3000
3000
  * Disable AutofillAddressEnabled policy for a Window or View.
3001
3001
  */
3002
3002
  AutofillAddressEnabled?: PolicyOptions;
3003
+ /**
3004
+ * Disable AutofillCreditCardEnabled policy for a Window or View.
3005
+ */
3006
+ AutofillCreditCardEnabled?: PolicyOptions;
3003
3007
  };
3004
3008
 
3005
3009
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
@@ -3850,6 +3854,10 @@ declare type ConstWindowOptions = {
3850
3854
  * Control which options to ignore when creating a Platform Window.
3851
3855
  */
3852
3856
  excludeOptions: ExcludeOptions;
3857
+ /**
3858
+ * Controls whether frameless window should have rounded corners. Default is false for Windows and true for MacOS. Setting this property to false will prevent the window from being fullscreenable on macOS. On Windows versions older than Windows 11 Build 22000 this property has no effect, and frameless windows will not have rounded corners.
3859
+ */
3860
+ roundedCorners: boolean;
3853
3861
  };
3854
3862
 
3855
3863
  /**
@@ -6950,6 +6958,7 @@ declare class InteropBroker extends Base {
6950
6958
  private sessionContextGroupMap;
6951
6959
  private channel;
6952
6960
  private logging;
6961
+ private privateChannelProviderMap;
6953
6962
  /* Excluded from this release type: __constructor */
6954
6963
  private getProvider;
6955
6964
  static createClosedConstructor(...args: ConstructorParameters<typeof InteropBroker>): {
@@ -9669,6 +9678,12 @@ declare type MutableWindowOptions = {
9669
9678
  /**
9670
9679
  * Shows the window's icon in the taskbar.
9671
9680
  *
9681
+ * @remarks
9682
+ * In Windows, setting `showTaskbarIcon` to false will cause the window to display on all virtual desktops.
9683
+ * In order to prevent this while keeping `showTaskbarIcon` false, pass the identity of the parent via the
9684
+ * `modalParentIdentity` (see {@link WindowCreationOptions}). This is useful for popups managed by
9685
+ * {@link Window._Window.showPopupWindow}.
9686
+ *
9672
9687
  * @default true
9673
9688
  */
9674
9689
  showTaskbarIcon: boolean;
package/out/fdc3-api.d.ts CHANGED
@@ -3056,6 +3056,10 @@ declare type ChromiumPolicies = {
3056
3056
  * Disable AutofillAddressEnabled policy for a Window or View.
3057
3057
  */
3058
3058
  AutofillAddressEnabled?: PolicyOptions;
3059
+ /**
3060
+ * Disable AutofillCreditCardEnabled policy for a Window or View.
3061
+ */
3062
+ AutofillCreditCardEnabled?: PolicyOptions;
3059
3063
  };
3060
3064
 
3061
3065
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
@@ -3909,6 +3913,10 @@ declare type ConstWindowOptions = {
3909
3913
  * Control which options to ignore when creating a Platform Window.
3910
3914
  */
3911
3915
  excludeOptions: ExcludeOptions;
3916
+ /**
3917
+ * Controls whether frameless window should have rounded corners. Default is false for Windows and true for MacOS. Setting this property to false will prevent the window from being fullscreenable on macOS. On Windows versions older than Windows 11 Build 22000 this property has no effect, and frameless windows will not have rounded corners.
3918
+ */
3919
+ roundedCorners: boolean;
3912
3920
  };
3913
3921
 
3914
3922
  /**
@@ -7056,6 +7064,7 @@ declare class InteropBroker extends Base {
7056
7064
  private sessionContextGroupMap;
7057
7065
  private channel;
7058
7066
  private logging;
7067
+ private privateChannelProviderMap;
7059
7068
  /**
7060
7069
  * @internal
7061
7070
  */
@@ -9969,6 +9978,12 @@ declare type MutableWindowOptions = {
9969
9978
  /**
9970
9979
  * Shows the window's icon in the taskbar.
9971
9980
  *
9981
+ * @remarks
9982
+ * In Windows, setting `showTaskbarIcon` to false will cause the window to display on all virtual desktops.
9983
+ * In order to prevent this while keeping `showTaskbarIcon` false, pass the identity of the parent via the
9984
+ * `modalParentIdentity` (see {@link WindowCreationOptions}). This is useful for popups managed by
9985
+ * {@link Window._Window.showPopupWindow}.
9986
+ *
9972
9987
  * @default true
9973
9988
  */
9974
9989
  showTaskbarIcon: boolean;
package/out/fdc3-api.js CHANGED
@@ -1537,6 +1537,12 @@ class FDC3ModuleBase {
1537
1537
  this.wire.sendAction('fdc3-get-or-create-channel').catch((e) => {
1538
1538
  // we do not want to expose this error, just continue if this analytics-only call fails
1539
1539
  });
1540
+ const hasChannelIdBeenUsed = await InteropClient_1$1.InteropClient.ferryFdc3Call(this.client, 'isIdUsedByPrivateChannel', {
1541
+ channelId
1542
+ });
1543
+ if (hasChannelIdBeenUsed) {
1544
+ throw new Error(utils_1$2.ChannelError.AccessDenied);
1545
+ }
1540
1546
  const systemChannels = await this._getChannels();
1541
1547
  const userChannel = systemChannels.find((channel) => channel.id === channelId);
1542
1548
  if (userChannel) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "41.102.6",
3
+ "version": "41.102.8",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,