@openfin/node-adapter 41.83.3 → 41.100.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1410,7 +1410,7 @@ class WebContents extends base_1$j.EmitterBase {
1410
1410
  * bounds: {top: 10, left: 10, width: 200, height: 200}
1411
1411
  * });
1412
1412
  *
1413
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
1413
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
1414
1414
  *
1415
1415
  * const sharedWorkers = await view.getSharedWorkers();
1416
1416
  * ```
@@ -1421,7 +1421,7 @@ class WebContents extends base_1$j.EmitterBase {
1421
1421
  * name:'child',
1422
1422
  * defaultWidth: 300,
1423
1423
  * defaultHeight: 300,
1424
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
1424
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
1425
1425
  * frame: true,
1426
1426
  * autoShow: true
1427
1427
  * };
@@ -1448,7 +1448,7 @@ class WebContents extends base_1$j.EmitterBase {
1448
1448
  * bounds: {top: 10, left: 10, width: 200, height: 200}
1449
1449
  * });
1450
1450
  *
1451
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
1451
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
1452
1452
  *
1453
1453
  * await view.inspectSharedWorker();
1454
1454
  * ```
@@ -1459,7 +1459,7 @@ class WebContents extends base_1$j.EmitterBase {
1459
1459
  * name:'child',
1460
1460
  * defaultWidth: 300,
1461
1461
  * defaultHeight: 300,
1462
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
1462
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
1463
1463
  * frame: true,
1464
1464
  * autoShow: true
1465
1465
  * };
@@ -1487,7 +1487,7 @@ class WebContents extends base_1$j.EmitterBase {
1487
1487
  * bounds: {top: 10, left: 10, width: 200, height: 200}
1488
1488
  * });
1489
1489
  *
1490
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
1490
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
1491
1491
  *
1492
1492
  * const sharedWorkers = await view.getSharedWorkers();
1493
1493
  * await view.inspectSharedWorkerById(sharedWorkers[0].id);
@@ -1499,7 +1499,7 @@ class WebContents extends base_1$j.EmitterBase {
1499
1499
  * name:'child',
1500
1500
  * defaultWidth: 300,
1501
1501
  * defaultHeight: 300,
1502
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
1502
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
1503
1503
  * frame: true,
1504
1504
  * autoShow: true
1505
1505
  * };
@@ -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.83.3";
17782
+ return "41.100.18";
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.83.3",
3
+ "version": "41.100.18",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
@@ -14,7 +14,8 @@
14
14
  "watch": "rollup --config --watch --environment MODE:development",
15
15
  "ci:prepublish": "of-npm prepublish",
16
16
  "ci:postpublish": "of-npm postpublish",
17
- "ci:publish": "npm publish"
17
+ "ci:publish": "npm publish",
18
+ "version:update": "of-npm version --allow-same-version '$RMAJOR.$RMINOR.$RPATCH'"
18
19
  },
19
20
  "files": [
20
21
  "out/*",
@@ -23,7 +24,7 @@
23
24
  "author": "OpenFin",
24
25
  "dependencies": {
25
26
  "@types/node": "^20.14.2",
26
- "@openfin/core": "41.83.3",
27
+ "@openfin/core": "41.100.18",
27
28
  "lodash": "^4.17.21",
28
29
  "ws": "^7.3.0"
29
30
  }
@@ -11,11 +11,11 @@
11
11
  <key>CFBundlePackageType</key>
12
12
  <string>APPL</string>
13
13
  <key>CFBundleShortVersionString</key>
14
- <string>13.0.0.130</string>
14
+ <string>15.1.0.2</string>
15
15
  <key>CFBundleSignature</key>
16
16
  <string>????</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>13.0.0.130</string>
18
+ <string>15.1.0.2</string>
19
19
  <key>LSUIElement</key>
20
20
  <true/>
21
21
  <key>NSAppTransportSecurity</key>
@@ -11,11 +11,11 @@
11
11
  <key>CFBundlePackageType</key>
12
12
  <string>APPL</string>
13
13
  <key>CFBundleShortVersionString</key>
14
- <string>13.0.0.130</string>
14
+ <string>15.1.0.2</string>
15
15
  <key>CFBundleSignature</key>
16
16
  <string>ORVM</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>13.0.0.130</string>
18
+ <string>15.1.0.2</string>
19
19
  <key>LSUIElement</key>
20
20
  <true/>
21
21
  <key>NSAppTransportSecurity</key>
@@ -15,7 +15,7 @@
15
15
  <dict>
16
16
  <key>cdhash</key>
17
17
  <data>
18
- 5DUF7vB6Z3x7Mo+HmqcZ9LxbYj4=
18
+ /Hb64aWF/Isx7Chu1El7wKSeBuo=
19
19
  </data>
20
20
  <key>requirement</key>
21
21
  <string>identifier "com.openfin.finlinks-handler" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = W2JK4V99Y5</string>
Binary file