@openfin/remote-adapter 36.79.15 → 36.79.18

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.
@@ -88,12 +88,21 @@ declare type Api = {
88
88
  iframe?: {
89
89
  /**
90
90
  * Inject OpenFin API into cross-origin iframes
91
+ *
92
+ * @defaultValue false
91
93
  */
92
94
  crossOriginInjection?: boolean;
93
95
  /**
94
96
  * Inject OpenFin API into same-origin iframes
97
+ *
98
+ * @defaultValue true
95
99
  */
96
100
  sameOriginInjection?: boolean;
101
+ /**
102
+ * @deprecated Shared names should not be used; support is provided purely for back-compat reasons.
103
+ *
104
+ * When `true`, iframes will have the same name as their parent WebContents.
105
+ */
97
106
  enableDeprecatedSharedName?: boolean;
98
107
  };
99
108
  /**
@@ -1668,9 +1677,9 @@ declare class Base {
1668
1677
  * on the context in which the devtools panel was opened.
1669
1678
  */
1670
1679
  get me(): Identity;
1671
- protected isNodeEnvironment: () => boolean;
1672
- protected isOpenFinEnvironment: () => boolean;
1673
- protected isBrowserEnvironment: () => boolean;
1680
+ /* Excluded from this release type: isNodeEnvironment */
1681
+ /* Excluded from this release type: isOpenFinEnvironment */
1682
+ /* Excluded from this release type: isBrowserEnvironment */
1674
1683
  }
1675
1684
 
1676
1685
  /**
@@ -5226,8 +5235,14 @@ declare interface Environment {
5226
5235
  getRtcPeer(): RTCPeerConnection;
5227
5236
  getWsConstructor(): typeof WebSocket;
5228
5237
  whenReady(): Promise<void>;
5238
+ getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
5239
+ fdc3Version?: Fdc3Version;
5240
+ }>;
5241
+ readonly type: EnvironmentType;
5229
5242
  }
5230
5243
 
5244
+ declare type EnvironmentType = 'node' | 'openfin' | 'other';
5245
+
5231
5246
  declare type ErrorMiddleware = OpenFin.ErrorMiddleware;
5232
5247
 
5233
5248
  declare type ErrorMiddleware_2 = (topic: string, error: Error, id: ProviderIdentity_7 | ClientIdentity) => unknown;
@@ -5631,6 +5646,8 @@ declare namespace FDC3 {
5631
5646
  }
5632
5647
  }
5633
5648
 
5649
+ declare type Fdc3Version = '1.2' | '2.0';
5650
+
5634
5651
  /**
5635
5652
  * @interface
5636
5653
  */
@@ -7029,6 +7046,15 @@ declare class InterApplicationBus extends Base {
7029
7046
 
7030
7047
  declare type InternalConnectConfig = ExistingConnectConfig | NewConnectConfig;
7031
7048
 
7049
+ declare type InternalFDC3Info = {
7050
+ providerVersion: string;
7051
+ provider: string;
7052
+ };
7053
+
7054
+ declare type InternalInteropBrokerOptions = OpenFin.InteropBrokerOptions & {
7055
+ fdc3Info: InternalFDC3Info;
7056
+ };
7057
+
7032
7058
  /**
7033
7059
  * Define whether to enable interop action logging.
7034
7060
  *
@@ -7157,6 +7183,7 @@ declare type InteropActionLoggingOption = {
7157
7183
  *
7158
7184
  */
7159
7185
  declare class InteropBroker extends Base {
7186
+ #private;
7160
7187
  private getProvider;
7161
7188
  private interopClients;
7162
7189
  private contextGroupsById;
@@ -88,12 +88,21 @@ declare type Api = {
88
88
  iframe?: {
89
89
  /**
90
90
  * Inject OpenFin API into cross-origin iframes
91
+ *
92
+ * @defaultValue false
91
93
  */
92
94
  crossOriginInjection?: boolean;
93
95
  /**
94
96
  * Inject OpenFin API into same-origin iframes
97
+ *
98
+ * @defaultValue true
95
99
  */
96
100
  sameOriginInjection?: boolean;
101
+ /**
102
+ * @deprecated Shared names should not be used; support is provided purely for back-compat reasons.
103
+ *
104
+ * When `true`, iframes will have the same name as their parent WebContents.
105
+ */
97
106
  enableDeprecatedSharedName?: boolean;
98
107
  };
99
108
  /**
@@ -1668,9 +1677,9 @@ declare class Base {
1668
1677
  * on the context in which the devtools panel was opened.
1669
1678
  */
1670
1679
  get me(): Identity;
1671
- protected isNodeEnvironment: () => boolean;
1672
- protected isOpenFinEnvironment: () => boolean;
1673
- protected isBrowserEnvironment: () => boolean;
1680
+ /* Excluded from this release type: isNodeEnvironment */
1681
+ /* Excluded from this release type: isOpenFinEnvironment */
1682
+ /* Excluded from this release type: isBrowserEnvironment */
1674
1683
  }
1675
1684
 
1676
1685
  /**
@@ -5226,8 +5235,14 @@ declare interface Environment {
5226
5235
  getRtcPeer(): RTCPeerConnection;
5227
5236
  getWsConstructor(): typeof WebSocket;
5228
5237
  whenReady(): Promise<void>;
5238
+ getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
5239
+ fdc3Version?: Fdc3Version;
5240
+ }>;
5241
+ readonly type: EnvironmentType;
5229
5242
  }
5230
5243
 
5244
+ declare type EnvironmentType = 'node' | 'openfin' | 'other';
5245
+
5231
5246
  declare type ErrorMiddleware = OpenFin.ErrorMiddleware;
5232
5247
 
5233
5248
  declare type ErrorMiddleware_2 = (topic: string, error: Error, id: ProviderIdentity_7 | ClientIdentity) => unknown;
@@ -5631,6 +5646,8 @@ declare namespace FDC3 {
5631
5646
  }
5632
5647
  }
5633
5648
 
5649
+ declare type Fdc3Version = '1.2' | '2.0';
5650
+
5634
5651
  /**
5635
5652
  * @interface
5636
5653
  */
@@ -7029,6 +7046,15 @@ declare class InterApplicationBus extends Base {
7029
7046
 
7030
7047
  declare type InternalConnectConfig = ExistingConnectConfig | NewConnectConfig;
7031
7048
 
7049
+ declare type InternalFDC3Info = {
7050
+ providerVersion: string;
7051
+ provider: string;
7052
+ };
7053
+
7054
+ declare type InternalInteropBrokerOptions = OpenFin.InteropBrokerOptions & {
7055
+ fdc3Info: InternalFDC3Info;
7056
+ };
7057
+
7032
7058
  /**
7033
7059
  * Define whether to enable interop action logging.
7034
7060
  *
@@ -7157,6 +7183,7 @@ declare type InteropActionLoggingOption = {
7157
7183
  *
7158
7184
  */
7159
7185
  declare class InteropBroker extends Base {
7186
+ #private;
7160
7187
  private getProvider;
7161
7188
  private interopClients;
7162
7189
  private contextGroupsById;
@@ -88,12 +88,21 @@ declare type Api = {
88
88
  iframe?: {
89
89
  /**
90
90
  * Inject OpenFin API into cross-origin iframes
91
+ *
92
+ * @defaultValue false
91
93
  */
92
94
  crossOriginInjection?: boolean;
93
95
  /**
94
96
  * Inject OpenFin API into same-origin iframes
97
+ *
98
+ * @defaultValue true
95
99
  */
96
100
  sameOriginInjection?: boolean;
101
+ /**
102
+ * @deprecated Shared names should not be used; support is provided purely for back-compat reasons.
103
+ *
104
+ * When `true`, iframes will have the same name as their parent WebContents.
105
+ */
97
106
  enableDeprecatedSharedName?: boolean;
98
107
  };
99
108
  /**
@@ -1668,9 +1677,9 @@ declare class Base {
1668
1677
  * on the context in which the devtools panel was opened.
1669
1678
  */
1670
1679
  get me(): Identity;
1671
- protected isNodeEnvironment: () => boolean;
1672
- protected isOpenFinEnvironment: () => boolean;
1673
- protected isBrowserEnvironment: () => boolean;
1680
+ /* Excluded from this release type: isNodeEnvironment */
1681
+ /* Excluded from this release type: isOpenFinEnvironment */
1682
+ /* Excluded from this release type: isBrowserEnvironment */
1674
1683
  }
1675
1684
 
1676
1685
  /**
@@ -5226,8 +5235,14 @@ declare interface Environment {
5226
5235
  getRtcPeer(): RTCPeerConnection;
5227
5236
  getWsConstructor(): typeof WebSocket;
5228
5237
  whenReady(): Promise<void>;
5238
+ getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
5239
+ fdc3Version?: Fdc3Version;
5240
+ }>;
5241
+ readonly type: EnvironmentType;
5229
5242
  }
5230
5243
 
5244
+ declare type EnvironmentType = 'node' | 'openfin' | 'other';
5245
+
5231
5246
  declare type ErrorMiddleware = OpenFin.ErrorMiddleware;
5232
5247
 
5233
5248
  declare type ErrorMiddleware_2 = (topic: string, error: Error, id: ProviderIdentity_7 | ClientIdentity) => unknown;
@@ -5631,6 +5646,8 @@ declare namespace FDC3 {
5631
5646
  }
5632
5647
  }
5633
5648
 
5649
+ declare type Fdc3Version = '1.2' | '2.0';
5650
+
5634
5651
  /**
5635
5652
  * @interface
5636
5653
  */
@@ -7029,6 +7046,15 @@ declare class InterApplicationBus extends Base {
7029
7046
 
7030
7047
  declare type InternalConnectConfig = ExistingConnectConfig | NewConnectConfig;
7031
7048
 
7049
+ declare type InternalFDC3Info = {
7050
+ providerVersion: string;
7051
+ provider: string;
7052
+ };
7053
+
7054
+ declare type InternalInteropBrokerOptions = OpenFin.InteropBrokerOptions & {
7055
+ fdc3Info: InternalFDC3Info;
7056
+ };
7057
+
7032
7058
  /**
7033
7059
  * Define whether to enable interop action logging.
7034
7060
  *
@@ -7157,6 +7183,7 @@ declare type InteropActionLoggingOption = {
7157
7183
  *
7158
7184
  */
7159
7185
  declare class InteropBroker extends Base {
7186
+ #private;
7160
7187
  private getProvider;
7161
7188
  private interopClients;
7162
7189
  private contextGroupsById;
@@ -88,12 +88,21 @@ declare type Api = {
88
88
  iframe?: {
89
89
  /**
90
90
  * Inject OpenFin API into cross-origin iframes
91
+ *
92
+ * @defaultValue false
91
93
  */
92
94
  crossOriginInjection?: boolean;
93
95
  /**
94
96
  * Inject OpenFin API into same-origin iframes
97
+ *
98
+ * @defaultValue true
95
99
  */
96
100
  sameOriginInjection?: boolean;
101
+ /**
102
+ * @deprecated Shared names should not be used; support is provided purely for back-compat reasons.
103
+ *
104
+ * When `true`, iframes will have the same name as their parent WebContents.
105
+ */
97
106
  enableDeprecatedSharedName?: boolean;
98
107
  };
99
108
  /**
@@ -1688,8 +1697,20 @@ declare class Base {
1688
1697
  * on the context in which the devtools panel was opened.
1689
1698
  */
1690
1699
  get me(): Identity;
1700
+ /**
1701
+ * @internal
1702
+ * @deprecated
1703
+ */
1691
1704
  protected isNodeEnvironment: () => boolean;
1705
+ /**
1706
+ * @internal
1707
+ * @deprecated
1708
+ */
1692
1709
  protected isOpenFinEnvironment: () => boolean;
1710
+ /**
1711
+ * @internal
1712
+ * @deprecated
1713
+ */
1693
1714
  protected isBrowserEnvironment: () => boolean;
1694
1715
  }
1695
1716
 
@@ -5274,8 +5295,14 @@ declare interface Environment {
5274
5295
  getRtcPeer(): RTCPeerConnection;
5275
5296
  getWsConstructor(): typeof WebSocket;
5276
5297
  whenReady(): Promise<void>;
5298
+ getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
5299
+ fdc3Version?: Fdc3Version;
5300
+ }>;
5301
+ readonly type: EnvironmentType;
5277
5302
  }
5278
5303
 
5304
+ declare type EnvironmentType = 'node' | 'openfin' | 'other';
5305
+
5279
5306
  declare type ErrorMiddleware = OpenFin.ErrorMiddleware;
5280
5307
 
5281
5308
  declare type ErrorMiddleware_2 = (topic: string, error: Error, id: ProviderIdentity_7 | ClientIdentity) => unknown;
@@ -5700,6 +5727,8 @@ declare namespace FDC3 {
5700
5727
  }
5701
5728
  }
5702
5729
 
5730
+ declare type Fdc3Version = '1.2' | '2.0';
5731
+
5703
5732
  /**
5704
5733
  * @interface
5705
5734
  */
@@ -7119,6 +7148,15 @@ declare class InterAppPayload {
7119
7148
 
7120
7149
  declare type InternalConnectConfig = ExistingConnectConfig | NewConnectConfig;
7121
7150
 
7151
+ declare type InternalFDC3Info = {
7152
+ providerVersion: string;
7153
+ provider: string;
7154
+ };
7155
+
7156
+ declare type InternalInteropBrokerOptions = OpenFin.InteropBrokerOptions & {
7157
+ fdc3Info: InternalFDC3Info;
7158
+ };
7159
+
7122
7160
  /**
7123
7161
  * Define whether to enable interop action logging.
7124
7162
  *
@@ -7247,6 +7285,7 @@ declare type InteropActionLoggingOption = {
7247
7285
  *
7248
7286
  */
7249
7287
  declare class InteropBroker extends Base {
7288
+ #private;
7250
7289
  private getProvider;
7251
7290
  private interopClients;
7252
7291
  private contextGroupsById;
@@ -7258,7 +7297,7 @@ declare class InteropBroker extends Base {
7258
7297
  /**
7259
7298
  * @internal
7260
7299
  */
7261
- constructor(wire: Transport, getProvider: () => Promise<OpenFin.ChannelProvider>, options?: any);
7300
+ constructor(wire: Transport, getProvider: () => Promise<OpenFin.ChannelProvider>, options: InternalInteropBrokerOptions);
7262
7301
  static createClosedConstructor(...args: ConstructorParameters<typeof InteropBroker>): {
7263
7302
  new (): InteropBroker;
7264
7303
  };