@openfin/core 46.100.93 → 46.100.95

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.
@@ -5648,6 +5648,12 @@ declare type ExtensionActionListItem = {
5648
5648
  title: string;
5649
5649
  /** Renderer-safe icon (data URL). */
5650
5650
  iconDataUrl: string;
5651
+ /**
5652
+ * Whether this action is pinned. Pinned actions come first: extensions marked `pinned` in the manifest, in
5653
+ * the order they appear in the `extensions` array, then any other extensions force-pinned by policy.
5654
+ * Unpinned actions follow, sorted by title.
5655
+ */
5656
+ isPinned: boolean;
5651
5657
  };
5652
5658
 
5653
5659
  declare type ExtensionEvent = SecurityRealmEvent & {
@@ -9740,6 +9746,11 @@ declare type ManifestExtension = {
9740
9746
  * security extensions rather than extensions that add visible UI.
9741
9747
  */
9742
9748
  nonTabInjections?: NonTabInjectionRule[];
9749
+ /**
9750
+ * Marks the extension's toolbar action as pinned: it has `isPinned: true` in the extension actions list and
9751
+ * comes before unpinned actions. Pinned actions are ordered by their position in the `extensions` array.
9752
+ */
9753
+ pinned?: boolean;
9743
9754
  };
9744
9755
 
9745
9756
  /**
@@ -16333,11 +16344,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16333
16344
  */
16334
16345
  openUrlWithBrowser(url: string): Promise<void>;
16335
16346
  /**
16336
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
16337
- * overwrites the existing registry entry if the given custom protocol name already exists.
16347
+ * Registers this application as the handler for a custom protocol.
16348
+ *
16349
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16350
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16351
+ * the bundle's startup application.
16338
16352
  *
16339
16353
  * Note: This method is restricted by default and must be enabled via
16340
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16354
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16355
+ * macOS requires RVM 21 or higher.
16341
16356
  *
16342
16357
  *
16343
16358
  * @remarks These protocols are reserved and cannot be registered:
@@ -16347,9 +16362,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16347
16362
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16348
16363
  *
16349
16364
  * @throws if a given custom protocol failed to be registered.
16350
- * @throws if a manifest URL contains the '%1' string.
16351
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16352
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16365
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16366
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16367
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16353
16368
  *
16354
16369
  * @example
16355
16370
  * ```js
@@ -16358,10 +16373,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16358
16373
  */
16359
16374
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16360
16375
  /**
16361
- * Removes the registry entry for a given custom protocol.
16376
+ * Unregisters this application as the handler for a custom protocol.
16377
+ *
16378
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16379
+ * bundle as the default handler and can only be called by the bundle's startup application.
16362
16380
  *
16363
16381
  * Note: This method is restricted by default and must be enabled via
16364
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16382
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16383
+ * macOS requires RVM 21 or higher.
16365
16384
  *
16366
16385
  *
16367
16386
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16370,7 +16389,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16370
16389
  * - openfin
16371
16390
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16372
16391
  *
16373
- * @throws if a protocol entry failed to be removed in registry.
16392
+ * @throws if the protocol registration could not be removed.
16374
16393
  *
16375
16394
  * @example
16376
16395
  * ```js
@@ -16381,8 +16400,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16381
16400
  /**
16382
16401
  * Retrieves the registration state for a given custom protocol.
16383
16402
  *
16403
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16404
+ * bundle is the default handler.
16405
+ *
16384
16406
  * Note: This method is restricted by default and must be enabled via
16385
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16407
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16408
+ * macOS requires RVM 21 or higher.
16386
16409
  *
16387
16410
  * @remarks These protocols are reserved and cannot get states for them:
16388
16411
  * - fin
@@ -19969,7 +19992,8 @@ declare type WebNotificationProperties = Pick<Notification, 'tag' | 'body' | 'da
19969
19992
  * `fullscreen`: Access to fullscreen mode.<br>
19970
19993
  * `openExternal`: Access to open links in external applications.<br>
19971
19994
  * `clipboard-read`: Access to read from the clipboard.<br>
19972
- * `clipboard-sanitized-write`: Access to write to the clipboard.
19995
+ * `clipboard-sanitized-write`: Access to write to the clipboard.<br>
19996
+ * `display-capture`: Access to capture a view or window via `navigator.mediaDevices.getDisplayMedia()`.<br>
19973
19997
  * `usb`: Access to one or more USB devices
19974
19998
  * `hid : Access to one or more HID devices
19975
19999
  */
@@ -19989,9 +20013,10 @@ declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExte
19989
20013
  * `fullscreen`: Access to fullscreen mode.<br>
19990
20014
  * `openExternal`: Access to open links in external applications.<br>
19991
20015
  * `clipboard-read`: Access to read from the clipboard.<br>
19992
- * `clipboard-sanitized-write`: Access to write to the clipboard.
20016
+ * `clipboard-sanitized-write`: Access to write to the clipboard.<br>
20017
+ * `display-capture`: Access to capture a view or window via `navigator.mediaDevices.getDisplayMedia()`.
19993
20018
  */
19994
- declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
20019
+ declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture';
19995
20020
 
19996
20021
  /**
19997
20022
  * Object representing headers and their values, where the
@@ -5648,6 +5648,12 @@ declare type ExtensionActionListItem = {
5648
5648
  title: string;
5649
5649
  /** Renderer-safe icon (data URL). */
5650
5650
  iconDataUrl: string;
5651
+ /**
5652
+ * Whether this action is pinned. Pinned actions come first: extensions marked `pinned` in the manifest, in
5653
+ * the order they appear in the `extensions` array, then any other extensions force-pinned by policy.
5654
+ * Unpinned actions follow, sorted by title.
5655
+ */
5656
+ isPinned: boolean;
5651
5657
  };
5652
5658
 
5653
5659
  declare type ExtensionEvent = SecurityRealmEvent & {
@@ -9740,6 +9746,11 @@ declare type ManifestExtension = {
9740
9746
  * security extensions rather than extensions that add visible UI.
9741
9747
  */
9742
9748
  nonTabInjections?: NonTabInjectionRule[];
9749
+ /**
9750
+ * Marks the extension's toolbar action as pinned: it has `isPinned: true` in the extension actions list and
9751
+ * comes before unpinned actions. Pinned actions are ordered by their position in the `extensions` array.
9752
+ */
9753
+ pinned?: boolean;
9743
9754
  };
9744
9755
 
9745
9756
  /**
@@ -16333,11 +16344,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16333
16344
  */
16334
16345
  openUrlWithBrowser(url: string): Promise<void>;
16335
16346
  /**
16336
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
16337
- * overwrites the existing registry entry if the given custom protocol name already exists.
16347
+ * Registers this application as the handler for a custom protocol.
16348
+ *
16349
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16350
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16351
+ * the bundle's startup application.
16338
16352
  *
16339
16353
  * Note: This method is restricted by default and must be enabled via
16340
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16354
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16355
+ * macOS requires RVM 21 or higher.
16341
16356
  *
16342
16357
  *
16343
16358
  * @remarks These protocols are reserved and cannot be registered:
@@ -16347,9 +16362,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16347
16362
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16348
16363
  *
16349
16364
  * @throws if a given custom protocol failed to be registered.
16350
- * @throws if a manifest URL contains the '%1' string.
16351
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16352
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16365
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16366
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16367
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16353
16368
  *
16354
16369
  * @example
16355
16370
  * ```js
@@ -16358,10 +16373,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16358
16373
  */
16359
16374
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16360
16375
  /**
16361
- * Removes the registry entry for a given custom protocol.
16376
+ * Unregisters this application as the handler for a custom protocol.
16377
+ *
16378
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16379
+ * bundle as the default handler and can only be called by the bundle's startup application.
16362
16380
  *
16363
16381
  * Note: This method is restricted by default and must be enabled via
16364
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16382
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16383
+ * macOS requires RVM 21 or higher.
16365
16384
  *
16366
16385
  *
16367
16386
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16370,7 +16389,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16370
16389
  * - openfin
16371
16390
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16372
16391
  *
16373
- * @throws if a protocol entry failed to be removed in registry.
16392
+ * @throws if the protocol registration could not be removed.
16374
16393
  *
16375
16394
  * @example
16376
16395
  * ```js
@@ -16381,8 +16400,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16381
16400
  /**
16382
16401
  * Retrieves the registration state for a given custom protocol.
16383
16402
  *
16403
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16404
+ * bundle is the default handler.
16405
+ *
16384
16406
  * Note: This method is restricted by default and must be enabled via
16385
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16407
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16408
+ * macOS requires RVM 21 or higher.
16386
16409
  *
16387
16410
  * @remarks These protocols are reserved and cannot get states for them:
16388
16411
  * - fin
@@ -19969,7 +19992,8 @@ declare type WebNotificationProperties = Pick<Notification, 'tag' | 'body' | 'da
19969
19992
  * `fullscreen`: Access to fullscreen mode.<br>
19970
19993
  * `openExternal`: Access to open links in external applications.<br>
19971
19994
  * `clipboard-read`: Access to read from the clipboard.<br>
19972
- * `clipboard-sanitized-write`: Access to write to the clipboard.
19995
+ * `clipboard-sanitized-write`: Access to write to the clipboard.<br>
19996
+ * `display-capture`: Access to capture a view or window via `navigator.mediaDevices.getDisplayMedia()`.<br>
19973
19997
  * `usb`: Access to one or more USB devices
19974
19998
  * `hid : Access to one or more HID devices
19975
19999
  */
@@ -19989,9 +20013,10 @@ declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExte
19989
20013
  * `fullscreen`: Access to fullscreen mode.<br>
19990
20014
  * `openExternal`: Access to open links in external applications.<br>
19991
20015
  * `clipboard-read`: Access to read from the clipboard.<br>
19992
- * `clipboard-sanitized-write`: Access to write to the clipboard.
20016
+ * `clipboard-sanitized-write`: Access to write to the clipboard.<br>
20017
+ * `display-capture`: Access to capture a view or window via `navigator.mediaDevices.getDisplayMedia()`.
19993
20018
  */
19994
- declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
20019
+ declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture';
19995
20020
 
19996
20021
  /**
19997
20022
  * Object representing headers and their values, where the
@@ -5648,6 +5648,12 @@ declare type ExtensionActionListItem = {
5648
5648
  title: string;
5649
5649
  /** Renderer-safe icon (data URL). */
5650
5650
  iconDataUrl: string;
5651
+ /**
5652
+ * Whether this action is pinned. Pinned actions come first: extensions marked `pinned` in the manifest, in
5653
+ * the order they appear in the `extensions` array, then any other extensions force-pinned by policy.
5654
+ * Unpinned actions follow, sorted by title.
5655
+ */
5656
+ isPinned: boolean;
5651
5657
  };
5652
5658
 
5653
5659
  declare type ExtensionEvent = SecurityRealmEvent & {
@@ -9740,6 +9746,11 @@ declare type ManifestExtension = {
9740
9746
  * security extensions rather than extensions that add visible UI.
9741
9747
  */
9742
9748
  nonTabInjections?: NonTabInjectionRule[];
9749
+ /**
9750
+ * Marks the extension's toolbar action as pinned: it has `isPinned: true` in the extension actions list and
9751
+ * comes before unpinned actions. Pinned actions are ordered by their position in the `extensions` array.
9752
+ */
9753
+ pinned?: boolean;
9743
9754
  };
9744
9755
 
9745
9756
  /**
@@ -16333,11 +16344,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16333
16344
  */
16334
16345
  openUrlWithBrowser(url: string): Promise<void>;
16335
16346
  /**
16336
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
16337
- * overwrites the existing registry entry if the given custom protocol name already exists.
16347
+ * Registers this application as the handler for a custom protocol.
16348
+ *
16349
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16350
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16351
+ * the bundle's startup application.
16338
16352
  *
16339
16353
  * Note: This method is restricted by default and must be enabled via
16340
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16354
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16355
+ * macOS requires RVM 21 or higher.
16341
16356
  *
16342
16357
  *
16343
16358
  * @remarks These protocols are reserved and cannot be registered:
@@ -16347,9 +16362,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16347
16362
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16348
16363
  *
16349
16364
  * @throws if a given custom protocol failed to be registered.
16350
- * @throws if a manifest URL contains the '%1' string.
16351
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16352
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16365
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16366
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16367
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16353
16368
  *
16354
16369
  * @example
16355
16370
  * ```js
@@ -16358,10 +16373,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16358
16373
  */
16359
16374
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16360
16375
  /**
16361
- * Removes the registry entry for a given custom protocol.
16376
+ * Unregisters this application as the handler for a custom protocol.
16377
+ *
16378
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16379
+ * bundle as the default handler and can only be called by the bundle's startup application.
16362
16380
  *
16363
16381
  * Note: This method is restricted by default and must be enabled via
16364
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16382
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16383
+ * macOS requires RVM 21 or higher.
16365
16384
  *
16366
16385
  *
16367
16386
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16370,7 +16389,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16370
16389
  * - openfin
16371
16390
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16372
16391
  *
16373
- * @throws if a protocol entry failed to be removed in registry.
16392
+ * @throws if the protocol registration could not be removed.
16374
16393
  *
16375
16394
  * @example
16376
16395
  * ```js
@@ -16381,8 +16400,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16381
16400
  /**
16382
16401
  * Retrieves the registration state for a given custom protocol.
16383
16402
  *
16403
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16404
+ * bundle is the default handler.
16405
+ *
16384
16406
  * Note: This method is restricted by default and must be enabled via
16385
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16407
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16408
+ * macOS requires RVM 21 or higher.
16386
16409
  *
16387
16410
  * @remarks These protocols are reserved and cannot get states for them:
16388
16411
  * - fin
@@ -19969,7 +19992,8 @@ declare type WebNotificationProperties = Pick<Notification, 'tag' | 'body' | 'da
19969
19992
  * `fullscreen`: Access to fullscreen mode.<br>
19970
19993
  * `openExternal`: Access to open links in external applications.<br>
19971
19994
  * `clipboard-read`: Access to read from the clipboard.<br>
19972
- * `clipboard-sanitized-write`: Access to write to the clipboard.
19995
+ * `clipboard-sanitized-write`: Access to write to the clipboard.<br>
19996
+ * `display-capture`: Access to capture a view or window via `navigator.mediaDevices.getDisplayMedia()`.<br>
19973
19997
  * `usb`: Access to one or more USB devices
19974
19998
  * `hid : Access to one or more HID devices
19975
19999
  */
@@ -19989,9 +20013,10 @@ declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExte
19989
20013
  * `fullscreen`: Access to fullscreen mode.<br>
19990
20014
  * `openExternal`: Access to open links in external applications.<br>
19991
20015
  * `clipboard-read`: Access to read from the clipboard.<br>
19992
- * `clipboard-sanitized-write`: Access to write to the clipboard.
20016
+ * `clipboard-sanitized-write`: Access to write to the clipboard.<br>
20017
+ * `display-capture`: Access to capture a view or window via `navigator.mediaDevices.getDisplayMedia()`.
19993
20018
  */
19994
- declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
20019
+ declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture';
19995
20020
 
19996
20021
  /**
19997
20022
  * Object representing headers and their values, where the
package/out/stub.d.ts CHANGED
@@ -5778,6 +5778,12 @@ declare type ExtensionActionListItem = {
5778
5778
  title: string;
5779
5779
  /** Renderer-safe icon (data URL). */
5780
5780
  iconDataUrl: string;
5781
+ /**
5782
+ * Whether this action is pinned. Pinned actions come first: extensions marked `pinned` in the manifest, in
5783
+ * the order they appear in the `extensions` array, then any other extensions force-pinned by policy.
5784
+ * Unpinned actions follow, sorted by title.
5785
+ */
5786
+ isPinned: boolean;
5781
5787
  };
5782
5788
 
5783
5789
  declare type ExtensionEvent = SecurityRealmEvent & {
@@ -10103,6 +10109,11 @@ declare type ManifestExtension = {
10103
10109
  * security extensions rather than extensions that add visible UI.
10104
10110
  */
10105
10111
  nonTabInjections?: NonTabInjectionRule[];
10112
+ /**
10113
+ * Marks the extension's toolbar action as pinned: it has `isPinned: true` in the extension actions list and
10114
+ * comes before unpinned actions. Pinned actions are ordered by their position in the `extensions` array.
10115
+ */
10116
+ pinned?: boolean;
10106
10117
  };
10107
10118
 
10108
10119
  /**
@@ -16816,11 +16827,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16816
16827
  */
16817
16828
  openUrlWithBrowser(url: string): Promise<void>;
16818
16829
  /**
16819
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
16820
- * overwrites the existing registry entry if the given custom protocol name already exists.
16830
+ * Registers this application as the handler for a custom protocol.
16831
+ *
16832
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16833
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16834
+ * the bundle's startup application.
16821
16835
  *
16822
16836
  * Note: This method is restricted by default and must be enabled via
16823
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16837
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16838
+ * macOS requires RVM 21 or higher.
16824
16839
  *
16825
16840
  *
16826
16841
  * @remarks These protocols are reserved and cannot be registered:
@@ -16830,9 +16845,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16830
16845
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16831
16846
  *
16832
16847
  * @throws if a given custom protocol failed to be registered.
16833
- * @throws if a manifest URL contains the '%1' string.
16834
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16835
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16848
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16849
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16850
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16836
16851
  *
16837
16852
  * @example
16838
16853
  * ```js
@@ -16841,10 +16856,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16841
16856
  */
16842
16857
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16843
16858
  /**
16844
- * Removes the registry entry for a given custom protocol.
16859
+ * Unregisters this application as the handler for a custom protocol.
16860
+ *
16861
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16862
+ * bundle as the default handler and can only be called by the bundle's startup application.
16845
16863
  *
16846
16864
  * Note: This method is restricted by default and must be enabled via
16847
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16865
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16866
+ * macOS requires RVM 21 or higher.
16848
16867
  *
16849
16868
  *
16850
16869
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16853,7 +16872,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16853
16872
  * - openfin
16854
16873
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16855
16874
  *
16856
- * @throws if a protocol entry failed to be removed in registry.
16875
+ * @throws if the protocol registration could not be removed.
16857
16876
  *
16858
16877
  * @example
16859
16878
  * ```js
@@ -16864,8 +16883,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16864
16883
  /**
16865
16884
  * Retrieves the registration state for a given custom protocol.
16866
16885
  *
16886
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16887
+ * bundle is the default handler.
16888
+ *
16867
16889
  * Note: This method is restricted by default and must be enabled via
16868
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16890
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16891
+ * macOS requires RVM 21 or higher.
16869
16892
  *
16870
16893
  * @remarks These protocols are reserved and cannot get states for them:
16871
16894
  * - fin
@@ -20505,7 +20528,8 @@ declare type WebNotificationProperties = Pick<Notification, 'tag' | 'body' | 'da
20505
20528
  * `fullscreen`: Access to fullscreen mode.<br>
20506
20529
  * `openExternal`: Access to open links in external applications.<br>
20507
20530
  * `clipboard-read`: Access to read from the clipboard.<br>
20508
- * `clipboard-sanitized-write`: Access to write to the clipboard.
20531
+ * `clipboard-sanitized-write`: Access to write to the clipboard.<br>
20532
+ * `display-capture`: Access to capture a view or window via `navigator.mediaDevices.getDisplayMedia()`.<br>
20509
20533
  * `usb`: Access to one or more USB devices
20510
20534
  * `hid : Access to one or more HID devices
20511
20535
  */
@@ -20525,9 +20549,10 @@ declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExte
20525
20549
  * `fullscreen`: Access to fullscreen mode.<br>
20526
20550
  * `openExternal`: Access to open links in external applications.<br>
20527
20551
  * `clipboard-read`: Access to read from the clipboard.<br>
20528
- * `clipboard-sanitized-write`: Access to write to the clipboard.
20552
+ * `clipboard-sanitized-write`: Access to write to the clipboard.<br>
20553
+ * `display-capture`: Access to capture a view or window via `navigator.mediaDevices.getDisplayMedia()`.
20529
20554
  */
20530
- declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
20555
+ declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write' | 'display-capture';
20531
20556
 
20532
20557
  /**
20533
20558
  * Object representing headers and their values, where the
package/out/stub.js CHANGED
@@ -6183,11 +6183,15 @@ class System extends EmitterBase {
6183
6183
  return this.wire.sendAction('open-url-with-browser', { url }).then(() => undefined);
6184
6184
  }
6185
6185
  /**
6186
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
6187
- * overwrites the existing registry entry if the given custom protocol name already exists.
6186
+ * Registers this application as the handler for a custom protocol.
6187
+ *
6188
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
6189
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
6190
+ * the bundle's startup application.
6188
6191
  *
6189
6192
  * Note: This method is restricted by default and must be enabled via
6190
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6193
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6194
+ * macOS requires RVM 21 or higher.
6191
6195
  *
6192
6196
  *
6193
6197
  * @remarks These protocols are reserved and cannot be registered:
@@ -6197,9 +6201,9 @@ class System extends EmitterBase {
6197
6201
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6198
6202
  *
6199
6203
  * @throws if a given custom protocol failed to be registered.
6200
- * @throws if a manifest URL contains the '%1' string.
6201
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6202
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6204
+ * @throws On Windows, if a manifest URL contains the '%1' string.
6205
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6206
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6203
6207
  *
6204
6208
  * @example
6205
6209
  * ```js
@@ -6213,10 +6217,14 @@ class System extends EmitterBase {
6213
6217
  await this.wire.sendAction('register-custom-protocol', options);
6214
6218
  }
6215
6219
  /**
6216
- * Removes the registry entry for a given custom protocol.
6220
+ * Unregisters this application as the handler for a custom protocol.
6221
+ *
6222
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
6223
+ * bundle as the default handler and can only be called by the bundle's startup application.
6217
6224
  *
6218
6225
  * Note: This method is restricted by default and must be enabled via
6219
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6226
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6227
+ * macOS requires RVM 21 or higher.
6220
6228
  *
6221
6229
  *
6222
6230
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -6225,7 +6233,7 @@ class System extends EmitterBase {
6225
6233
  * - openfin
6226
6234
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6227
6235
  *
6228
- * @throws if a protocol entry failed to be removed in registry.
6236
+ * @throws if the protocol registration could not be removed.
6229
6237
  *
6230
6238
  * @example
6231
6239
  * ```js
@@ -6238,8 +6246,12 @@ class System extends EmitterBase {
6238
6246
  /**
6239
6247
  * Retrieves the registration state for a given custom protocol.
6240
6248
  *
6249
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
6250
+ * bundle is the default handler.
6251
+ *
6241
6252
  * Note: This method is restricted by default and must be enabled via
6242
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6253
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6254
+ * macOS requires RVM 21 or higher.
6243
6255
  *
6244
6256
  * @remarks These protocols are reserved and cannot get states for them:
6245
6257
  * - fin
package/out/stub.mjs CHANGED
@@ -6180,11 +6180,15 @@ class System extends EmitterBase {
6180
6180
  return this.wire.sendAction('open-url-with-browser', { url }).then(() => undefined);
6181
6181
  }
6182
6182
  /**
6183
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
6184
- * overwrites the existing registry entry if the given custom protocol name already exists.
6183
+ * Registers this application as the handler for a custom protocol.
6184
+ *
6185
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
6186
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
6187
+ * the bundle's startup application.
6185
6188
  *
6186
6189
  * Note: This method is restricted by default and must be enabled via
6187
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6190
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6191
+ * macOS requires RVM 21 or higher.
6188
6192
  *
6189
6193
  *
6190
6194
  * @remarks These protocols are reserved and cannot be registered:
@@ -6194,9 +6198,9 @@ class System extends EmitterBase {
6194
6198
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6195
6199
  *
6196
6200
  * @throws if a given custom protocol failed to be registered.
6197
- * @throws if a manifest URL contains the '%1' string.
6198
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6199
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6201
+ * @throws On Windows, if a manifest URL contains the '%1' string.
6202
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6203
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6200
6204
  *
6201
6205
  * @example
6202
6206
  * ```js
@@ -6210,10 +6214,14 @@ class System extends EmitterBase {
6210
6214
  await this.wire.sendAction('register-custom-protocol', options);
6211
6215
  }
6212
6216
  /**
6213
- * Removes the registry entry for a given custom protocol.
6217
+ * Unregisters this application as the handler for a custom protocol.
6218
+ *
6219
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
6220
+ * bundle as the default handler and can only be called by the bundle's startup application.
6214
6221
  *
6215
6222
  * Note: This method is restricted by default and must be enabled via
6216
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6223
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6224
+ * macOS requires RVM 21 or higher.
6217
6225
  *
6218
6226
  *
6219
6227
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -6222,7 +6230,7 @@ class System extends EmitterBase {
6222
6230
  * - openfin
6223
6231
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6224
6232
  *
6225
- * @throws if a protocol entry failed to be removed in registry.
6233
+ * @throws if the protocol registration could not be removed.
6226
6234
  *
6227
6235
  * @example
6228
6236
  * ```js
@@ -6235,8 +6243,12 @@ class System extends EmitterBase {
6235
6243
  /**
6236
6244
  * Retrieves the registration state for a given custom protocol.
6237
6245
  *
6246
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
6247
+ * bundle is the default handler.
6248
+ *
6238
6249
  * Note: This method is restricted by default and must be enabled via
6239
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6250
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6251
+ * macOS requires RVM 21 or higher.
6240
6252
  *
6241
6253
  * @remarks These protocols are reserved and cannot get states for them:
6242
6254
  * - fin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "46.100.93",
3
+ "version": "46.100.95",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",