@openfin/remote-adapter 41.83.3 → 41.100.18

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.
@@ -5509,7 +5509,7 @@ class WebContents extends base_1$i.EmitterBase {
5509
5509
  * bounds: {top: 10, left: 10, width: 200, height: 200}
5510
5510
  * });
5511
5511
  *
5512
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
5512
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
5513
5513
  *
5514
5514
  * const sharedWorkers = await view.getSharedWorkers();
5515
5515
  * ```
@@ -5520,7 +5520,7 @@ class WebContents extends base_1$i.EmitterBase {
5520
5520
  * name:'child',
5521
5521
  * defaultWidth: 300,
5522
5522
  * defaultHeight: 300,
5523
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
5523
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
5524
5524
  * frame: true,
5525
5525
  * autoShow: true
5526
5526
  * };
@@ -5547,7 +5547,7 @@ class WebContents extends base_1$i.EmitterBase {
5547
5547
  * bounds: {top: 10, left: 10, width: 200, height: 200}
5548
5548
  * });
5549
5549
  *
5550
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
5550
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
5551
5551
  *
5552
5552
  * await view.inspectSharedWorker();
5553
5553
  * ```
@@ -5558,7 +5558,7 @@ class WebContents extends base_1$i.EmitterBase {
5558
5558
  * name:'child',
5559
5559
  * defaultWidth: 300,
5560
5560
  * defaultHeight: 300,
5561
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
5561
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
5562
5562
  * frame: true,
5563
5563
  * autoShow: true
5564
5564
  * };
@@ -5586,7 +5586,7 @@ class WebContents extends base_1$i.EmitterBase {
5586
5586
  * bounds: {top: 10, left: 10, width: 200, height: 200}
5587
5587
  * });
5588
5588
  *
5589
- * await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
5589
+ * await view.navigate('https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/');
5590
5590
  *
5591
5591
  * const sharedWorkers = await view.getSharedWorkers();
5592
5592
  * await view.inspectSharedWorkerById(sharedWorkers[0].id);
@@ -5598,7 +5598,7 @@ class WebContents extends base_1$i.EmitterBase {
5598
5598
  * name:'child',
5599
5599
  * defaultWidth: 300,
5600
5600
  * defaultHeight: 300,
5601
- * url: 'http://mdn.github.io/simple-shared-worker/index2.html',
5601
+ * url: 'https://mdn.github.io/dom-examples/web-workers/simple-shared-worker/',
5602
5602
  * frame: true,
5603
5603
  * autoShow: true
5604
5604
  * };
@@ -6463,6 +6463,25 @@ function requireInstance$2 () {
6463
6463
  })
6464
6464
  .then(() => undefined);
6465
6465
  }
6466
+ /**
6467
+ * Set hover text for this application's system tray icon.
6468
+ * Note: Application must first set a tray icon with {@link Application.setTrayIcon}.
6469
+ * @param toolTip
6470
+ *
6471
+ * @example
6472
+ *
6473
+ * ```js
6474
+ * const app = fin.Application.getCurrentSync();
6475
+ * const iconUrl = "http://cdn.openfin.co/assets/testing/icons/circled-digit-one.png";
6476
+ *
6477
+ * await app.setTrayIcon(iconUrl);
6478
+ *
6479
+ * await app.setTrayIconToolTip('My Application');
6480
+ * ```
6481
+ */
6482
+ async setTrayIconToolTip(toolTip) {
6483
+ await this.wire.sendAction('set-tray-icon-tooltip', { ...this.identity, toolTip });
6484
+ }
6466
6485
  /**
6467
6486
  * Sets new application's shortcut configuration. Windows only.
6468
6487
  * @param config New application's shortcut configuration.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/remote-adapter",
3
- "version": "41.83.3",
3
+ "version": "41.100.18",
4
4
  "description": "Establish intermachine runtime connections using webRTC.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,
@@ -14,11 +14,12 @@
14
14
  "build": "rollup -c --bundleConfigAsCjs",
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
  "author": "OpenFin",
20
21
  "dependencies": {
21
22
  "lodash": "^4.17.21",
22
- "@openfin/core": "41.83.3"
23
+ "@openfin/core": "41.100.18"
23
24
  }
24
25
  }