@openfin/core 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
  *
@@ -4507,21 +4517,15 @@ declare type CustomRequestHeaders = {
4507
4517
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4508
4518
 
4509
4519
  /**
4520
+ * @deprecated Use {@link OpenFin.DomainSettings} instead.
4510
4521
  * @interface
4511
4522
  */
4512
- declare type DefaultDomainSettings = {
4513
- rules: DefaultDomainSettingsRule[];
4514
- };
4523
+ declare type DefaultDomainSettings = DomainSettings;
4515
4524
 
4516
4525
  /**
4517
- * @interface
4526
+ * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4518
4527
  */
4519
- declare type DefaultDomainSettingsRule = {
4520
- match: string[];
4521
- options: {
4522
- downloadSettings: FileDownloadSettings;
4523
- };
4524
- };
4528
+ declare type DefaultDomainSettingsRule = DomainSettingsRule;
4525
4529
 
4526
4530
  declare interface DesktopAgent {
4527
4531
  open(app: TargetApp, context?: Context): Promise<void>;
@@ -4766,6 +4770,25 @@ declare type DisplayMetadata_3 = {
4766
4770
  readonly glyph?: string;
4767
4771
  };
4768
4772
 
4773
+ /**
4774
+ * @interface
4775
+ * 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.
4776
+ */
4777
+ declare type DomainSettings = {
4778
+ rules: DomainSettingsRule[];
4779
+ };
4780
+
4781
+ /**
4782
+ * @interface
4783
+ */
4784
+ declare type DomainSettingsRule = {
4785
+ match: string[];
4786
+ options: {
4787
+ downloadSettings?: FileDownloadSettings;
4788
+ api?: ApiInjection;
4789
+ };
4790
+ };
4791
+
4769
4792
  /**
4770
4793
  * Metadata returned from a preload script download request.
4771
4794
  *
@@ -6646,6 +6669,11 @@ declare type InitPlatformOptions = {
6646
6669
  interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
6647
6670
  };
6648
6671
 
6672
+ /**
6673
+ * * 'none': The `fin` API will be not available from within this context.
6674
+ * * 'global': The entire `fin` API will be available from within this context.
6675
+ * @defaultValue 'global'
6676
+ */
6649
6677
  declare type InjectionType = 'none' | 'global';
6650
6678
 
6651
6679
  /**
@@ -8899,7 +8927,7 @@ declare type LayoutOptions = {
8899
8927
  declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
8900
8928
 
8901
8929
  /**
8902
- * @interface
8930
+ * Layout preset type.
8903
8931
  */
8904
8932
  declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
8905
8933
 
@@ -9951,6 +9979,9 @@ declare namespace OpenFin_2 {
9951
9979
  RuntimeInfo,
9952
9980
  DefaultDomainSettings,
9953
9981
  DefaultDomainSettingsRule,
9982
+ DomainSettings,
9983
+ ApiInjection,
9984
+ DomainSettingsRule,
9954
9985
  FileDownloadBehaviorNames,
9955
9986
  FileDownloadSettings,
9956
9987
  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
  *
@@ -4507,21 +4517,15 @@ declare type CustomRequestHeaders = {
4507
4517
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4508
4518
 
4509
4519
  /**
4520
+ * @deprecated Use {@link OpenFin.DomainSettings} instead.
4510
4521
  * @interface
4511
4522
  */
4512
- declare type DefaultDomainSettings = {
4513
- rules: DefaultDomainSettingsRule[];
4514
- };
4523
+ declare type DefaultDomainSettings = DomainSettings;
4515
4524
 
4516
4525
  /**
4517
- * @interface
4526
+ * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4518
4527
  */
4519
- declare type DefaultDomainSettingsRule = {
4520
- match: string[];
4521
- options: {
4522
- downloadSettings: FileDownloadSettings;
4523
- };
4524
- };
4528
+ declare type DefaultDomainSettingsRule = DomainSettingsRule;
4525
4529
 
4526
4530
  declare interface DesktopAgent {
4527
4531
  open(app: TargetApp, context?: Context): Promise<void>;
@@ -4766,6 +4770,25 @@ declare type DisplayMetadata_3 = {
4766
4770
  readonly glyph?: string;
4767
4771
  };
4768
4772
 
4773
+ /**
4774
+ * @interface
4775
+ * 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.
4776
+ */
4777
+ declare type DomainSettings = {
4778
+ rules: DomainSettingsRule[];
4779
+ };
4780
+
4781
+ /**
4782
+ * @interface
4783
+ */
4784
+ declare type DomainSettingsRule = {
4785
+ match: string[];
4786
+ options: {
4787
+ downloadSettings?: FileDownloadSettings;
4788
+ api?: ApiInjection;
4789
+ };
4790
+ };
4791
+
4769
4792
  /**
4770
4793
  * Metadata returned from a preload script download request.
4771
4794
  *
@@ -6646,6 +6669,11 @@ declare type InitPlatformOptions = {
6646
6669
  interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
6647
6670
  };
6648
6671
 
6672
+ /**
6673
+ * * 'none': The `fin` API will be not available from within this context.
6674
+ * * 'global': The entire `fin` API will be available from within this context.
6675
+ * @defaultValue 'global'
6676
+ */
6649
6677
  declare type InjectionType = 'none' | 'global';
6650
6678
 
6651
6679
  /**
@@ -8899,7 +8927,7 @@ declare type LayoutOptions = {
8899
8927
  declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
8900
8928
 
8901
8929
  /**
8902
- * @interface
8930
+ * Layout preset type.
8903
8931
  */
8904
8932
  declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
8905
8933
 
@@ -9951,6 +9979,9 @@ declare namespace OpenFin_2 {
9951
9979
  RuntimeInfo,
9952
9980
  DefaultDomainSettings,
9953
9981
  DefaultDomainSettingsRule,
9982
+ DomainSettings,
9983
+ ApiInjection,
9984
+ DomainSettingsRule,
9954
9985
  FileDownloadBehaviorNames,
9955
9986
  FileDownloadSettings,
9956
9987
  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
  *
@@ -4507,21 +4517,15 @@ declare type CustomRequestHeaders = {
4507
4517
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4508
4518
 
4509
4519
  /**
4520
+ * @deprecated Use {@link OpenFin.DomainSettings} instead.
4510
4521
  * @interface
4511
4522
  */
4512
- declare type DefaultDomainSettings = {
4513
- rules: DefaultDomainSettingsRule[];
4514
- };
4523
+ declare type DefaultDomainSettings = DomainSettings;
4515
4524
 
4516
4525
  /**
4517
- * @interface
4526
+ * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4518
4527
  */
4519
- declare type DefaultDomainSettingsRule = {
4520
- match: string[];
4521
- options: {
4522
- downloadSettings: FileDownloadSettings;
4523
- };
4524
- };
4528
+ declare type DefaultDomainSettingsRule = DomainSettingsRule;
4525
4529
 
4526
4530
  declare interface DesktopAgent {
4527
4531
  open(app: TargetApp, context?: Context): Promise<void>;
@@ -4766,6 +4770,25 @@ declare type DisplayMetadata_3 = {
4766
4770
  readonly glyph?: string;
4767
4771
  };
4768
4772
 
4773
+ /**
4774
+ * @interface
4775
+ * 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.
4776
+ */
4777
+ declare type DomainSettings = {
4778
+ rules: DomainSettingsRule[];
4779
+ };
4780
+
4781
+ /**
4782
+ * @interface
4783
+ */
4784
+ declare type DomainSettingsRule = {
4785
+ match: string[];
4786
+ options: {
4787
+ downloadSettings?: FileDownloadSettings;
4788
+ api?: ApiInjection;
4789
+ };
4790
+ };
4791
+
4769
4792
  /**
4770
4793
  * Metadata returned from a preload script download request.
4771
4794
  *
@@ -6646,6 +6669,11 @@ declare type InitPlatformOptions = {
6646
6669
  interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
6647
6670
  };
6648
6671
 
6672
+ /**
6673
+ * * 'none': The `fin` API will be not available from within this context.
6674
+ * * 'global': The entire `fin` API will be available from within this context.
6675
+ * @defaultValue 'global'
6676
+ */
6649
6677
  declare type InjectionType = 'none' | 'global';
6650
6678
 
6651
6679
  /**
@@ -8899,7 +8927,7 @@ declare type LayoutOptions = {
8899
8927
  declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
8900
8928
 
8901
8929
  /**
8902
- * @interface
8930
+ * Layout preset type.
8903
8931
  */
8904
8932
  declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
8905
8933
 
@@ -9951,6 +9979,9 @@ declare namespace OpenFin_2 {
9951
9979
  RuntimeInfo,
9952
9980
  DefaultDomainSettings,
9953
9981
  DefaultDomainSettingsRule,
9982
+ DomainSettings,
9983
+ ApiInjection,
9984
+ DomainSettingsRule,
9954
9985
  FileDownloadBehaviorNames,
9955
9986
  FileDownloadSettings,
9956
9987
  DownloadRule,
package/out/mock.d.ts CHANGED
@@ -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
  *
@@ -4550,21 +4560,15 @@ declare type CustomRequestHeaders = {
4550
4560
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4551
4561
 
4552
4562
  /**
4563
+ * @deprecated Use {@link OpenFin.DomainSettings} instead.
4553
4564
  * @interface
4554
4565
  */
4555
- declare type DefaultDomainSettings = {
4556
- rules: DefaultDomainSettingsRule[];
4557
- };
4566
+ declare type DefaultDomainSettings = DomainSettings;
4558
4567
 
4559
4568
  /**
4560
- * @interface
4569
+ * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4561
4570
  */
4562
- declare type DefaultDomainSettingsRule = {
4563
- match: string[];
4564
- options: {
4565
- downloadSettings: FileDownloadSettings;
4566
- };
4567
- };
4571
+ declare type DefaultDomainSettingsRule = DomainSettingsRule;
4568
4572
 
4569
4573
  declare interface DesktopAgent {
4570
4574
  open(app: TargetApp, context?: Context): Promise<void>;
@@ -4809,6 +4813,25 @@ declare type DisplayMetadata_3 = {
4809
4813
  readonly glyph?: string;
4810
4814
  };
4811
4815
 
4816
+ /**
4817
+ * @interface
4818
+ * 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.
4819
+ */
4820
+ declare type DomainSettings = {
4821
+ rules: DomainSettingsRule[];
4822
+ };
4823
+
4824
+ /**
4825
+ * @interface
4826
+ */
4827
+ declare type DomainSettingsRule = {
4828
+ match: string[];
4829
+ options: {
4830
+ downloadSettings?: FileDownloadSettings;
4831
+ api?: ApiInjection;
4832
+ };
4833
+ };
4834
+
4812
4835
  /**
4813
4836
  * Metadata returned from a preload script download request.
4814
4837
  *
@@ -6724,6 +6747,11 @@ declare type InitPlatformOptions = {
6724
6747
  interopOverride?: OverrideCallback<InteropBroker> | ConstructorOverride<InteropBroker>[];
6725
6748
  };
6726
6749
 
6750
+ /**
6751
+ * * 'none': The `fin` API will be not available from within this context.
6752
+ * * 'global': The entire `fin` API will be available from within this context.
6753
+ * @defaultValue 'global'
6754
+ */
6727
6755
  declare type InjectionType = 'none' | 'global';
6728
6756
 
6729
6757
  /**
@@ -9176,7 +9204,7 @@ declare type LayoutOptions = {
9176
9204
  declare type LayoutPosition = 'top' | 'bottom' | 'left' | 'right';
9177
9205
 
9178
9206
  /**
9179
- * @interface
9207
+ * Layout preset type.
9180
9208
  */
9181
9209
  declare type LayoutPresetType = 'columns' | 'grid' | 'rows' | 'tabs';
9182
9210
 
@@ -10246,6 +10274,9 @@ declare namespace OpenFin_2 {
10246
10274
  RuntimeInfo,
10247
10275
  DefaultDomainSettings,
10248
10276
  DefaultDomainSettingsRule,
10277
+ DomainSettings,
10278
+ ApiInjection,
10279
+ DomainSettingsRule,
10249
10280
  FileDownloadBehaviorNames,
10250
10281
  FileDownloadSettings,
10251
10282
  DownloadRule,
package/out/mock.js CHANGED
@@ -11955,7 +11955,7 @@ var __classPrivateFieldSet$4 = (commonjsGlobal && commonjsGlobal.__classPrivateF
11955
11955
  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");
11956
11956
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
11957
11957
  };
11958
- var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getSafeLayoutManager;
11958
+ var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_getBackCompatLayoutManager, _LayoutModule_getSafeLayoutManager;
11959
11959
  Object.defineProperty(Factory$2, "__esModule", { value: true });
11960
11960
  Factory$2.LayoutModule = void 0;
11961
11961
  const base_1$5 = base;
@@ -12008,7 +12008,7 @@ class LayoutModule extends base_1$5.Base {
12008
12008
  * ```
12009
12009
  */
12010
12010
  this.init = async (options = {}) => {
12011
- this.wire.sendAction('layout-init').catch(() => {
12011
+ this.wire.sendAction('layout-init').catch((e) => {
12012
12012
  // don't expose
12013
12013
  });
12014
12014
  if (!this.fin.me.isWindow) {
@@ -12023,6 +12023,9 @@ class LayoutModule extends base_1$5.Base {
12023
12023
  const platformClient = await this.fin.Platform.getCurrentSync().getClient();
12024
12024
  const snapshot = await platformClient.dispatch('get-initial-layout-snapshot');
12025
12025
  await __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").applyLayoutSnapshot(snapshot);
12026
+ if (!options.layoutManagerOverride) {
12027
+ return __classPrivateFieldGet$4(this, _LayoutModule_getBackCompatLayoutManager, "f").call(this, this.fin);
12028
+ }
12026
12029
  // warn user if they do not call create() in the next 30 seconds
12027
12030
  setTimeout(() => {
12028
12031
  if (__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")?.size() === 0) {
@@ -12032,6 +12035,22 @@ class LayoutModule extends base_1$5.Base {
12032
12035
  }, 30000);
12033
12036
  return this.wrapSync(this.fin.me.identity);
12034
12037
  };
12038
+ _LayoutModule_getBackCompatLayoutManager.set(this, async (fin) => {
12039
+ let layoutManager;
12040
+ let resolve;
12041
+ const layoutResolved = new Promise((r) => {
12042
+ resolve = r;
12043
+ });
12044
+ // wait for a layout to be created
12045
+ await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
12046
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
12047
+ layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
12048
+ // Backward compat - undocumented / not typed openfin-layout as layoutManager
12049
+ // TODO: eventually deprecate this
12050
+ resolve(Object.assign(this.wrapSync(layoutIdentity), { layoutManager }));
12051
+ });
12052
+ return layoutResolved;
12053
+ });
12035
12054
  /**
12036
12055
  * Returns the layout manager for the current window
12037
12056
  * @returns
@@ -12066,7 +12085,7 @@ class LayoutModule extends base_1$5.Base {
12066
12085
  * ```
12067
12086
  */
12068
12087
  async wrap(identity) {
12069
- this.wire.sendAction('layout-wrap').catch(() => {
12088
+ this.wire.sendAction('layout-wrap').catch((e) => {
12070
12089
  // don't expose
12071
12090
  });
12072
12091
  return new Instance_1$2.Layout(identity, this.wire);
@@ -12091,7 +12110,7 @@ class LayoutModule extends base_1$5.Base {
12091
12110
  * ```
12092
12111
  */
12093
12112
  wrapSync(identity) {
12094
- this.wire.sendAction('layout-wrap-sync').catch(() => {
12113
+ this.wire.sendAction('layout-wrap-sync').catch((e) => {
12095
12114
  // don't expose
12096
12115
  });
12097
12116
  return new Instance_1$2.Layout(identity, this.wire);
@@ -12107,7 +12126,7 @@ class LayoutModule extends base_1$5.Base {
12107
12126
  * ```
12108
12127
  */
12109
12128
  async getCurrent() {
12110
- this.wire.sendAction('layout-get-current').catch(() => {
12129
+ this.wire.sendAction('layout-get-current').catch((e) => {
12111
12130
  // don't expose
12112
12131
  });
12113
12132
  if (!this.fin.me.isWindow) {
@@ -12130,7 +12149,7 @@ class LayoutModule extends base_1$5.Base {
12130
12149
  * ```
12131
12150
  */
12132
12151
  getCurrentSync() {
12133
- this.wire.sendAction('layout-get-current-sync').catch(() => {
12152
+ this.wire.sendAction('layout-get-current-sync').catch((e) => {
12134
12153
  // don't expose
12135
12154
  });
12136
12155
  if (!this.fin.me.isWindow) {
@@ -12141,7 +12160,7 @@ class LayoutModule extends base_1$5.Base {
12141
12160
  }
12142
12161
  }
12143
12162
  Factory$2.LayoutModule = LayoutModule;
12144
- _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_getSafeLayoutManager = function _LayoutModule_getSafeLayoutManager(method) {
12163
+ _LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_getBackCompatLayoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_getSafeLayoutManager = function _LayoutModule_getSafeLayoutManager(method) {
12145
12164
  if (!__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")) {
12146
12165
  throw new Error(`You must call init before using the API ${method}`);
12147
12166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "36.78.6",
3
+ "version": "36.78.8",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",