@openfin/core 39.81.17 → 39.82.1

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.
@@ -1602,11 +1602,8 @@ declare class Base {
1602
1602
  /* Excluded from this release type: __constructor */
1603
1603
  protected get fin(): OpenFin_2.Fin<OpenFin_2.EntityType>;
1604
1604
  /**
1605
- * Provides access to the OpenFin representation of the current code context (usually a document
1606
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
1607
- *
1608
- * Useful for debugging in the devtools console, where this will intelligently type itself based
1609
- * on the context in which the devtools panel was opened.
1605
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1606
+ * guaranteed to behave sensibly in all calling contexts.
1610
1607
  */
1611
1608
  get me(): Identity;
1612
1609
  /* Excluded from this release type: isNodeEnvironment */
@@ -3480,6 +3477,16 @@ declare type ConstWindowOptions = {
3480
3477
  * Default is white.
3481
3478
  */
3482
3479
  backgroundColor: string;
3480
+ /**
3481
+ * @defaultValue false
3482
+ *
3483
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3484
+ * This also affects the Page Visibility API.
3485
+ *
3486
+ * When `true`, the page is throttled whether it is hidden or not.
3487
+ *
3488
+ */
3489
+ backgroundThrottling: boolean;
3483
3490
  /**
3484
3491
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3485
3492
  */
@@ -5200,6 +5207,13 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
5200
5207
  readonly Platform: PlatformModule;
5201
5208
  readonly Interop: InteropModule;
5202
5209
  readonly SnapshotSource: SnapshotSourceModule;
5210
+ /**
5211
+ * Provides access to the OpenFin representation of the current code context (usually an entity
5212
+ * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
5213
+ *
5214
+ * Useful for debugging in the devtools console, where this will intelligently type itself based
5215
+ * on the context in which the devtools panel was opened.
5216
+ */
5203
5217
  readonly me: Me<MeType>;
5204
5218
  }
5205
5219
 
@@ -15144,7 +15158,6 @@ declare interface ViewsPreventingUnloadPayload {
15144
15158
  * @interface
15145
15159
  */
15146
15160
  declare type ViewState = ViewCreationOptions & {
15147
- backgroundThrottling: boolean;
15148
15161
  componentName: 'view';
15149
15162
  initialUrl: string;
15150
15163
  minWidth?: number;
@@ -1602,11 +1602,8 @@ declare class Base {
1602
1602
  /* Excluded from this release type: __constructor */
1603
1603
  protected get fin(): OpenFin_2.Fin<OpenFin_2.EntityType>;
1604
1604
  /**
1605
- * Provides access to the OpenFin representation of the current code context (usually a document
1606
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
1607
- *
1608
- * Useful for debugging in the devtools console, where this will intelligently type itself based
1609
- * on the context in which the devtools panel was opened.
1605
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1606
+ * guaranteed to behave sensibly in all calling contexts.
1610
1607
  */
1611
1608
  get me(): Identity;
1612
1609
  /* Excluded from this release type: isNodeEnvironment */
@@ -3480,6 +3477,16 @@ declare type ConstWindowOptions = {
3480
3477
  * Default is white.
3481
3478
  */
3482
3479
  backgroundColor: string;
3480
+ /**
3481
+ * @defaultValue false
3482
+ *
3483
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3484
+ * This also affects the Page Visibility API.
3485
+ *
3486
+ * When `true`, the page is throttled whether it is hidden or not.
3487
+ *
3488
+ */
3489
+ backgroundThrottling: boolean;
3483
3490
  /**
3484
3491
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3485
3492
  */
@@ -5200,6 +5207,13 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
5200
5207
  readonly Platform: PlatformModule;
5201
5208
  readonly Interop: InteropModule;
5202
5209
  readonly SnapshotSource: SnapshotSourceModule;
5210
+ /**
5211
+ * Provides access to the OpenFin representation of the current code context (usually an entity
5212
+ * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
5213
+ *
5214
+ * Useful for debugging in the devtools console, where this will intelligently type itself based
5215
+ * on the context in which the devtools panel was opened.
5216
+ */
5203
5217
  readonly me: Me<MeType>;
5204
5218
  }
5205
5219
 
@@ -15144,7 +15158,6 @@ declare interface ViewsPreventingUnloadPayload {
15144
15158
  * @interface
15145
15159
  */
15146
15160
  declare type ViewState = ViewCreationOptions & {
15147
- backgroundThrottling: boolean;
15148
15161
  componentName: 'view';
15149
15162
  initialUrl: string;
15150
15163
  minWidth?: number;
@@ -1602,11 +1602,8 @@ declare class Base {
1602
1602
  /* Excluded from this release type: __constructor */
1603
1603
  protected get fin(): OpenFin_2.Fin<OpenFin_2.EntityType>;
1604
1604
  /**
1605
- * Provides access to the OpenFin representation of the current code context (usually a document
1606
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
1607
- *
1608
- * Useful for debugging in the devtools console, where this will intelligently type itself based
1609
- * on the context in which the devtools panel was opened.
1605
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1606
+ * guaranteed to behave sensibly in all calling contexts.
1610
1607
  */
1611
1608
  get me(): Identity;
1612
1609
  /* Excluded from this release type: isNodeEnvironment */
@@ -3480,6 +3477,16 @@ declare type ConstWindowOptions = {
3480
3477
  * Default is white.
3481
3478
  */
3482
3479
  backgroundColor: string;
3480
+ /**
3481
+ * @defaultValue false
3482
+ *
3483
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3484
+ * This also affects the Page Visibility API.
3485
+ *
3486
+ * When `true`, the page is throttled whether it is hidden or not.
3487
+ *
3488
+ */
3489
+ backgroundThrottling: boolean;
3483
3490
  /**
3484
3491
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3485
3492
  */
@@ -5200,6 +5207,13 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
5200
5207
  readonly Platform: PlatformModule;
5201
5208
  readonly Interop: InteropModule;
5202
5209
  readonly SnapshotSource: SnapshotSourceModule;
5210
+ /**
5211
+ * Provides access to the OpenFin representation of the current code context (usually an entity
5212
+ * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
5213
+ *
5214
+ * Useful for debugging in the devtools console, where this will intelligently type itself based
5215
+ * on the context in which the devtools panel was opened.
5216
+ */
5203
5217
  readonly me: Me<MeType>;
5204
5218
  }
5205
5219
 
@@ -15144,7 +15158,6 @@ declare interface ViewsPreventingUnloadPayload {
15144
15158
  * @interface
15145
15159
  */
15146
15160
  declare type ViewState = ViewCreationOptions & {
15147
- backgroundThrottling: boolean;
15148
15161
  componentName: 'view';
15149
15162
  initialUrl: string;
15150
15163
  minWidth?: number;
package/out/mock.d.ts CHANGED
@@ -1622,11 +1622,8 @@ declare class Base {
1622
1622
  constructor(wire: Transport);
1623
1623
  protected get fin(): OpenFin_2.Fin<OpenFin_2.EntityType>;
1624
1624
  /**
1625
- * Provides access to the OpenFin representation of the current code context (usually a document
1626
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
1627
- *
1628
- * Useful for debugging in the devtools console, where this will intelligently type itself based
1629
- * on the context in which the devtools panel was opened.
1625
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1626
+ * guaranteed to behave sensibly in all calling contexts.
1630
1627
  */
1631
1628
  get me(): Identity;
1632
1629
  /**
@@ -3539,6 +3536,16 @@ declare type ConstWindowOptions = {
3539
3536
  * Default is white.
3540
3537
  */
3541
3538
  backgroundColor: string;
3539
+ /**
3540
+ * @defaultValue false
3541
+ *
3542
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3543
+ * This also affects the Page Visibility API.
3544
+ *
3545
+ * When `true`, the page is throttled whether it is hidden or not.
3546
+ *
3547
+ */
3548
+ backgroundThrottling: boolean;
3542
3549
  /**
3543
3550
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3544
3551
  */
@@ -5285,6 +5292,13 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
5285
5292
  readonly Platform: PlatformModule;
5286
5293
  readonly Interop: InteropModule;
5287
5294
  readonly SnapshotSource: SnapshotSourceModule;
5295
+ /**
5296
+ * Provides access to the OpenFin representation of the current code context (usually an entity
5297
+ * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
5298
+ *
5299
+ * Useful for debugging in the devtools console, where this will intelligently type itself based
5300
+ * on the context in which the devtools panel was opened.
5301
+ */
5288
5302
  readonly me: Me<MeType>;
5289
5303
  }
5290
5304
 
@@ -15587,7 +15601,6 @@ declare interface ViewsPreventingUnloadPayload {
15587
15601
  * @interface
15588
15602
  */
15589
15603
  declare type ViewState = ViewCreationOptions & {
15590
- backgroundThrottling: boolean;
15591
15604
  componentName: 'view';
15592
15605
  initialUrl: string;
15593
15606
  minWidth?: number;
package/out/mock.js CHANGED
@@ -370,11 +370,8 @@ class Base {
370
370
  return this.wire.getFin();
371
371
  }
372
372
  /**
373
- * Provides access to the OpenFin representation of the current code context (usually a document
374
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
375
- *
376
- * Useful for debugging in the devtools console, where this will intelligently type itself based
377
- * on the context in which the devtools panel was opened.
373
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
374
+ * guaranteed to behave sensibly in all calling contexts.
378
375
  */
379
376
  get me() {
380
377
  return this.wire.me;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "39.81.17",
3
+ "version": "39.82.1",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",