@openfin/fdc3-api 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.
@@ -1599,11 +1599,8 @@ declare class Base {
1599
1599
  /* Excluded from this release type: __constructor */
1600
1600
  protected get fin(): OpenFin.Fin<OpenFin.EntityType>;
1601
1601
  /**
1602
- * Provides access to the OpenFin representation of the current code context (usually a document
1603
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
1604
- *
1605
- * Useful for debugging in the devtools console, where this will intelligently type itself based
1606
- * on the context in which the devtools panel was opened.
1602
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1603
+ * guaranteed to behave sensibly in all calling contexts.
1607
1604
  */
1608
1605
  get me(): Identity;
1609
1606
  /* Excluded from this release type: isNodeEnvironment */
@@ -3477,6 +3474,16 @@ declare type ConstWindowOptions = {
3477
3474
  * Default is white.
3478
3475
  */
3479
3476
  backgroundColor: string;
3477
+ /**
3478
+ * @defaultValue false
3479
+ *
3480
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3481
+ * This also affects the Page Visibility API.
3482
+ *
3483
+ * When `true`, the page is throttled whether it is hidden or not.
3484
+ *
3485
+ */
3486
+ backgroundThrottling: boolean;
3480
3487
  /**
3481
3488
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3482
3489
  */
@@ -5542,6 +5549,13 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
5542
5549
  readonly Platform: PlatformModule;
5543
5550
  readonly Interop: InteropModule;
5544
5551
  readonly SnapshotSource: SnapshotSourceModule;
5552
+ /**
5553
+ * Provides access to the OpenFin representation of the current code context (usually an entity
5554
+ * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
5555
+ *
5556
+ * Useful for debugging in the devtools console, where this will intelligently type itself based
5557
+ * on the context in which the devtools panel was opened.
5558
+ */
5545
5559
  readonly me: Me<MeType>;
5546
5560
  }
5547
5561
 
@@ -15590,7 +15604,6 @@ declare interface ViewsPreventingUnloadPayload {
15590
15604
  * @interface
15591
15605
  */
15592
15606
  declare type ViewState = ViewCreationOptions & {
15593
- backgroundThrottling: boolean;
15594
15607
  componentName: 'view';
15595
15608
  initialUrl: string;
15596
15609
  minWidth?: number;
@@ -1599,11 +1599,8 @@ declare class Base {
1599
1599
  /* Excluded from this release type: __constructor */
1600
1600
  protected get fin(): OpenFin.Fin<OpenFin.EntityType>;
1601
1601
  /**
1602
- * Provides access to the OpenFin representation of the current code context (usually a document
1603
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
1604
- *
1605
- * Useful for debugging in the devtools console, where this will intelligently type itself based
1606
- * on the context in which the devtools panel was opened.
1602
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1603
+ * guaranteed to behave sensibly in all calling contexts.
1607
1604
  */
1608
1605
  get me(): Identity;
1609
1606
  /* Excluded from this release type: isNodeEnvironment */
@@ -3477,6 +3474,16 @@ declare type ConstWindowOptions = {
3477
3474
  * Default is white.
3478
3475
  */
3479
3476
  backgroundColor: string;
3477
+ /**
3478
+ * @defaultValue false
3479
+ *
3480
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3481
+ * This also affects the Page Visibility API.
3482
+ *
3483
+ * When `true`, the page is throttled whether it is hidden or not.
3484
+ *
3485
+ */
3486
+ backgroundThrottling: boolean;
3480
3487
  /**
3481
3488
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3482
3489
  */
@@ -5542,6 +5549,13 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
5542
5549
  readonly Platform: PlatformModule;
5543
5550
  readonly Interop: InteropModule;
5544
5551
  readonly SnapshotSource: SnapshotSourceModule;
5552
+ /**
5553
+ * Provides access to the OpenFin representation of the current code context (usually an entity
5554
+ * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
5555
+ *
5556
+ * Useful for debugging in the devtools console, where this will intelligently type itself based
5557
+ * on the context in which the devtools panel was opened.
5558
+ */
5545
5559
  readonly me: Me<MeType>;
5546
5560
  }
5547
5561
 
@@ -15590,7 +15604,6 @@ declare interface ViewsPreventingUnloadPayload {
15590
15604
  * @interface
15591
15605
  */
15592
15606
  declare type ViewState = ViewCreationOptions & {
15593
- backgroundThrottling: boolean;
15594
15607
  componentName: 'view';
15595
15608
  initialUrl: string;
15596
15609
  minWidth?: number;
@@ -1599,11 +1599,8 @@ declare class Base {
1599
1599
  /* Excluded from this release type: __constructor */
1600
1600
  protected get fin(): OpenFin.Fin<OpenFin.EntityType>;
1601
1601
  /**
1602
- * Provides access to the OpenFin representation of the current code context (usually a document
1603
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
1604
- *
1605
- * Useful for debugging in the devtools console, where this will intelligently type itself based
1606
- * on the context in which the devtools panel was opened.
1602
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1603
+ * guaranteed to behave sensibly in all calling contexts.
1607
1604
  */
1608
1605
  get me(): Identity;
1609
1606
  /* Excluded from this release type: isNodeEnvironment */
@@ -3477,6 +3474,16 @@ declare type ConstWindowOptions = {
3477
3474
  * Default is white.
3478
3475
  */
3479
3476
  backgroundColor: string;
3477
+ /**
3478
+ * @defaultValue false
3479
+ *
3480
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3481
+ * This also affects the Page Visibility API.
3482
+ *
3483
+ * When `true`, the page is throttled whether it is hidden or not.
3484
+ *
3485
+ */
3486
+ backgroundThrottling: boolean;
3480
3487
  /**
3481
3488
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3482
3489
  */
@@ -5542,6 +5549,13 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
5542
5549
  readonly Platform: PlatformModule;
5543
5550
  readonly Interop: InteropModule;
5544
5551
  readonly SnapshotSource: SnapshotSourceModule;
5552
+ /**
5553
+ * Provides access to the OpenFin representation of the current code context (usually an entity
5554
+ * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
5555
+ *
5556
+ * Useful for debugging in the devtools console, where this will intelligently type itself based
5557
+ * on the context in which the devtools panel was opened.
5558
+ */
5545
5559
  readonly me: Me<MeType>;
5546
5560
  }
5547
5561
 
@@ -15590,7 +15604,6 @@ declare interface ViewsPreventingUnloadPayload {
15590
15604
  * @interface
15591
15605
  */
15592
15606
  declare type ViewState = ViewCreationOptions & {
15593
- backgroundThrottling: boolean;
15594
15607
  componentName: 'view';
15595
15608
  initialUrl: string;
15596
15609
  minWidth?: number;
package/out/fdc3-api.d.ts CHANGED
@@ -1619,11 +1619,8 @@ declare class Base {
1619
1619
  constructor(wire: Transport);
1620
1620
  protected get fin(): OpenFin.Fin<OpenFin.EntityType>;
1621
1621
  /**
1622
- * Provides access to the OpenFin representation of the current code context (usually a document
1623
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
1624
- *
1625
- * Useful for debugging in the devtools console, where this will intelligently type itself based
1626
- * on the context in which the devtools panel was opened.
1622
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1623
+ * guaranteed to behave sensibly in all calling contexts.
1627
1624
  */
1628
1625
  get me(): Identity;
1629
1626
  /**
@@ -3536,6 +3533,16 @@ declare type ConstWindowOptions = {
3536
3533
  * Default is white.
3537
3534
  */
3538
3535
  backgroundColor: string;
3536
+ /**
3537
+ * @defaultValue false
3538
+ *
3539
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3540
+ * This also affects the Page Visibility API.
3541
+ *
3542
+ * When `true`, the page is throttled whether it is hidden or not.
3543
+ *
3544
+ */
3545
+ backgroundThrottling: boolean;
3539
3546
  /**
3540
3547
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3541
3548
  */
@@ -5627,6 +5634,13 @@ declare interface FinApi<MeType extends OpenFin.EntityType> {
5627
5634
  readonly Platform: PlatformModule;
5628
5635
  readonly Interop: InteropModule;
5629
5636
  readonly SnapshotSource: SnapshotSourceModule;
5637
+ /**
5638
+ * Provides access to the OpenFin representation of the current code context (usually an entity
5639
+ * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
5640
+ *
5641
+ * Useful for debugging in the devtools console, where this will intelligently type itself based
5642
+ * on the context in which the devtools panel was opened.
5643
+ */
5630
5644
  readonly me: Me<MeType>;
5631
5645
  }
5632
5646
 
@@ -16033,7 +16047,6 @@ declare interface ViewsPreventingUnloadPayload {
16033
16047
  * @interface
16034
16048
  */
16035
16049
  declare type ViewState = ViewCreationOptions & {
16036
- backgroundThrottling: boolean;
16037
16050
  componentName: 'view';
16038
16051
  initialUrl: string;
16039
16052
  minWidth?: number;
package/out/fdc3-api.js CHANGED
@@ -486,11 +486,8 @@ class Base {
486
486
  return this.wire.getFin();
487
487
  }
488
488
  /**
489
- * Provides access to the OpenFin representation of the current code context (usually a document
490
- * such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
491
- *
492
- * Useful for debugging in the devtools console, where this will intelligently type itself based
493
- * on the context in which the devtools panel was opened.
489
+ * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
490
+ * guaranteed to behave sensibly in all calling contexts.
494
491
  */
495
492
  get me() {
496
493
  return this.wire.me;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "39.81.17",
3
+ "version": "39.82.1",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "private": false,