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