@openfin/core 47.100.54 → 47.100.56

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.
@@ -16406,11 +16406,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16406
16406
  */
16407
16407
  openUrlWithBrowser(url: string): Promise<void>;
16408
16408
  /**
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.
16409
+ * Registers this application as the handler for a custom protocol.
16410
+ *
16411
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16412
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16413
+ * the bundle's startup application.
16411
16414
  *
16412
16415
  * 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.
16416
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16417
+ * macOS requires RVM 21 or higher.
16414
16418
  *
16415
16419
  *
16416
16420
  * @remarks These protocols are reserved and cannot be registered:
@@ -16420,9 +16424,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16420
16424
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16421
16425
  *
16422
16426
  * @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.
16427
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16428
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16429
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16426
16430
  *
16427
16431
  * @example
16428
16432
  * ```js
@@ -16431,10 +16435,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16431
16435
  */
16432
16436
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16433
16437
  /**
16434
- * Removes the registry entry for a given custom protocol.
16438
+ * Unregisters this application as the handler for a custom protocol.
16439
+ *
16440
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16441
+ * bundle as the default handler and can only be called by the bundle's startup application.
16435
16442
  *
16436
16443
  * 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.
16444
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16445
+ * macOS requires RVM 21 or higher.
16438
16446
  *
16439
16447
  *
16440
16448
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16443,7 +16451,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16443
16451
  * - openfin
16444
16452
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16445
16453
  *
16446
- * @throws if a protocol entry failed to be removed in registry.
16454
+ * @throws if the protocol registration could not be removed.
16447
16455
  *
16448
16456
  * @example
16449
16457
  * ```js
@@ -16454,8 +16462,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16454
16462
  /**
16455
16463
  * Retrieves the registration state for a given custom protocol.
16456
16464
  *
16465
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16466
+ * bundle is the default handler.
16467
+ *
16457
16468
  * 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.
16469
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16470
+ * macOS requires RVM 21 or higher.
16459
16471
  *
16460
16472
  * @remarks These protocols are reserved and cannot get states for them:
16461
16473
  * - fin
@@ -16406,11 +16406,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16406
16406
  */
16407
16407
  openUrlWithBrowser(url: string): Promise<void>;
16408
16408
  /**
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.
16409
+ * Registers this application as the handler for a custom protocol.
16410
+ *
16411
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16412
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16413
+ * the bundle's startup application.
16411
16414
  *
16412
16415
  * 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.
16416
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16417
+ * macOS requires RVM 21 or higher.
16414
16418
  *
16415
16419
  *
16416
16420
  * @remarks These protocols are reserved and cannot be registered:
@@ -16420,9 +16424,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16420
16424
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16421
16425
  *
16422
16426
  * @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.
16427
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16428
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16429
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16426
16430
  *
16427
16431
  * @example
16428
16432
  * ```js
@@ -16431,10 +16435,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16431
16435
  */
16432
16436
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16433
16437
  /**
16434
- * Removes the registry entry for a given custom protocol.
16438
+ * Unregisters this application as the handler for a custom protocol.
16439
+ *
16440
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16441
+ * bundle as the default handler and can only be called by the bundle's startup application.
16435
16442
  *
16436
16443
  * 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.
16444
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16445
+ * macOS requires RVM 21 or higher.
16438
16446
  *
16439
16447
  *
16440
16448
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16443,7 +16451,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16443
16451
  * - openfin
16444
16452
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16445
16453
  *
16446
- * @throws if a protocol entry failed to be removed in registry.
16454
+ * @throws if the protocol registration could not be removed.
16447
16455
  *
16448
16456
  * @example
16449
16457
  * ```js
@@ -16454,8 +16462,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16454
16462
  /**
16455
16463
  * Retrieves the registration state for a given custom protocol.
16456
16464
  *
16465
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16466
+ * bundle is the default handler.
16467
+ *
16457
16468
  * 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.
16469
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16470
+ * macOS requires RVM 21 or higher.
16459
16471
  *
16460
16472
  * @remarks These protocols are reserved and cannot get states for them:
16461
16473
  * - fin
@@ -16406,11 +16406,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16406
16406
  */
16407
16407
  openUrlWithBrowser(url: string): Promise<void>;
16408
16408
  /**
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.
16409
+ * Registers this application as the handler for a custom protocol.
16410
+ *
16411
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16412
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16413
+ * the bundle's startup application.
16411
16414
  *
16412
16415
  * 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.
16416
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16417
+ * macOS requires RVM 21 or higher.
16414
16418
  *
16415
16419
  *
16416
16420
  * @remarks These protocols are reserved and cannot be registered:
@@ -16420,9 +16424,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16420
16424
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16421
16425
  *
16422
16426
  * @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.
16427
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16428
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16429
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16426
16430
  *
16427
16431
  * @example
16428
16432
  * ```js
@@ -16431,10 +16435,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16431
16435
  */
16432
16436
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16433
16437
  /**
16434
- * Removes the registry entry for a given custom protocol.
16438
+ * Unregisters this application as the handler for a custom protocol.
16439
+ *
16440
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16441
+ * bundle as the default handler and can only be called by the bundle's startup application.
16435
16442
  *
16436
16443
  * 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.
16444
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16445
+ * macOS requires RVM 21 or higher.
16438
16446
  *
16439
16447
  *
16440
16448
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16443,7 +16451,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16443
16451
  * - openfin
16444
16452
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16445
16453
  *
16446
- * @throws if a protocol entry failed to be removed in registry.
16454
+ * @throws if the protocol registration could not be removed.
16447
16455
  *
16448
16456
  * @example
16449
16457
  * ```js
@@ -16454,8 +16462,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16454
16462
  /**
16455
16463
  * Retrieves the registration state for a given custom protocol.
16456
16464
  *
16465
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16466
+ * bundle is the default handler.
16467
+ *
16457
16468
  * 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.
16469
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16470
+ * macOS requires RVM 21 or higher.
16459
16471
  *
16460
16472
  * @remarks These protocols are reserved and cannot get states for them:
16461
16473
  * - fin
package/out/stub.d.ts CHANGED
@@ -16904,11 +16904,15 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16904
16904
  */
16905
16905
  openUrlWithBrowser(url: string): Promise<void>;
16906
16906
  /**
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.
16907
+ * Registers this application as the handler for a custom protocol.
16908
+ *
16909
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
16910
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
16911
+ * the bundle's startup application.
16909
16912
  *
16910
16913
  * 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.
16914
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16915
+ * macOS requires RVM 21 or higher.
16912
16916
  *
16913
16917
  *
16914
16918
  * @remarks These protocols are reserved and cannot be registered:
@@ -16918,9 +16922,9 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16918
16922
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16919
16923
  *
16920
16924
  * @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.
16925
+ * @throws On Windows, if a manifest URL contains the '%1' string.
16926
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
16927
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
16924
16928
  *
16925
16929
  * @example
16926
16930
  * ```js
@@ -16929,10 +16933,14 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16929
16933
  */
16930
16934
  registerCustomProtocol(options: OpenFin_2.CustomProtocolOptions): Promise<void>;
16931
16935
  /**
16932
- * Removes the registry entry for a given custom protocol.
16936
+ * Unregisters this application as the handler for a custom protocol.
16937
+ *
16938
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
16939
+ * bundle as the default handler and can only be called by the bundle's startup application.
16933
16940
  *
16934
16941
  * 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.
16942
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16943
+ * macOS requires RVM 21 or higher.
16936
16944
  *
16937
16945
  *
16938
16946
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -16941,7 +16949,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16941
16949
  * - openfin
16942
16950
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
16943
16951
  *
16944
- * @throws if a protocol entry failed to be removed in registry.
16952
+ * @throws if the protocol registration could not be removed.
16945
16953
  *
16946
16954
  * @example
16947
16955
  * ```js
@@ -16952,8 +16960,12 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16952
16960
  /**
16953
16961
  * Retrieves the registration state for a given custom protocol.
16954
16962
  *
16963
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
16964
+ * bundle is the default handler.
16965
+ *
16955
16966
  * 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.
16967
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
16968
+ * macOS requires RVM 21 or higher.
16957
16969
  *
16958
16970
  * @remarks These protocols are reserved and cannot get states for them:
16959
16971
  * - 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.54",
3
+ "version": "47.100.56",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",