@openfin/node-adapter 41.100.17 → 41.100.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -2942,6 +2942,25 @@ function requireInstance$1 () {
2942
2942
  })
2943
2943
  .then(() => undefined);
2944
2944
  }
2945
+ /**
2946
+ * Set hover text for this application's system tray icon.
2947
+ * Note: Application must first set a tray icon with {@link Application.setTrayIcon}.
2948
+ * @param toolTip
2949
+ *
2950
+ * @example
2951
+ *
2952
+ * ```js
2953
+ * const app = fin.Application.getCurrentSync();
2954
+ * const iconUrl = "http://cdn.openfin.co/assets/testing/icons/circled-digit-one.png";
2955
+ *
2956
+ * await app.setTrayIcon(iconUrl);
2957
+ *
2958
+ * await app.setTrayIconToolTip('My Application');
2959
+ * ```
2960
+ */
2961
+ async setTrayIconToolTip(toolTip) {
2962
+ await this.wire.sendAction('set-tray-icon-tooltip', { ...this.identity, toolTip });
2963
+ }
2945
2964
  /**
2946
2965
  * Sets new application's shortcut configuration. Windows only.
2947
2966
  * @param config New application's shortcut configuration.
@@ -17760,7 +17779,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
17760
17779
  };
17761
17780
  }
17762
17781
  getAdapterVersionSync() {
17763
- return "41.100.17";
17782
+ return "41.100.19";
17764
17783
  }
17765
17784
  observeBounds(element, onChange) {
17766
17785
  throw new Error('Method not implemented.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "41.100.17",
3
+ "version": "41.100.19",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -24,7 +24,7 @@
24
24
  "author": "OpenFin",
25
25
  "dependencies": {
26
26
  "@types/node": "^20.14.2",
27
- "@openfin/core": "41.100.17",
27
+ "@openfin/core": "41.100.19",
28
28
  "lodash": "^4.17.21",
29
29
  "ws": "^7.3.0"
30
30
  }