@openfin/remote-adapter 46.100.92 → 46.100.94
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.
- package/out/remote-adapter.js +22 -10
- package/package.json +2 -2
package/out/remote-adapter.js
CHANGED
|
@@ -8644,11 +8644,15 @@ class System extends EmitterBase {
|
|
|
8644
8644
|
return this.wire.sendAction('open-url-with-browser', { url }).then(() => undefined);
|
|
8645
8645
|
}
|
|
8646
8646
|
/**
|
|
8647
|
-
*
|
|
8648
|
-
*
|
|
8647
|
+
* Registers this application as the handler for a custom protocol.
|
|
8648
|
+
*
|
|
8649
|
+
* On Windows, this creates or overwrites an entry under the HKCU root registry key.
|
|
8650
|
+
* On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
|
|
8651
|
+
* the bundle's startup application.
|
|
8649
8652
|
*
|
|
8650
8653
|
* Note: This method is restricted by default and must be enabled via
|
|
8651
|
-
* {@link https://developers.openfin.co/docs/api-security API security settings}.
|
|
8654
|
+
* {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
|
|
8655
|
+
* macOS requires RVM 21 or higher.
|
|
8652
8656
|
*
|
|
8653
8657
|
*
|
|
8654
8658
|
* @remarks These protocols are reserved and cannot be registered:
|
|
@@ -8658,9 +8662,9 @@ class System extends EmitterBase {
|
|
|
8658
8662
|
* - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
|
|
8659
8663
|
*
|
|
8660
8664
|
* @throws if a given custom protocol failed to be registered.
|
|
8661
|
-
* @throws if a manifest URL contains the '%1' string.
|
|
8662
|
-
* @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
|
|
8663
|
-
* @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
|
|
8665
|
+
* @throws On Windows, if a manifest URL contains the '%1' string.
|
|
8666
|
+
* @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
|
|
8667
|
+
* @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
|
|
8664
8668
|
*
|
|
8665
8669
|
* @example
|
|
8666
8670
|
* ```js
|
|
@@ -8674,10 +8678,14 @@ class System extends EmitterBase {
|
|
|
8674
8678
|
await this.wire.sendAction('register-custom-protocol', options);
|
|
8675
8679
|
}
|
|
8676
8680
|
/**
|
|
8677
|
-
*
|
|
8681
|
+
* Unregisters this application as the handler for a custom protocol.
|
|
8682
|
+
*
|
|
8683
|
+
* On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
|
|
8684
|
+
* bundle as the default handler and can only be called by the bundle's startup application.
|
|
8678
8685
|
*
|
|
8679
8686
|
* Note: This method is restricted by default and must be enabled via
|
|
8680
|
-
* {@link https://developers.openfin.co/docs/api-security API security settings}.
|
|
8687
|
+
* {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
|
|
8688
|
+
* macOS requires RVM 21 or higher.
|
|
8681
8689
|
*
|
|
8682
8690
|
*
|
|
8683
8691
|
* @remarks These protocols are reserved and cannot be unregistered:
|
|
@@ -8686,7 +8694,7 @@ class System extends EmitterBase {
|
|
|
8686
8694
|
* - openfin
|
|
8687
8695
|
* - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
|
|
8688
8696
|
*
|
|
8689
|
-
* @throws if
|
|
8697
|
+
* @throws if the protocol registration could not be removed.
|
|
8690
8698
|
*
|
|
8691
8699
|
* @example
|
|
8692
8700
|
* ```js
|
|
@@ -8699,8 +8707,12 @@ class System extends EmitterBase {
|
|
|
8699
8707
|
/**
|
|
8700
8708
|
* Retrieves the registration state for a given custom protocol.
|
|
8701
8709
|
*
|
|
8710
|
+
* On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
|
|
8711
|
+
* bundle is the default handler.
|
|
8712
|
+
*
|
|
8702
8713
|
* Note: This method is restricted by default and must be enabled via
|
|
8703
|
-
* {@link https://developers.openfin.co/docs/api-security API security settings}.
|
|
8714
|
+
* {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
|
|
8715
|
+
* macOS requires RVM 21 or higher.
|
|
8704
8716
|
*
|
|
8705
8717
|
* @remarks These protocols are reserved and cannot get states for them:
|
|
8706
8718
|
* - fin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/remote-adapter",
|
|
3
|
-
"version": "46.100.
|
|
3
|
+
"version": "46.100.94",
|
|
4
4
|
"description": "Establish intermachine runtime connections using webRTC.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"private": false,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"es-toolkit": "^1.39.3",
|
|
18
18
|
"tslib": "2.8.1",
|
|
19
|
-
"@openfin/core": "46.100.
|
|
19
|
+
"@openfin/core": "46.100.94"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"prebuild": "rimraf ./out",
|