@openfin/node-adapter 34.78.63 → 34.78.66

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.
@@ -3494,6 +3494,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3494
3494
  * @interface
3495
3495
  */
3496
3496
  declare type ConstViewOptions = {
3497
+ /**
3498
+ * Configurations for API injection.
3499
+ */
3500
+ api: Api;
3497
3501
  /**
3498
3502
  * The name of the view.
3499
3503
  */
@@ -3574,9 +3578,13 @@ declare type ConstViewOptions = {
3574
3578
  /**
3575
3579
  * Controls interaction of the view with its parent window's download shelf.
3576
3580
  */
3577
- downloadShelf?: {
3581
+ downloadShelf: {
3578
3582
  /**
3579
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3583
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3584
+ *
3585
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3586
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3587
+ * `enabled: false`.
3580
3588
  */
3581
3589
  enabled: boolean;
3582
3590
  };
@@ -3692,6 +3700,12 @@ declare type ConstWindowOptions = {
3692
3700
  * launches in favor of the cached value.
3693
3701
  */
3694
3702
  defaultWidth: number;
3703
+ /**
3704
+ * Controls the styling and behavior of the window download shelf.
3705
+ *
3706
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3707
+ * triggered by the window itself, or a view targeting the window.
3708
+ */
3695
3709
  downloadShelf: DownloadShelfOptions;
3696
3710
  height: number;
3697
3711
  layout: any;
@@ -4832,14 +4846,24 @@ declare type DownloadRule = {
4832
4846
  * @interface
4833
4847
  *
4834
4848
  * Controls the styling and behavior of the window download shelf.
4849
+ *
4850
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4851
+ * triggered by the window itself, or a view targeting the window.
4835
4852
  */
4836
4853
  declare type DownloadShelfOptions = {
4837
4854
  /**
4838
- * Whether downloads in this window trigger opening the download shelf.
4855
+ * Whether downloads in this window trigger display of the download shelf.
4856
+ *
4857
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4858
+ * with `downloadShelf: { enabled: true }` initiates a download.
4839
4859
  */
4840
4860
  enabled: boolean;
4841
4861
  /**
4842
4862
  * Styling options for the download shelf border.
4863
+ *
4864
+ * @remarks These apply regardless of whether download shelf display was
4865
+ * triggered by this window itself, or a view targeting the window. Individual views
4866
+ * cannot control the rendering of their parent window's download shelf.
4843
4867
  */
4844
4868
  border?: {
4845
4869
  /**
@@ -4849,7 +4873,7 @@ declare type DownloadShelfOptions = {
4849
4873
  */
4850
4874
  size?: number;
4851
4875
  /**
4852
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4876
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4853
4877
  * if absent.
4854
4878
  */
4855
4879
  color?: string;
@@ -7799,8 +7823,6 @@ declare type InteropBrokerOptions = {
7799
7823
  *
7800
7824
  */
7801
7825
  /**
7802
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7803
- *
7804
7826
  * The Interop Client API is broken up into two groups:
7805
7827
  *
7806
7828
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -8203,7 +8225,7 @@ declare class InteropClient extends Base {
8203
8225
  * ```
8204
8226
  */
8205
8227
  onDisconnection(listener: OpenFin.InteropClientOnDisconnectionListener): Promise<void>;
8206
- static ferryFdc3Call(interopClient: OpenFin.InteropClient, action: string, payload?: any): Promise<any>;
8228
+ /* Excluded from this release type: ferryFdc3Call */
8207
8229
  }
8208
8230
 
8209
8231
  /**
@@ -9140,7 +9162,7 @@ declare type LayoutOptions = {
9140
9162
  * @defaultValue false
9141
9163
  *
9142
9164
  * Limits the area to which tabs can be dragged.
9143
- * If true, stack headers are the only areas where tabs can be dropped.
9165
+ * If true, the layout container is the only area where tabs can be dropped.
9144
9166
  */
9145
9167
  constrainDragToContainer?: boolean;
9146
9168
  /**
@@ -9932,7 +9954,7 @@ declare type MutableWindowOptions = {
9932
9954
  showTaskbarIcon: boolean;
9933
9955
  interop: InteropConfig;
9934
9956
  /* Excluded from this release type: _internalWorkspaceData */
9935
- workspacePlatform: unknown;
9957
+ /* Excluded from this release type: workspacePlatform */
9936
9958
  };
9937
9959
 
9938
9960
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -3494,6 +3494,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3494
3494
  * @interface
3495
3495
  */
3496
3496
  declare type ConstViewOptions = {
3497
+ /**
3498
+ * Configurations for API injection.
3499
+ */
3500
+ api: Api;
3497
3501
  /**
3498
3502
  * The name of the view.
3499
3503
  */
@@ -3574,9 +3578,13 @@ declare type ConstViewOptions = {
3574
3578
  /**
3575
3579
  * Controls interaction of the view with its parent window's download shelf.
3576
3580
  */
3577
- downloadShelf?: {
3581
+ downloadShelf: {
3578
3582
  /**
3579
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3583
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3584
+ *
3585
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3586
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3587
+ * `enabled: false`.
3580
3588
  */
3581
3589
  enabled: boolean;
3582
3590
  };
@@ -3692,6 +3700,12 @@ declare type ConstWindowOptions = {
3692
3700
  * launches in favor of the cached value.
3693
3701
  */
3694
3702
  defaultWidth: number;
3703
+ /**
3704
+ * Controls the styling and behavior of the window download shelf.
3705
+ *
3706
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3707
+ * triggered by the window itself, or a view targeting the window.
3708
+ */
3695
3709
  downloadShelf: DownloadShelfOptions;
3696
3710
  height: number;
3697
3711
  layout: any;
@@ -4832,14 +4846,24 @@ declare type DownloadRule = {
4832
4846
  * @interface
4833
4847
  *
4834
4848
  * Controls the styling and behavior of the window download shelf.
4849
+ *
4850
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4851
+ * triggered by the window itself, or a view targeting the window.
4835
4852
  */
4836
4853
  declare type DownloadShelfOptions = {
4837
4854
  /**
4838
- * Whether downloads in this window trigger opening the download shelf.
4855
+ * Whether downloads in this window trigger display of the download shelf.
4856
+ *
4857
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4858
+ * with `downloadShelf: { enabled: true }` initiates a download.
4839
4859
  */
4840
4860
  enabled: boolean;
4841
4861
  /**
4842
4862
  * Styling options for the download shelf border.
4863
+ *
4864
+ * @remarks These apply regardless of whether download shelf display was
4865
+ * triggered by this window itself, or a view targeting the window. Individual views
4866
+ * cannot control the rendering of their parent window's download shelf.
4843
4867
  */
4844
4868
  border?: {
4845
4869
  /**
@@ -4849,7 +4873,7 @@ declare type DownloadShelfOptions = {
4849
4873
  */
4850
4874
  size?: number;
4851
4875
  /**
4852
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4876
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4853
4877
  * if absent.
4854
4878
  */
4855
4879
  color?: string;
@@ -7799,8 +7823,6 @@ declare type InteropBrokerOptions = {
7799
7823
  *
7800
7824
  */
7801
7825
  /**
7802
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7803
- *
7804
7826
  * The Interop Client API is broken up into two groups:
7805
7827
  *
7806
7828
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -8203,7 +8225,7 @@ declare class InteropClient extends Base {
8203
8225
  * ```
8204
8226
  */
8205
8227
  onDisconnection(listener: OpenFin.InteropClientOnDisconnectionListener): Promise<void>;
8206
- static ferryFdc3Call(interopClient: OpenFin.InteropClient, action: string, payload?: any): Promise<any>;
8228
+ /* Excluded from this release type: ferryFdc3Call */
8207
8229
  }
8208
8230
 
8209
8231
  /**
@@ -9140,7 +9162,7 @@ declare type LayoutOptions = {
9140
9162
  * @defaultValue false
9141
9163
  *
9142
9164
  * Limits the area to which tabs can be dragged.
9143
- * If true, stack headers are the only areas where tabs can be dropped.
9165
+ * If true, the layout container is the only area where tabs can be dropped.
9144
9166
  */
9145
9167
  constrainDragToContainer?: boolean;
9146
9168
  /**
@@ -9932,7 +9954,7 @@ declare type MutableWindowOptions = {
9932
9954
  showTaskbarIcon: boolean;
9933
9955
  interop: InteropConfig;
9934
9956
  /* Excluded from this release type: _internalWorkspaceData */
9935
- workspacePlatform: unknown;
9957
+ /* Excluded from this release type: workspacePlatform */
9936
9958
  };
9937
9959
 
9938
9960
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -3494,6 +3494,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3494
3494
  * @interface
3495
3495
  */
3496
3496
  declare type ConstViewOptions = {
3497
+ /**
3498
+ * Configurations for API injection.
3499
+ */
3500
+ api: Api;
3497
3501
  /**
3498
3502
  * The name of the view.
3499
3503
  */
@@ -3574,9 +3578,13 @@ declare type ConstViewOptions = {
3574
3578
  /**
3575
3579
  * Controls interaction of the view with its parent window's download shelf.
3576
3580
  */
3577
- downloadShelf?: {
3581
+ downloadShelf: {
3578
3582
  /**
3579
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3583
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3584
+ *
3585
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3586
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3587
+ * `enabled: false`.
3580
3588
  */
3581
3589
  enabled: boolean;
3582
3590
  };
@@ -3692,6 +3700,12 @@ declare type ConstWindowOptions = {
3692
3700
  * launches in favor of the cached value.
3693
3701
  */
3694
3702
  defaultWidth: number;
3703
+ /**
3704
+ * Controls the styling and behavior of the window download shelf.
3705
+ *
3706
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3707
+ * triggered by the window itself, or a view targeting the window.
3708
+ */
3695
3709
  downloadShelf: DownloadShelfOptions;
3696
3710
  height: number;
3697
3711
  layout: any;
@@ -4832,14 +4846,24 @@ declare type DownloadRule = {
4832
4846
  * @interface
4833
4847
  *
4834
4848
  * Controls the styling and behavior of the window download shelf.
4849
+ *
4850
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4851
+ * triggered by the window itself, or a view targeting the window.
4835
4852
  */
4836
4853
  declare type DownloadShelfOptions = {
4837
4854
  /**
4838
- * Whether downloads in this window trigger opening the download shelf.
4855
+ * Whether downloads in this window trigger display of the download shelf.
4856
+ *
4857
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4858
+ * with `downloadShelf: { enabled: true }` initiates a download.
4839
4859
  */
4840
4860
  enabled: boolean;
4841
4861
  /**
4842
4862
  * Styling options for the download shelf border.
4863
+ *
4864
+ * @remarks These apply regardless of whether download shelf display was
4865
+ * triggered by this window itself, or a view targeting the window. Individual views
4866
+ * cannot control the rendering of their parent window's download shelf.
4843
4867
  */
4844
4868
  border?: {
4845
4869
  /**
@@ -4849,7 +4873,7 @@ declare type DownloadShelfOptions = {
4849
4873
  */
4850
4874
  size?: number;
4851
4875
  /**
4852
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4876
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4853
4877
  * if absent.
4854
4878
  */
4855
4879
  color?: string;
@@ -7799,8 +7823,6 @@ declare type InteropBrokerOptions = {
7799
7823
  *
7800
7824
  */
7801
7825
  /**
7802
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7803
- *
7804
7826
  * The Interop Client API is broken up into two groups:
7805
7827
  *
7806
7828
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -8203,7 +8225,7 @@ declare class InteropClient extends Base {
8203
8225
  * ```
8204
8226
  */
8205
8227
  onDisconnection(listener: OpenFin.InteropClientOnDisconnectionListener): Promise<void>;
8206
- static ferryFdc3Call(interopClient: OpenFin.InteropClient, action: string, payload?: any): Promise<any>;
8228
+ /* Excluded from this release type: ferryFdc3Call */
8207
8229
  }
8208
8230
 
8209
8231
  /**
@@ -9140,7 +9162,7 @@ declare type LayoutOptions = {
9140
9162
  * @defaultValue false
9141
9163
  *
9142
9164
  * Limits the area to which tabs can be dragged.
9143
- * If true, stack headers are the only areas where tabs can be dropped.
9165
+ * If true, the layout container is the only area where tabs can be dropped.
9144
9166
  */
9145
9167
  constrainDragToContainer?: boolean;
9146
9168
  /**
@@ -9932,7 +9954,7 @@ declare type MutableWindowOptions = {
9932
9954
  showTaskbarIcon: boolean;
9933
9955
  interop: InteropConfig;
9934
9956
  /* Excluded from this release type: _internalWorkspaceData */
9935
- workspacePlatform: unknown;
9957
+ /* Excluded from this release type: workspacePlatform */
9936
9958
  };
9937
9959
 
9938
9960
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -3537,6 +3537,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3537
3537
  * @interface
3538
3538
  */
3539
3539
  declare type ConstViewOptions = {
3540
+ /**
3541
+ * Configurations for API injection.
3542
+ */
3543
+ api: Api;
3540
3544
  /**
3541
3545
  * The name of the view.
3542
3546
  */
@@ -3617,9 +3621,13 @@ declare type ConstViewOptions = {
3617
3621
  /**
3618
3622
  * Controls interaction of the view with its parent window's download shelf.
3619
3623
  */
3620
- downloadShelf?: {
3624
+ downloadShelf: {
3621
3625
  /**
3622
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3626
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3627
+ *
3628
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3629
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3630
+ * `enabled: false`.
3623
3631
  */
3624
3632
  enabled: boolean;
3625
3633
  };
@@ -3735,6 +3743,12 @@ declare type ConstWindowOptions = {
3735
3743
  * launches in favor of the cached value.
3736
3744
  */
3737
3745
  defaultWidth: number;
3746
+ /**
3747
+ * Controls the styling and behavior of the window download shelf.
3748
+ *
3749
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3750
+ * triggered by the window itself, or a view targeting the window.
3751
+ */
3738
3752
  downloadShelf: DownloadShelfOptions;
3739
3753
  height: number;
3740
3754
  layout: any;
@@ -4875,14 +4889,24 @@ declare type DownloadRule = {
4875
4889
  * @interface
4876
4890
  *
4877
4891
  * Controls the styling and behavior of the window download shelf.
4892
+ *
4893
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4894
+ * triggered by the window itself, or a view targeting the window.
4878
4895
  */
4879
4896
  declare type DownloadShelfOptions = {
4880
4897
  /**
4881
- * Whether downloads in this window trigger opening the download shelf.
4898
+ * Whether downloads in this window trigger display of the download shelf.
4899
+ *
4900
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4901
+ * with `downloadShelf: { enabled: true }` initiates a download.
4882
4902
  */
4883
4903
  enabled: boolean;
4884
4904
  /**
4885
4905
  * Styling options for the download shelf border.
4906
+ *
4907
+ * @remarks These apply regardless of whether download shelf display was
4908
+ * triggered by this window itself, or a view targeting the window. Individual views
4909
+ * cannot control the rendering of their parent window's download shelf.
4886
4910
  */
4887
4911
  border?: {
4888
4912
  /**
@@ -4892,7 +4916,7 @@ declare type DownloadShelfOptions = {
4892
4916
  */
4893
4917
  size?: number;
4894
4918
  /**
4895
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4919
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4896
4920
  * if absent.
4897
4921
  */
4898
4922
  color?: string;
@@ -7914,8 +7938,6 @@ declare type InteropBrokerOptions = {
7914
7938
  *
7915
7939
  */
7916
7940
  /**
7917
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7918
- *
7919
7941
  * The Interop Client API is broken up into two groups:
7920
7942
  *
7921
7943
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -8321,6 +8343,11 @@ declare class InteropClient extends Base {
8321
8343
  * ```
8322
8344
  */
8323
8345
  onDisconnection(listener: OpenFin.InteropClientOnDisconnectionListener): Promise<void>;
8346
+ /**
8347
+ * @internal
8348
+ *
8349
+ * Used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
8350
+ */
8324
8351
  static ferryFdc3Call(interopClient: OpenFin.InteropClient, action: string, payload?: any): Promise<any>;
8325
8352
  }
8326
8353
 
@@ -9434,7 +9461,7 @@ declare type LayoutOptions = {
9434
9461
  * @defaultValue false
9435
9462
  *
9436
9463
  * Limits the area to which tabs can be dragged.
9437
- * If true, stack headers are the only areas where tabs can be dropped.
9464
+ * If true, the layout container is the only area where tabs can be dropped.
9438
9465
  */
9439
9466
  constrainDragToContainer?: boolean;
9440
9467
  /**
@@ -10234,7 +10261,11 @@ declare type MutableWindowOptions = {
10234
10261
  * Used by Workspace to store custom data. Overwriting or modifying this field may impact the functionality of Workspace
10235
10262
  */
10236
10263
  _internalWorkspaceData: any;
10237
- workspacePlatform: unknown;
10264
+ /**
10265
+ * @internal
10266
+ * Used by workspace to stork platform specific options. Overwriting or modifying this field may impact the functionality of Workspace
10267
+ */
10268
+ workspacePlatform: WorkspacePlatformOptions;
10238
10269
  };
10239
10270
 
10240
10271
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -12755,7 +12755,7 @@ var __classPrivateFieldSet$4 = (commonjsGlobal && commonjsGlobal.__classPrivateF
12755
12755
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
12756
12756
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
12757
12757
  };
12758
- var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getBackCompatLayoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
12758
+ var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_waitForBackCompatLayoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
12759
12759
  Object.defineProperty(Factory$2, "__esModule", { value: true });
12760
12760
  Factory$2.LayoutModule = void 0;
12761
12761
  const base_1$5 = base$1;
@@ -12819,12 +12819,17 @@ class LayoutModule extends base_1$5.Base {
12819
12819
  }
12820
12820
  __classPrivateFieldSet$4(this, _LayoutModule_layoutInitializationAttempted, true, "f");
12821
12821
  __classPrivateFieldSet$4(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
12822
+ // in single-layout case, we return the undocumented layoutManager type (deprecate with CORE-1081)
12823
+ let backCompatLayoutPromise;
12824
+ if (!options.layoutManagerOverride) {
12825
+ backCompatLayoutPromise = __classPrivateFieldGet$4(this, _LayoutModule_waitForBackCompatLayoutManager, "f").call(this, this.fin);
12826
+ }
12822
12827
  // apply the initial snapshot which in turn will call fin.Platform.Layout.create()
12823
12828
  const platformClient = await this.fin.Platform.getCurrentSync().getClient();
12824
12829
  const snapshot = await platformClient.dispatch('get-initial-layout-snapshot');
12825
12830
  await __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").applyLayoutSnapshot(snapshot);
12826
- if (!options.layoutManagerOverride) {
12827
- return __classPrivateFieldGet$4(this, _LayoutModule_getBackCompatLayoutManager, "f").call(this, this.fin);
12831
+ if (backCompatLayoutPromise) {
12832
+ return backCompatLayoutPromise;
12828
12833
  }
12829
12834
  // warn user if they do not call create() in the next 30 seconds
12830
12835
  setTimeout(() => {
@@ -12835,7 +12840,8 @@ class LayoutModule extends base_1$5.Base {
12835
12840
  }, 30000);
12836
12841
  return this.wrapSync(this.fin.me.identity);
12837
12842
  };
12838
- _LayoutModule_getBackCompatLayoutManager.set(this, async (fin) => {
12843
+ // deprecate with CORE-1081
12844
+ _LayoutModule_waitForBackCompatLayoutManager.set(this, async (fin) => {
12839
12845
  let layoutManager;
12840
12846
  let resolve;
12841
12847
  const layoutResolved = new Promise((r) => {
@@ -12843,6 +12849,7 @@ class LayoutModule extends base_1$5.Base {
12843
12849
  });
12844
12850
  // wait for a layout to be created
12845
12851
  await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
12852
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
12846
12853
  layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
12847
12854
  // Backward compat - undocumented / not typed openfin-layout as layoutManager
12848
12855
  // TODO: eventually deprecate this
@@ -12963,7 +12970,7 @@ class LayoutModule extends base_1$5.Base {
12963
12970
  }
12964
12971
  }
12965
12972
  Factory$2.LayoutModule = LayoutModule;
12966
- _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_getBackCompatLayoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized(method) {
12973
+ _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_waitForBackCompatLayoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized(method) {
12967
12974
  if (!__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")) {
12968
12975
  throw new Error(`You must call init before using the API ${method}`);
12969
12976
  }
@@ -15444,8 +15451,6 @@ const utils_1$2 = utils$1;
15444
15451
  *
15445
15452
  */
15446
15453
  /**
15447
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
15448
- *
15449
15454
  * The Interop Client API is broken up into two groups:
15450
15455
  *
15451
15456
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -16011,7 +16016,11 @@ class InteropClient extends base_1$2.Base {
16011
16016
  listener({ type: 'interop-broker', topic: 'disconnected', brokerName: uuid });
16012
16017
  });
16013
16018
  }
16014
- // used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
16019
+ /**
16020
+ * @internal
16021
+ *
16022
+ * Used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
16023
+ */
16015
16024
  static async ferryFdc3Call(interopClient, action, payload) {
16016
16025
  const client = await __classPrivateFieldGet$2(interopClient, _InteropClient_clientPromise, "f");
16017
16026
  return client.dispatch(action, payload || null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "34.78.63",
3
+ "version": "34.78.66",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",