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