@openfin/node-adapter 34.78.20 → 34.78.22

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.
@@ -12643,6 +12643,25 @@ class Layout extends base_1$6.Base {
12643
12643
  target: this.identity
12644
12644
  });
12645
12645
  }
12646
+ /**
12647
+ * Retrieves the attached views in current window layout.
12648
+ *
12649
+ * @example
12650
+ * ```js
12651
+ * const layout = fin.Platform.Layout.getCurrentSync();
12652
+ * const views = await layout.getCurrentViews();
12653
+ * ```
12654
+ */
12655
+ async getCurrentViews() {
12656
+ this.wire.sendAction('layout-get-views').catch((e) => {
12657
+ // don't expose
12658
+ });
12659
+ const client = await this.platform.getClient();
12660
+ const viewIdentities = await client.dispatch('get-layout-views', {
12661
+ target: this.identity
12662
+ });
12663
+ return viewIdentities.map((identity) => this.fin.View.wrapSync(identity));
12664
+ }
12646
12665
  /**
12647
12666
  * Retrieves the top level content item of the layout.
12648
12667
  *
@@ -17801,6 +17820,11 @@ Object.defineProperty(application, "__esModule", { value: true });
17801
17820
 
17802
17821
  var base = {};
17803
17822
 
17823
+ /**
17824
+ * Namespace for shared event payloads and utility types common to all event emitters.
17825
+ *
17826
+ * @packageDocumentation
17827
+ */
17804
17828
  Object.defineProperty(base, "__esModule", { value: true });
17805
17829
 
17806
17830
  var externalApplication = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "34.78.20",
3
+ "version": "34.78.22",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",