@openfin/node-adapter 36.78.6 → 36.78.8

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.
@@ -111,6 +111,13 @@ declare type ApiClient<T extends Record<any, any>> = {
111
111
  [key in keyof PickOfType<T, Function>]: (...args: Parameters<T[key]>) => ReturnType<T[key]> extends Promise<any> ? ReturnType<T[key]> : Promise<ReturnType<T[key]>>;
112
112
  };
113
113
 
114
+ /**
115
+ * @interface
116
+ */
117
+ declare type ApiInjection = {
118
+ fin: InjectionType;
119
+ };
120
+
114
121
  /**
115
122
  * Generated when a new Platform's API becomes responsive.
116
123
  * @interface
@@ -1244,10 +1251,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1244
1251
  */
1245
1252
  apiDiagnostics: boolean;
1246
1253
  /**
1247
- * Define the file download rules.
1248
- * See [here](https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads) for more details.
1254
+ * @deprecated Please use {@link domainSettings} instead
1249
1255
  */
1250
1256
  defaultDomainSettings: DefaultDomainSettings;
1257
+ /**
1258
+ * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
1259
+ */
1260
+ domainSettings: DomainSettings;
1251
1261
  /**
1252
1262
  * @defaultValue false
1253
1263
  *
@@ -4511,21 +4521,15 @@ declare type CustomRequestHeaders = {
4511
4521
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4512
4522
 
4513
4523
  /**
4524
+ * @deprecated Use {@link OpenFin.DomainSettings} instead.
4514
4525
  * @interface
4515
4526
  */
4516
- declare type DefaultDomainSettings = {
4517
- rules: DefaultDomainSettingsRule[];
4518
- };
4527
+ declare type DefaultDomainSettings = DomainSettings;
4519
4528
 
4520
4529
  /**
4521
- * @interface
4530
+ * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4522
4531
  */
4523
- declare type DefaultDomainSettingsRule = {
4524
- match: string[];
4525
- options: {
4526
- downloadSettings: FileDownloadSettings;
4527
- };
4528
- };
4532
+ declare type DefaultDomainSettingsRule = DomainSettingsRule;
4529
4533
 
4530
4534
  declare interface DesktopAgent {
4531
4535
  open(app: TargetApp, context?: Context): Promise<void>;
@@ -4770,6 +4774,25 @@ declare type DisplayMetadata_3 = {
4770
4774
  readonly glyph?: string;
4771
4775
  };
4772
4776
 
4777
+ /**
4778
+ * @interface
4779
+ * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
4780
+ */
4781
+ declare type DomainSettings = {
4782
+ rules: DomainSettingsRule[];
4783
+ };
4784
+
4785
+ /**
4786
+ * @interface
4787
+ */
4788
+ declare type DomainSettingsRule = {
4789
+ match: string[];
4790
+ options: {
4791
+ downloadSettings?: FileDownloadSettings;
4792
+ api?: ApiInjection;
4793
+ };
4794
+ };
4795
+
4773
4796
  /**
4774
4797
  * Metadata returned from a preload script download request.
4775
4798
  *
@@ -6654,6 +6677,11 @@ declare type InitPlatformOptions = {
6654
6677
  interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
6655
6678
  };
6656
6679
 
6680
+ /**
6681
+ * * 'none': The `fin` API will be not available from within this context.
6682
+ * * 'global': The entire `fin` API will be available from within this context.
6683
+ * @defaultValue 'global'
6684
+ */
6657
6685
  declare type InjectionType = 'none' | 'global';
6658
6686
 
6659
6687
  /**
@@ -8909,7 +8937,7 @@ declare type LayoutOptions = {
8909
8937
  declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
8910
8938
 
8911
8939
  /**
8912
- * @interface
8940
+ * Layout preset type.
8913
8941
  */
8914
8942
  declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
8915
8943
 
@@ -9961,6 +9989,9 @@ declare namespace OpenFin {
9961
9989
  RuntimeInfo,
9962
9990
  DefaultDomainSettings,
9963
9991
  DefaultDomainSettingsRule,
9992
+ DomainSettings,
9993
+ ApiInjection,
9994
+ DomainSettingsRule,
9964
9995
  FileDownloadBehaviorNames,
9965
9996
  FileDownloadSettings,
9966
9997
  DownloadRule,
@@ -111,6 +111,13 @@ declare type ApiClient<T extends Record<any, any>> = {
111
111
  [key in keyof PickOfType<T, Function>]: (...args: Parameters<T[key]>) => ReturnType<T[key]> extends Promise<any> ? ReturnType<T[key]> : Promise<ReturnType<T[key]>>;
112
112
  };
113
113
 
114
+ /**
115
+ * @interface
116
+ */
117
+ declare type ApiInjection = {
118
+ fin: InjectionType;
119
+ };
120
+
114
121
  /**
115
122
  * Generated when a new Platform's API becomes responsive.
116
123
  * @interface
@@ -1244,10 +1251,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1244
1251
  */
1245
1252
  apiDiagnostics: boolean;
1246
1253
  /**
1247
- * Define the file download rules.
1248
- * See [here](https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads) for more details.
1254
+ * @deprecated Please use {@link domainSettings} instead
1249
1255
  */
1250
1256
  defaultDomainSettings: DefaultDomainSettings;
1257
+ /**
1258
+ * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
1259
+ */
1260
+ domainSettings: DomainSettings;
1251
1261
  /**
1252
1262
  * @defaultValue false
1253
1263
  *
@@ -4511,21 +4521,15 @@ declare type CustomRequestHeaders = {
4511
4521
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4512
4522
 
4513
4523
  /**
4524
+ * @deprecated Use {@link OpenFin.DomainSettings} instead.
4514
4525
  * @interface
4515
4526
  */
4516
- declare type DefaultDomainSettings = {
4517
- rules: DefaultDomainSettingsRule[];
4518
- };
4527
+ declare type DefaultDomainSettings = DomainSettings;
4519
4528
 
4520
4529
  /**
4521
- * @interface
4530
+ * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4522
4531
  */
4523
- declare type DefaultDomainSettingsRule = {
4524
- match: string[];
4525
- options: {
4526
- downloadSettings: FileDownloadSettings;
4527
- };
4528
- };
4532
+ declare type DefaultDomainSettingsRule = DomainSettingsRule;
4529
4533
 
4530
4534
  declare interface DesktopAgent {
4531
4535
  open(app: TargetApp, context?: Context): Promise<void>;
@@ -4770,6 +4774,25 @@ declare type DisplayMetadata_3 = {
4770
4774
  readonly glyph?: string;
4771
4775
  };
4772
4776
 
4777
+ /**
4778
+ * @interface
4779
+ * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
4780
+ */
4781
+ declare type DomainSettings = {
4782
+ rules: DomainSettingsRule[];
4783
+ };
4784
+
4785
+ /**
4786
+ * @interface
4787
+ */
4788
+ declare type DomainSettingsRule = {
4789
+ match: string[];
4790
+ options: {
4791
+ downloadSettings?: FileDownloadSettings;
4792
+ api?: ApiInjection;
4793
+ };
4794
+ };
4795
+
4773
4796
  /**
4774
4797
  * Metadata returned from a preload script download request.
4775
4798
  *
@@ -6654,6 +6677,11 @@ declare type InitPlatformOptions = {
6654
6677
  interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
6655
6678
  };
6656
6679
 
6680
+ /**
6681
+ * * 'none': The `fin` API will be not available from within this context.
6682
+ * * 'global': The entire `fin` API will be available from within this context.
6683
+ * @defaultValue 'global'
6684
+ */
6657
6685
  declare type InjectionType = 'none' | 'global';
6658
6686
 
6659
6687
  /**
@@ -8909,7 +8937,7 @@ declare type LayoutOptions = {
8909
8937
  declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
8910
8938
 
8911
8939
  /**
8912
- * @interface
8940
+ * Layout preset type.
8913
8941
  */
8914
8942
  declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
8915
8943
 
@@ -9961,6 +9989,9 @@ declare namespace OpenFin {
9961
9989
  RuntimeInfo,
9962
9990
  DefaultDomainSettings,
9963
9991
  DefaultDomainSettingsRule,
9992
+ DomainSettings,
9993
+ ApiInjection,
9994
+ DomainSettingsRule,
9964
9995
  FileDownloadBehaviorNames,
9965
9996
  FileDownloadSettings,
9966
9997
  DownloadRule,
@@ -111,6 +111,13 @@ declare type ApiClient<T extends Record<any, any>> = {
111
111
  [key in keyof PickOfType<T, Function>]: (...args: Parameters<T[key]>) => ReturnType<T[key]> extends Promise<any> ? ReturnType<T[key]> : Promise<ReturnType<T[key]>>;
112
112
  };
113
113
 
114
+ /**
115
+ * @interface
116
+ */
117
+ declare type ApiInjection = {
118
+ fin: InjectionType;
119
+ };
120
+
114
121
  /**
115
122
  * Generated when a new Platform's API becomes responsive.
116
123
  * @interface
@@ -1244,10 +1251,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1244
1251
  */
1245
1252
  apiDiagnostics: boolean;
1246
1253
  /**
1247
- * Define the file download rules.
1248
- * See [here](https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads) for more details.
1254
+ * @deprecated Please use {@link domainSettings} instead
1249
1255
  */
1250
1256
  defaultDomainSettings: DefaultDomainSettings;
1257
+ /**
1258
+ * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
1259
+ */
1260
+ domainSettings: DomainSettings;
1251
1261
  /**
1252
1262
  * @defaultValue false
1253
1263
  *
@@ -4511,21 +4521,15 @@ declare type CustomRequestHeaders = {
4511
4521
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4512
4522
 
4513
4523
  /**
4524
+ * @deprecated Use {@link OpenFin.DomainSettings} instead.
4514
4525
  * @interface
4515
4526
  */
4516
- declare type DefaultDomainSettings = {
4517
- rules: DefaultDomainSettingsRule[];
4518
- };
4527
+ declare type DefaultDomainSettings = DomainSettings;
4519
4528
 
4520
4529
  /**
4521
- * @interface
4530
+ * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4522
4531
  */
4523
- declare type DefaultDomainSettingsRule = {
4524
- match: string[];
4525
- options: {
4526
- downloadSettings: FileDownloadSettings;
4527
- };
4528
- };
4532
+ declare type DefaultDomainSettingsRule = DomainSettingsRule;
4529
4533
 
4530
4534
  declare interface DesktopAgent {
4531
4535
  open(app: TargetApp, context?: Context): Promise<void>;
@@ -4770,6 +4774,25 @@ declare type DisplayMetadata_3 = {
4770
4774
  readonly glyph?: string;
4771
4775
  };
4772
4776
 
4777
+ /**
4778
+ * @interface
4779
+ * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
4780
+ */
4781
+ declare type DomainSettings = {
4782
+ rules: DomainSettingsRule[];
4783
+ };
4784
+
4785
+ /**
4786
+ * @interface
4787
+ */
4788
+ declare type DomainSettingsRule = {
4789
+ match: string[];
4790
+ options: {
4791
+ downloadSettings?: FileDownloadSettings;
4792
+ api?: ApiInjection;
4793
+ };
4794
+ };
4795
+
4773
4796
  /**
4774
4797
  * Metadata returned from a preload script download request.
4775
4798
  *
@@ -6654,6 +6677,11 @@ declare type InitPlatformOptions = {
6654
6677
  interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
6655
6678
  };
6656
6679
 
6680
+ /**
6681
+ * * 'none': The `fin` API will be not available from within this context.
6682
+ * * 'global': The entire `fin` API will be available from within this context.
6683
+ * @defaultValue 'global'
6684
+ */
6657
6685
  declare type InjectionType = 'none' | 'global';
6658
6686
 
6659
6687
  /**
@@ -8909,7 +8937,7 @@ declare type LayoutOptions = {
8909
8937
  declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
8910
8938
 
8911
8939
  /**
8912
- * @interface
8940
+ * Layout preset type.
8913
8941
  */
8914
8942
  declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
8915
8943
 
@@ -9961,6 +9989,9 @@ declare namespace OpenFin {
9961
9989
  RuntimeInfo,
9962
9990
  DefaultDomainSettings,
9963
9991
  DefaultDomainSettingsRule,
9992
+ DomainSettings,
9993
+ ApiInjection,
9994
+ DomainSettingsRule,
9964
9995
  FileDownloadBehaviorNames,
9965
9996
  FileDownloadSettings,
9966
9997
  DownloadRule,
@@ -111,6 +111,13 @@ declare type ApiClient<T extends Record<any, any>> = {
111
111
  [key in keyof PickOfType<T, Function>]: (...args: Parameters<T[key]>) => ReturnType<T[key]> extends Promise<any> ? ReturnType<T[key]> : Promise<ReturnType<T[key]>>;
112
112
  };
113
113
 
114
+ /**
115
+ * @interface
116
+ */
117
+ declare type ApiInjection = {
118
+ fin: InjectionType;
119
+ };
120
+
114
121
  /**
115
122
  * Generated when a new Platform's API becomes responsive.
116
123
  * @interface
@@ -1250,10 +1257,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1250
1257
  */
1251
1258
  apiDiagnostics: boolean;
1252
1259
  /**
1253
- * Define the file download rules.
1254
- * See [here](https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads) for more details.
1260
+ * @deprecated Please use {@link domainSettings} instead
1255
1261
  */
1256
1262
  defaultDomainSettings: DefaultDomainSettings;
1263
+ /**
1264
+ * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
1265
+ */
1266
+ domainSettings: DomainSettings;
1257
1267
  /**
1258
1268
  * @defaultValue false
1259
1269
  *
@@ -4554,21 +4564,15 @@ declare type CustomRequestHeaders = {
4554
4564
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4555
4565
 
4556
4566
  /**
4567
+ * @deprecated Use {@link OpenFin.DomainSettings} instead.
4557
4568
  * @interface
4558
4569
  */
4559
- declare type DefaultDomainSettings = {
4560
- rules: DefaultDomainSettingsRule[];
4561
- };
4570
+ declare type DefaultDomainSettings = DomainSettings;
4562
4571
 
4563
4572
  /**
4564
- * @interface
4573
+ * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4565
4574
  */
4566
- declare type DefaultDomainSettingsRule = {
4567
- match: string[];
4568
- options: {
4569
- downloadSettings: FileDownloadSettings;
4570
- };
4571
- };
4575
+ declare type DefaultDomainSettingsRule = DomainSettingsRule;
4572
4576
 
4573
4577
  declare interface DesktopAgent {
4574
4578
  open(app: TargetApp, context?: Context): Promise<void>;
@@ -4813,6 +4817,25 @@ declare type DisplayMetadata_3 = {
4813
4817
  readonly glyph?: string;
4814
4818
  };
4815
4819
 
4820
+ /**
4821
+ * @interface
4822
+ * Define the {@link https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads file download rules} and domain-based api injection rules.
4823
+ */
4824
+ declare type DomainSettings = {
4825
+ rules: DomainSettingsRule[];
4826
+ };
4827
+
4828
+ /**
4829
+ * @interface
4830
+ */
4831
+ declare type DomainSettingsRule = {
4832
+ match: string[];
4833
+ options: {
4834
+ downloadSettings?: FileDownloadSettings;
4835
+ api?: ApiInjection;
4836
+ };
4837
+ };
4838
+
4816
4839
  /**
4817
4840
  * Metadata returned from a preload script download request.
4818
4841
  *
@@ -6754,6 +6777,11 @@ declare type InitPlatformOptions = {
6754
6777
  interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
6755
6778
  };
6756
6779
 
6780
+ /**
6781
+ * * 'none': The `fin` API will be not available from within this context.
6782
+ * * 'global': The entire `fin` API will be available from within this context.
6783
+ * @defaultValue 'global'
6784
+ */
6757
6785
  declare type InjectionType = 'none' | 'global';
6758
6786
 
6759
6787
  /**
@@ -9208,7 +9236,7 @@ declare type LayoutOptions = {
9208
9236
  declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
9209
9237
 
9210
9238
  /**
9211
- * @interface
9239
+ * Layout preset type.
9212
9240
  */
9213
9241
  declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
9214
9242
 
@@ -10278,6 +10306,9 @@ declare namespace OpenFin {
10278
10306
  RuntimeInfo,
10279
10307
  DefaultDomainSettings,
10280
10308
  DefaultDomainSettingsRule,
10309
+ DomainSettings,
10310
+ ApiInjection,
10311
+ DomainSettingsRule,
10281
10312
  FileDownloadBehaviorNames,
10282
10313
  FileDownloadSettings,
10283
10314
  DownloadRule,
@@ -11735,7 +11735,7 @@ var __classPrivateFieldSet$4 = (commonjsGlobal && commonjsGlobal.__classPrivateF
11735
11735
  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");
11736
11736
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
11737
11737
  };
11738
- var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getSafeLayoutManager;
11738
+ var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getBackCompatLayoutManager, _LayoutModule_getSafeLayoutManager;
11739
11739
  Object.defineProperty(Factory$2, "__esModule", { value: true });
11740
11740
  Factory$2.LayoutModule = void 0;
11741
11741
  const base_1$5 = base$1;
@@ -11788,7 +11788,7 @@ class LayoutModule extends base_1$5.Base {
11788
11788
  * ```
11789
11789
  */
11790
11790
  this.init = async (options = {}) => {
11791
- this.wire.sendAction('layout-init').catch(() => {
11791
+ this.wire.sendAction('layout-init').catch((e) => {
11792
11792
  // don't expose
11793
11793
  });
11794
11794
  if (!this.fin.me.isWindow) {
@@ -11803,6 +11803,9 @@ class LayoutModule extends base_1$5.Base {
11803
11803
  const platformClient = await this.fin.Platform.getCurrentSync().getClient();
11804
11804
  const snapshot = await platformClient.dispatch('get-initial-layout-snapshot');
11805
11805
  await __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").applyLayoutSnapshot(snapshot);
11806
+ if (!options.layoutManagerOverride) {
11807
+ return __classPrivateFieldGet$4(this, _LayoutModule_getBackCompatLayoutManager, "f").call(this, this.fin);
11808
+ }
11806
11809
  // warn user if they do not call create() in the next 30 seconds
11807
11810
  setTimeout(() => {
11808
11811
  if (__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")?.size() === 0) {
@@ -11812,6 +11815,22 @@ class LayoutModule extends base_1$5.Base {
11812
11815
  }, 30000);
11813
11816
  return this.wrapSync(this.fin.me.identity);
11814
11817
  };
11818
+ _LayoutModule_getBackCompatLayoutManager.set(this, async (fin) => {
11819
+ let layoutManager;
11820
+ let resolve;
11821
+ const layoutResolved = new Promise((r) => {
11822
+ resolve = r;
11823
+ });
11824
+ // wait for a layout to be created
11825
+ await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
11826
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
11827
+ layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
11828
+ // Backward compat - undocumented / not typed openfin-layout as layoutManager
11829
+ // TODO: eventually deprecate this
11830
+ resolve(Object.assign(this.wrapSync(layoutIdentity), { layoutManager }));
11831
+ });
11832
+ return layoutResolved;
11833
+ });
11815
11834
  /**
11816
11835
  * Returns the layout manager for the current window
11817
11836
  * @returns
@@ -11846,7 +11865,7 @@ class LayoutModule extends base_1$5.Base {
11846
11865
  * ```
11847
11866
  */
11848
11867
  async wrap(identity) {
11849
- this.wire.sendAction('layout-wrap').catch(() => {
11868
+ this.wire.sendAction('layout-wrap').catch((e) => {
11850
11869
  // don't expose
11851
11870
  });
11852
11871
  return new Instance_1$2.Layout(identity, this.wire);
@@ -11871,7 +11890,7 @@ class LayoutModule extends base_1$5.Base {
11871
11890
  * ```
11872
11891
  */
11873
11892
  wrapSync(identity) {
11874
- this.wire.sendAction('layout-wrap-sync').catch(() => {
11893
+ this.wire.sendAction('layout-wrap-sync').catch((e) => {
11875
11894
  // don't expose
11876
11895
  });
11877
11896
  return new Instance_1$2.Layout(identity, this.wire);
@@ -11887,7 +11906,7 @@ class LayoutModule extends base_1$5.Base {
11887
11906
  * ```
11888
11907
  */
11889
11908
  async getCurrent() {
11890
- this.wire.sendAction('layout-get-current').catch(() => {
11909
+ this.wire.sendAction('layout-get-current').catch((e) => {
11891
11910
  // don't expose
11892
11911
  });
11893
11912
  if (!this.fin.me.isWindow) {
@@ -11910,7 +11929,7 @@ class LayoutModule extends base_1$5.Base {
11910
11929
  * ```
11911
11930
  */
11912
11931
  getCurrentSync() {
11913
- this.wire.sendAction('layout-get-current-sync').catch(() => {
11932
+ this.wire.sendAction('layout-get-current-sync').catch((e) => {
11914
11933
  // don't expose
11915
11934
  });
11916
11935
  if (!this.fin.me.isWindow) {
@@ -11921,7 +11940,7 @@ class LayoutModule extends base_1$5.Base {
11921
11940
  }
11922
11941
  }
11923
11942
  Factory$2.LayoutModule = LayoutModule;
11924
- _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_getSafeLayoutManager = function _LayoutModule_getSafeLayoutManager(method) {
11943
+ _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_getBackCompatLayoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_getSafeLayoutManager = function _LayoutModule_getSafeLayoutManager(method) {
11925
11944
  if (!__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")) {
11926
11945
  throw new Error(`You must call init before using the API ${method}`);
11927
11946
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "36.78.6",
3
+ "version": "36.78.8",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",