@openfin/core 39.82.10 → 39.82.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1279,6 +1279,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1279
1279
  * When set to `true`, any `beforeunload` handler set on the app will fire.
1280
1280
  */
1281
1281
  enableBeforeUnload: boolean;
1282
+ /**
1283
+ * Set the timezone for the app logs. When setting this value the timestamp will be in ISO 8601 format. By default, if no value is set, it will show the local time in this format: 'y-MM-dd HH:mm:ss.SSS'
1284
+ */
1285
+ appLogsTimezone: TimeZones;
1282
1286
  };
1283
1287
 
1284
1288
  /**
@@ -9001,6 +9005,7 @@ declare namespace OpenFin_2 {
9001
9005
  WindowBounds,
9002
9006
  Rectangle,
9003
9007
  ApplicationCreationOptions,
9008
+ TimeZones,
9004
9009
  ApplicationOptions,
9005
9010
  CustomProtocolMissingState,
9006
9011
  CustomProtocolMalformedState,
@@ -14302,6 +14307,8 @@ declare type Time = {
14302
14307
  irq: number;
14303
14308
  };
14304
14309
 
14310
+ declare type TimeZones = 'utc' | 'local';
14311
+
14305
14312
  /**
14306
14313
  * @interface
14307
14314
  */
@@ -1279,6 +1279,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1279
1279
  * When set to `true`, any `beforeunload` handler set on the app will fire.
1280
1280
  */
1281
1281
  enableBeforeUnload: boolean;
1282
+ /**
1283
+ * Set the timezone for the app logs. When setting this value the timestamp will be in ISO 8601 format. By default, if no value is set, it will show the local time in this format: 'y-MM-dd HH:mm:ss.SSS'
1284
+ */
1285
+ appLogsTimezone: TimeZones;
1282
1286
  };
1283
1287
 
1284
1288
  /**
@@ -9001,6 +9005,7 @@ declare namespace OpenFin_2 {
9001
9005
  WindowBounds,
9002
9006
  Rectangle,
9003
9007
  ApplicationCreationOptions,
9008
+ TimeZones,
9004
9009
  ApplicationOptions,
9005
9010
  CustomProtocolMissingState,
9006
9011
  CustomProtocolMalformedState,
@@ -14302,6 +14307,8 @@ declare type Time = {
14302
14307
  irq: number;
14303
14308
  };
14304
14309
 
14310
+ declare type TimeZones = 'utc' | 'local';
14311
+
14305
14312
  /**
14306
14313
  * @interface
14307
14314
  */
@@ -1279,6 +1279,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1279
1279
  * When set to `true`, any `beforeunload` handler set on the app will fire.
1280
1280
  */
1281
1281
  enableBeforeUnload: boolean;
1282
+ /**
1283
+ * Set the timezone for the app logs. When setting this value the timestamp will be in ISO 8601 format. By default, if no value is set, it will show the local time in this format: 'y-MM-dd HH:mm:ss.SSS'
1284
+ */
1285
+ appLogsTimezone: TimeZones;
1282
1286
  };
1283
1287
 
1284
1288
  /**
@@ -9001,6 +9005,7 @@ declare namespace OpenFin_2 {
9001
9005
  WindowBounds,
9002
9006
  Rectangle,
9003
9007
  ApplicationCreationOptions,
9008
+ TimeZones,
9004
9009
  ApplicationOptions,
9005
9010
  CustomProtocolMissingState,
9006
9011
  CustomProtocolMalformedState,
@@ -14302,6 +14307,8 @@ declare type Time = {
14302
14307
  irq: number;
14303
14308
  };
14304
14309
 
14310
+ declare type TimeZones = 'utc' | 'local';
14311
+
14305
14312
  /**
14306
14313
  * @interface
14307
14314
  */
package/out/mock.d.ts CHANGED
@@ -1285,6 +1285,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
1285
1285
  * When set to `true`, any `beforeunload` handler set on the app will fire.
1286
1286
  */
1287
1287
  enableBeforeUnload: boolean;
1288
+ /**
1289
+ * Set the timezone for the app logs. When setting this value the timestamp will be in ISO 8601 format. By default, if no value is set, it will show the local time in this format: 'y-MM-dd HH:mm:ss.SSS'
1290
+ */
1291
+ appLogsTimezone: TimeZones;
1288
1292
  };
1289
1293
 
1290
1294
  /**
@@ -9316,6 +9320,7 @@ declare namespace OpenFin_2 {
9316
9320
  WindowBounds,
9317
9321
  Rectangle,
9318
9322
  ApplicationCreationOptions,
9323
+ TimeZones,
9319
9324
  ApplicationOptions,
9320
9325
  CustomProtocolMissingState,
9321
9326
  CustomProtocolMalformedState,
@@ -14708,6 +14713,8 @@ declare type Time = {
14708
14713
  irq: number;
14709
14714
  };
14710
14715
 
14716
+ declare type TimeZones = 'utc' | 'local';
14717
+
14711
14718
  /**
14712
14719
  * @interface
14713
14720
  */
package/out/mock.js CHANGED
@@ -12151,6 +12151,10 @@ class LayoutModule extends base_1$4.Base {
12151
12151
  if (__classPrivateFieldGet$3(this, _LayoutModule_layoutInitializationAttempted, "f")) {
12152
12152
  throw new Error('Layout.init was already called, please use Layout.create to add additional layouts.');
12153
12153
  }
12154
+ if (this.wire.environment.type === 'openfin') {
12155
+ // preload the client
12156
+ await this.fin.Platform.getCurrentSync().getClient();
12157
+ }
12154
12158
  __classPrivateFieldSet$3(this, _LayoutModule_layoutInitializationAttempted, true, "f");
12155
12159
  // TODO: rename to createLayoutManager
12156
12160
  __classPrivateFieldSet$3(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "39.82.10",
3
+ "version": "39.82.12",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",