@openfin/node-adapter 47.100.55 → 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.
Files changed (2) hide show
  1. package/out/node-adapter.js +23 -11
  2. package/package.json +2 -2
@@ -6017,11 +6017,15 @@ class System extends EmitterBase {
6017
6017
  return this.wire.sendAction('open-url-with-browser', { url }).then(() => undefined);
6018
6018
  }
6019
6019
  /**
6020
- * Creates a new registry entry under the HKCU root Windows registry key if the given custom protocol name doesn't exist or
6021
- * overwrites the existing registry entry if the given custom protocol name already exists.
6020
+ * Registers this application as the handler for a custom protocol.
6021
+ *
6022
+ * On Windows, this creates or overwrites an entry under the HKCU root registry key.
6023
+ * On macOS, this registers the current standalone application bundle through Launch Services and can only be called by
6024
+ * the bundle's startup application.
6022
6025
  *
6023
6026
  * Note: This method is restricted by default and must be enabled via
6024
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6027
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6028
+ * macOS requires RVM 21 or higher.
6025
6029
  *
6026
6030
  *
6027
6031
  * @remarks These protocols are reserved and cannot be registered:
@@ -6031,9 +6035,9 @@ class System extends EmitterBase {
6031
6035
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6032
6036
  *
6033
6037
  * @throws if a given custom protocol failed to be registered.
6034
- * @throws if a manifest URL contains the '%1' string.
6035
- * @throws if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6036
- * @throws if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6038
+ * @throws On Windows, if a manifest URL contains the '%1' string.
6039
+ * @throws On Windows, if a manifest URL contains a query string parameter which name equals to the Protocol Launch Request Parameter Name.
6040
+ * @throws On Windows, if the full length of the command string that is to be written to the registry exceeds 2048 bytes.
6037
6041
  *
6038
6042
  * @example
6039
6043
  * ```js
@@ -6047,10 +6051,14 @@ class System extends EmitterBase {
6047
6051
  await this.wire.sendAction('register-custom-protocol', options);
6048
6052
  }
6049
6053
  /**
6050
- * Removes the registry entry for a given custom protocol.
6054
+ * Unregisters this application as the handler for a custom protocol.
6055
+ *
6056
+ * On Windows, this removes the protocol's registry entry. On macOS, this removes the current standalone application
6057
+ * bundle as the default handler and can only be called by the bundle's startup application.
6051
6058
  *
6052
6059
  * Note: This method is restricted by default and must be enabled via
6053
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6060
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6061
+ * macOS requires RVM 21 or higher.
6054
6062
  *
6055
6063
  *
6056
6064
  * @remarks These protocols are reserved and cannot be unregistered:
@@ -6059,7 +6067,7 @@ class System extends EmitterBase {
6059
6067
  * - openfin
6060
6068
  * - URI Schemes registered with {@link https://en.wikipedia.org/wiki/List_of_URI_schemes#Official_IANA-registered_schemes IANA}
6061
6069
  *
6062
- * @throws if a protocol entry failed to be removed in registry.
6070
+ * @throws if the protocol registration could not be removed.
6063
6071
  *
6064
6072
  * @example
6065
6073
  * ```js
@@ -6072,8 +6080,12 @@ class System extends EmitterBase {
6072
6080
  /**
6073
6081
  * Retrieves the registration state for a given custom protocol.
6074
6082
  *
6083
+ * On Windows, this retrieves the protocol's registry state. On macOS, this reports whether the current application
6084
+ * bundle is the default handler.
6085
+ *
6075
6086
  * Note: This method is restricted by default and must be enabled via
6076
- * {@link https://developers.openfin.co/docs/api-security API security settings}. It requires RVM 12 or higher version.
6087
+ * {@link https://developers.openfin.co/docs/api-security API security settings}. Windows requires RVM 12 or higher.
6088
+ * macOS requires RVM 21 or higher.
6077
6089
  *
6078
6090
  * @remarks These protocols are reserved and cannot get states for them:
6079
6091
  * - fin
@@ -17754,7 +17766,7 @@ class NodeEnvironment extends BaseEnvironment {
17754
17766
  };
17755
17767
  }
17756
17768
  getAdapterVersionSync() {
17757
- return "47.100.55";
17769
+ return "47.100.56";
17758
17770
  }
17759
17771
  observeBounds(element, onChange) {
17760
17772
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "47.100.55",
3
+ "version": "47.100.56",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -20,7 +20,7 @@
20
20
  "es-toolkit": "^1.39.3",
21
21
  "ws": "^7.5.11",
22
22
  "tslib": "2.8.1",
23
- "@openfin/core": "47.100.55"
23
+ "@openfin/core": "47.100.56"
24
24
  },
25
25
  "scripts": {
26
26
  "prebuild": "rimraf ./out",