@openfin/core 47.100.55 → 47.100.57

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.
@@ -5705,6 +5705,12 @@ declare type ExtensionActionListItem = {
5705
5705
  title: string;
5706
5706
  /** Renderer-safe icon (data URL). */
5707
5707
  iconDataUrl: string;
5708
+ /**
5709
+ * Whether this action is pinned. Pinned actions come first: extensions marked `pinned` in the manifest, in
5710
+ * the order they appear in the `extensions` array, then any other extensions force-pinned by policy.
5711
+ * Unpinned actions follow, sorted by title.
5712
+ */
5713
+ isPinned: boolean;
5708
5714
  };
5709
5715
 
5710
5716
  declare type ExtensionEvent = SecurityRealmEvent & {
@@ -9802,6 +9808,11 @@ declare type ManifestExtension = {
9802
9808
  * security extensions rather than extensions that add visible UI.
9803
9809
  */
9804
9810
  nonTabInjections?: NonTabInjectionRule[];
9811
+ /**
9812
+ * Marks the extension's toolbar action as pinned: it has `isPinned: true` in the extension actions list and
9813
+ * comes before unpinned actions. Pinned actions are ordered by their position in the `extensions` array.
9814
+ */
9815
+ pinned?: boolean;
9805
9816
  };
9806
9817
 
9807
9818
  /**
@@ -16406,11 +16417,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16406
16417
  */
16407
16418
  openUrlWithBrowser(url: string): Promise<void>;
16408
16419
  /**
16409
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
16410
- * overwrites the existing registry entry if the given custom protocol name already exists.
16420
+ * Registers this application as the handler for a custom protocol.
16421
+ *
16422
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16423
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16424
+ * the bundle's startup application.
16411
16425
  *
16412
16426
  * Note: This method is restricted by default and must be enabled via
16413
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16427
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16428
+ * macOS requires RVM 21 or higher.
16414
16429
  *
16415
16430
  *
16416
16431
  * @remarks These protocols are reserved and cannot be registered:
@@ -16420,9 +16435,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16420
16435
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16421
16436
  *
16422
16437
  * @throws if a given custom protocol failed to be registered.
16423
- * @throws if a manifest URL contains the '%1' string.
16424
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16425
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16438
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16439
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16440
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16426
16441
  *
16427
16442
  * @example
16428
16443
  * ```js
@@ -16431,10 +16446,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16431
16446
  */
16432
16447
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16433
16448
  /**
16434
- * Removes the registry entry for a given custom protocol.
16449
+ * Unregisters this application as the handler for a custom protocol.
16450
+ *
16451
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16452
+ * bundle as the default handler and can only be called by the bundle's startup application.
16435
16453
  *
16436
16454
  * Note: This method is restricted by default and must be enabled via
16437
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16455
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16456
+ * macOS requires RVM 21 or higher.
16438
16457
  *
16439
16458
  *
16440
16459
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16443,7 +16462,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16443
16462
  * - openfin
16444
16463
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16445
16464
  *
16446
- * @throws if a protocol entry failed to be removed in registry.
16465
+ * @throws if the protocol registration could not be removed.
16447
16466
  *
16448
16467
  * @example
16449
16468
  * ```js
@@ -16454,8 +16473,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16454
16473
  /**
16455
16474
  * Retrieves the registration state for a given custom protocol.
16456
16475
  *
16476
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16477
+ * bundle is the default handler.
16478
+ *
16457
16479
  * Note: This method is restricted by default and must be enabled via
16458
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16480
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16481
+ * macOS requires RVM 21 or higher.
16459
16482
  *
16460
16483
  * @remarks These protocols are reserved and cannot get states for them:
16461
16484
  * - fin
@@ -5705,6 +5705,12 @@ declare type ExtensionActionListItem = {
5705
5705
  title: string;
5706
5706
  /** Renderer-safe icon (data URL). */
5707
5707
  iconDataUrl: string;
5708
+ /**
5709
+ * Whether this action is pinned. Pinned actions come first: extensions marked `pinned` in the manifest, in
5710
+ * the order they appear in the `extensions` array, then any other extensions force-pinned by policy.
5711
+ * Unpinned actions follow, sorted by title.
5712
+ */
5713
+ isPinned: boolean;
5708
5714
  };
5709
5715
 
5710
5716
  declare type ExtensionEvent = SecurityRealmEvent & {
@@ -9802,6 +9808,11 @@ declare type ManifestExtension = {
9802
9808
  * security extensions rather than extensions that add visible UI.
9803
9809
  */
9804
9810
  nonTabInjections?: NonTabInjectionRule[];
9811
+ /**
9812
+ * Marks the extension's toolbar action as pinned: it has `isPinned: true` in the extension actions list and
9813
+ * comes before unpinned actions. Pinned actions are ordered by their position in the `extensions` array.
9814
+ */
9815
+ pinned?: boolean;
9805
9816
  };
9806
9817
 
9807
9818
  /**
@@ -16406,11 +16417,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16406
16417
  */
16407
16418
  openUrlWithBrowser(url: string): Promise<void>;
16408
16419
  /**
16409
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
16410
- * overwrites the existing registry entry if the given custom protocol name already exists.
16420
+ * Registers this application as the handler for a custom protocol.
16421
+ *
16422
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16423
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16424
+ * the bundle's startup application.
16411
16425
  *
16412
16426
  * Note: This method is restricted by default and must be enabled via
16413
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16427
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16428
+ * macOS requires RVM 21 or higher.
16414
16429
  *
16415
16430
  *
16416
16431
  * @remarks These protocols are reserved and cannot be registered:
@@ -16420,9 +16435,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16420
16435
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16421
16436
  *
16422
16437
  * @throws if a given custom protocol failed to be registered.
16423
- * @throws if a manifest URL contains the '%1' string.
16424
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16425
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16438
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16439
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16440
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16426
16441
  *
16427
16442
  * @example
16428
16443
  * ```js
@@ -16431,10 +16446,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16431
16446
  */
16432
16447
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16433
16448
  /**
16434
- * Removes the registry entry for a given custom protocol.
16449
+ * Unregisters this application as the handler for a custom protocol.
16450
+ *
16451
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16452
+ * bundle as the default handler and can only be called by the bundle's startup application.
16435
16453
  *
16436
16454
  * Note: This method is restricted by default and must be enabled via
16437
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16455
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16456
+ * macOS requires RVM 21 or higher.
16438
16457
  *
16439
16458
  *
16440
16459
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16443,7 +16462,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16443
16462
  * - openfin
16444
16463
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16445
16464
  *
16446
- * @throws if a protocol entry failed to be removed in registry.
16465
+ * @throws if the protocol registration could not be removed.
16447
16466
  *
16448
16467
  * @example
16449
16468
  * ```js
@@ -16454,8 +16473,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16454
16473
  /**
16455
16474
  * Retrieves the registration state for a given custom protocol.
16456
16475
  *
16476
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16477
+ * bundle is the default handler.
16478
+ *
16457
16479
  * Note: This method is restricted by default and must be enabled via
16458
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16480
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16481
+ * macOS requires RVM 21 or higher.
16459
16482
  *
16460
16483
  * @remarks These protocols are reserved and cannot get states for them:
16461
16484
  * - fin
@@ -5705,6 +5705,12 @@ declare type ExtensionActionListItem = {
5705
5705
  title: string;
5706
5706
  /** Renderer-safe icon (data URL). */
5707
5707
  iconDataUrl: string;
5708
+ /**
5709
+ * Whether this action is pinned. Pinned actions come first: extensions marked `pinned` in the manifest, in
5710
+ * the order they appear in the `extensions` array, then any other extensions force-pinned by policy.
5711
+ * Unpinned actions follow, sorted by title.
5712
+ */
5713
+ isPinned: boolean;
5708
5714
  };
5709
5715
 
5710
5716
  declare type ExtensionEvent = SecurityRealmEvent & {
@@ -9802,6 +9808,11 @@ declare type ManifestExtension = {
9802
9808
  * security extensions rather than extensions that add visible UI.
9803
9809
  */
9804
9810
  nonTabInjections?: NonTabInjectionRule[];
9811
+ /**
9812
+ * Marks the extension's toolbar action as pinned: it has `isPinned: true` in the extension actions list and
9813
+ * comes before unpinned actions. Pinned actions are ordered by their position in the `extensions` array.
9814
+ */
9815
+ pinned?: boolean;
9805
9816
  };
9806
9817
 
9807
9818
  /**
@@ -16406,11 +16417,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16406
16417
  */
16407
16418
  openUrlWithBrowser(url: string): Promise<void>;
16408
16419
  /**
16409
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
16410
- * overwrites the existing registry entry if the given custom protocol name already exists.
16420
+ * Registers this application as the handler for a custom protocol.
16421
+ *
16422
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16423
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16424
+ * the bundle's startup application.
16411
16425
  *
16412
16426
  * Note: This method is restricted by default and must be enabled via
16413
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16427
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16428
+ * macOS requires RVM 21 or higher.
16414
16429
  *
16415
16430
  *
16416
16431
  * @remarks These protocols are reserved and cannot be registered:
@@ -16420,9 +16435,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16420
16435
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16421
16436
  *
16422
16437
  * @throws if a given custom protocol failed to be registered.
16423
- * @throws if a manifest URL contains the '%1' string.
16424
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16425
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16438
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16439
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16440
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16426
16441
  *
16427
16442
  * @example
16428
16443
  * ```js
@@ -16431,10 +16446,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16431
16446
  */
16432
16447
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16433
16448
  /**
16434
- * Removes the registry entry for a given custom protocol.
16449
+ * Unregisters this application as the handler for a custom protocol.
16450
+ *
16451
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16452
+ * bundle as the default handler and can only be called by the bundle's startup application.
16435
16453
  *
16436
16454
  * Note: This method is restricted by default and must be enabled via
16437
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16455
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16456
+ * macOS requires RVM 21 or higher.
16438
16457
  *
16439
16458
  *
16440
16459
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16443,7 +16462,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16443
16462
  * - openfin
16444
16463
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16445
16464
  *
16446
- * @throws if a protocol entry failed to be removed in registry.
16465
+ * @throws if the protocol registration could not be removed.
16447
16466
  *
16448
16467
  * @example
16449
16468
  * ```js
@@ -16454,8 +16473,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16454
16473
  /**
16455
16474
  * Retrieves the registration state for a given custom protocol.
16456
16475
  *
16476
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16477
+ * bundle is the default handler.
16478
+ *
16457
16479
  * Note: This method is restricted by default and must be enabled via
16458
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16480
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16481
+ * macOS requires RVM 21 or higher.
16459
16482
  *
16460
16483
  * @remarks These protocols are reserved and cannot get states for them:
16461
16484
  * - fin
package/out/stub.d.ts CHANGED
@@ -5850,6 +5850,12 @@ declare type ExtensionActionListItem = {
5850
5850
  title: string;
5851
5851
  /** Renderer-safe icon (data URL). */
5852
5852
  iconDataUrl: string;
5853
+ /**
5854
+ * Whether this action is pinned. Pinned actions come first: extensions marked `pinned` in the manifest, in
5855
+ * the order they appear in the `extensions` array, then any other extensions force-pinned by policy.
5856
+ * Unpinned actions follow, sorted by title.
5857
+ */
5858
+ isPinned: boolean;
5853
5859
  };
5854
5860
 
5855
5861
  declare type ExtensionEvent = SecurityRealmEvent & {
@@ -10180,6 +10186,11 @@ declare type ManifestExtension = {
10180
10186
  * security extensions rather than extensions that add visible UI.
10181
10187
  */
10182
10188
  nonTabInjections?: NonTabInjectionRule[];
10189
+ /**
10190
+ * Marks the extension's toolbar action as pinned: it has `isPinned: true` in the extension actions list and
10191
+ * comes before unpinned actions. Pinned actions are ordered by their position in the `extensions` array.
10192
+ */
10193
+ pinned?: boolean;
10183
10194
  };
10184
10195
 
10185
10196
  /**
@@ -16904,11 +16915,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16904
16915
  */
16905
16916
  openUrlWithBrowser(url: string): Promise<void>;
16906
16917
  /**
16907
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
16908
- * overwrites the existing registry entry if the given custom protocol name already exists.
16918
+ * Registers this application as the handler for a custom protocol.
16919
+ *
16920
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16921
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16922
+ * the bundle's startup application.
16909
16923
  *
16910
16924
  * Note: This method is restricted by default and must be enabled via
16911
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16925
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16926
+ * macOS requires RVM 21 or higher.
16912
16927
  *
16913
16928
  *
16914
16929
  * @remarks These protocols are reserved and cannot be registered:
@@ -16918,9 +16933,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16918
16933
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16919
16934
  *
16920
16935
  * @throws if a given custom protocol failed to be registered.
16921
- * @throws if a manifest URL contains the '%1' string.
16922
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16923
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16936
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16937
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16938
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16924
16939
  *
16925
16940
  * @example
16926
16941
  * ```js
@@ -16929,10 +16944,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16929
16944
  */
16930
16945
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16931
16946
  /**
16932
- * Removes the registry entry for a given custom protocol.
16947
+ * Unregisters this application as the handler for a custom protocol.
16948
+ *
16949
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16950
+ * bundle as the default handler and can only be called by the bundle's startup application.
16933
16951
  *
16934
16952
  * Note: This method is restricted by default and must be enabled via
16935
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16953
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16954
+ * macOS requires RVM 21 or higher.
16936
16955
  *
16937
16956
  *
16938
16957
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16941,7 +16960,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16941
16960
  * - openfin
16942
16961
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16943
16962
  *
16944
- * @throws if a protocol entry failed to be removed in registry.
16963
+ * @throws if the protocol registration could not be removed.
16945
16964
  *
16946
16965
  * @example
16947
16966
  * ```js
@@ -16952,8 +16971,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16952
16971
  /**
16953
16972
  * Retrieves the registration state for a given custom protocol.
16954
16973
  *
16974
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16975
+ * bundle is the default handler.
16976
+ *
16955
16977
  * Note: This method is restricted by default and must be enabled via
16956
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
16978
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16979
+ * macOS requires RVM 21 or higher.
16957
16980
  *
16958
16981
  * @remarks These protocols are reserved and cannot get states for them:
16959
16982
  * - fin
package/out/stub.js CHANGED
@@ -6185,11 +6185,15 @@ class System extends EmitterBase {
6185
6185
  return this.wire.sendAction('open-url-with-browser', { url }).then(() => undefined);
6186
6186
  }
6187
6187
  /**
6188
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
6189
- * overwrites the existing registry entry if the given custom protocol name already exists.
6188
+ * Registers this application as the handler for a custom protocol.
6189
+ *
6190
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
6191
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
6192
+ * the bundle's startup application.
6190
6193
  *
6191
6194
  * Note: This method is restricted by default and must be enabled via
6192
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6195
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6196
+ * macOS requires RVM 21 or higher.
6193
6197
  *
6194
6198
  *
6195
6199
  * @remarks These protocols are reserved and cannot be registered:
@@ -6199,9 +6203,9 @@ class System extends EmitterBase {
6199
6203
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6200
6204
  *
6201
6205
  * @throws if a given custom protocol failed to be registered.
6202
- * @throws if a manifest URL contains the '%1' string.
6203
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6204
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6206
+ * @throws On Windows, if a manifest URL contains the '%1' string.
6207
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6208
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6205
6209
  *
6206
6210
  * @example
6207
6211
  * ```js
@@ -6215,10 +6219,14 @@ class System extends EmitterBase {
6215
6219
  await this.wire.sendAction('register-custom-protocol', options);
6216
6220
  }
6217
6221
  /**
6218
- * Removes the registry entry for a given custom protocol.
6222
+ * Unregisters this application as the handler for a custom protocol.
6223
+ *
6224
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
6225
+ * bundle as the default handler and can only be called by the bundle's startup application.
6219
6226
  *
6220
6227
  * Note: This method is restricted by default and must be enabled via
6221
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6228
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6229
+ * macOS requires RVM 21 or higher.
6222
6230
  *
6223
6231
  *
6224
6232
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -6227,7 +6235,7 @@ class System extends EmitterBase {
6227
6235
  * - openfin
6228
6236
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6229
6237
  *
6230
- * @throws if a protocol entry failed to be removed in registry.
6238
+ * @throws if the protocol registration could not be removed.
6231
6239
  *
6232
6240
  * @example
6233
6241
  * ```js
@@ -6240,8 +6248,12 @@ class System extends EmitterBase {
6240
6248
  /**
6241
6249
  * Retrieves the registration state for a given custom protocol.
6242
6250
  *
6251
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
6252
+ * bundle is the default handler.
6253
+ *
6243
6254
  * Note: This method is restricted by default and must be enabled via
6244
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6255
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6256
+ * macOS requires RVM 21 or higher.
6245
6257
  *
6246
6258
  * @remarks These protocols are reserved and cannot get states for them:
6247
6259
  * - fin
package/out/stub.mjs CHANGED
@@ -6182,11 +6182,15 @@ class System extends EmitterBase {
6182
6182
  return this.wire.sendAction('open-url-with-browser', { url }).then(() => undefined);
6183
6183
  }
6184
6184
  /**
6185
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
6186
- * overwrites the existing registry entry if the given custom protocol name already exists.
6185
+ * Registers this application as the handler for a custom protocol.
6186
+ *
6187
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
6188
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
6189
+ * the bundle's startup application.
6187
6190
  *
6188
6191
  * Note: This method is restricted by default and must be enabled via
6189
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6192
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6193
+ * macOS requires RVM 21 or higher.
6190
6194
  *
6191
6195
  *
6192
6196
  * @remarks These protocols are reserved and cannot be registered:
@@ -6196,9 +6200,9 @@ class System extends EmitterBase {
6196
6200
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6197
6201
  *
6198
6202
  * @throws if a given custom protocol failed to be registered.
6199
- * @throws if a manifest URL contains the '%1' string.
6200
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6201
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6203
+ * @throws On Windows, if a manifest URL contains the '%1' string.
6204
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6205
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6202
6206
  *
6203
6207
  * @example
6204
6208
  * ```js
@@ -6212,10 +6216,14 @@ class System extends EmitterBase {
6212
6216
  await this.wire.sendAction('register-custom-protocol', options);
6213
6217
  }
6214
6218
  /**
6215
- * Removes the registry entry for a given custom protocol.
6219
+ * Unregisters this application as the handler for a custom protocol.
6220
+ *
6221
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
6222
+ * bundle as the default handler and can only be called by the bundle's startup application.
6216
6223
  *
6217
6224
  * Note: This method is restricted by default and must be enabled via
6218
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6225
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6226
+ * macOS requires RVM 21 or higher.
6219
6227
  *
6220
6228
  *
6221
6229
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -6224,7 +6232,7 @@ class System extends EmitterBase {
6224
6232
  * - openfin
6225
6233
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6226
6234
  *
6227
- * @throws if a protocol entry failed to be removed in registry.
6235
+ * @throws if the protocol registration could not be removed.
6228
6236
  *
6229
6237
  * @example
6230
6238
  * ```js
@@ -6237,8 +6245,12 @@ class System extends EmitterBase {
6237
6245
  /**
6238
6246
  * Retrieves the registration state for a given custom protocol.
6239
6247
  *
6248
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
6249
+ * bundle is the default handler.
6250
+ *
6240
6251
  * Note: This method is restricted by default and must be enabled via
6241
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6252
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6253
+ * macOS requires RVM 21 or higher.
6242
6254
  *
6243
6255
  * @remarks These protocols are reserved and cannot get states for them:
6244
6256
  * - fin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "47.100.55",
3
+ "version": "47.100.57",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",