@openfin/node-adapter 38.81.34 → 38.81.37
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.
- package/out/node-adapter-alpha.d.ts +19 -1
- package/out/node-adapter-beta.d.ts +19 -1
- package/out/node-adapter-public.d.ts +19 -1
- package/out/node-adapter.d.ts +19 -1
- package/out/node-adapter.js +10 -7
- package/package.json +1 -1
@@ -5624,6 +5624,13 @@ declare type GpuInfo = {
|
|
5624
5624
|
|
5625
5625
|
/**
|
5626
5626
|
* Generated when a View is hidden.
|
5627
|
+
*
|
5628
|
+
* @remarks
|
5629
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
5630
|
+
* This event can fire when calling:
|
5631
|
+
*
|
5632
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
5633
|
+
*
|
5627
5634
|
* @interface
|
5628
5635
|
*/
|
5629
5636
|
declare type HiddenEvent = BaseEvent_4 & {
|
@@ -12232,7 +12239,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
12232
12239
|
};
|
12233
12240
|
|
12234
12241
|
/**
|
12235
|
-
* Generated when a View is shown.
|
12242
|
+
* Generated when a View is shown.
|
12243
|
+
*
|
12244
|
+
* @remarks
|
12245
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
12246
|
+
* This event can fire when calling:
|
12247
|
+
*
|
12248
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
12249
|
+
*
|
12250
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
12251
|
+
*
|
12252
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
12253
|
+
*
|
12236
12254
|
* @interface
|
12237
12255
|
*/
|
12238
12256
|
declare type ShownEvent = BaseEvent_4 & {
|
@@ -5624,6 +5624,13 @@ declare type GpuInfo = {
|
|
5624
5624
|
|
5625
5625
|
/**
|
5626
5626
|
* Generated when a View is hidden.
|
5627
|
+
*
|
5628
|
+
* @remarks
|
5629
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
5630
|
+
* This event can fire when calling:
|
5631
|
+
*
|
5632
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
5633
|
+
*
|
5627
5634
|
* @interface
|
5628
5635
|
*/
|
5629
5636
|
declare type HiddenEvent = BaseEvent_4 & {
|
@@ -12232,7 +12239,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
12232
12239
|
};
|
12233
12240
|
|
12234
12241
|
/**
|
12235
|
-
* Generated when a View is shown.
|
12242
|
+
* Generated when a View is shown.
|
12243
|
+
*
|
12244
|
+
* @remarks
|
12245
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
12246
|
+
* This event can fire when calling:
|
12247
|
+
*
|
12248
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
12249
|
+
*
|
12250
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
12251
|
+
*
|
12252
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
12253
|
+
*
|
12236
12254
|
* @interface
|
12237
12255
|
*/
|
12238
12256
|
declare type ShownEvent = BaseEvent_4 & {
|
@@ -5624,6 +5624,13 @@ declare type GpuInfo = {
|
|
5624
5624
|
|
5625
5625
|
/**
|
5626
5626
|
* Generated when a View is hidden.
|
5627
|
+
*
|
5628
|
+
* @remarks
|
5629
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
5630
|
+
* This event can fire when calling:
|
5631
|
+
*
|
5632
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
5633
|
+
*
|
5627
5634
|
* @interface
|
5628
5635
|
*/
|
5629
5636
|
declare type HiddenEvent = BaseEvent_4 & {
|
@@ -12232,7 +12239,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
12232
12239
|
};
|
12233
12240
|
|
12234
12241
|
/**
|
12235
|
-
* Generated when a View is shown.
|
12242
|
+
* Generated when a View is shown.
|
12243
|
+
*
|
12244
|
+
* @remarks
|
12245
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
12246
|
+
* This event can fire when calling:
|
12247
|
+
*
|
12248
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
12249
|
+
*
|
12250
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
12251
|
+
*
|
12252
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
12253
|
+
*
|
12236
12254
|
* @interface
|
12237
12255
|
*/
|
12238
12256
|
declare type ShownEvent = BaseEvent_4 & {
|
package/out/node-adapter.d.ts
CHANGED
@@ -5737,6 +5737,13 @@ declare type GpuInfo = {
|
|
5737
5737
|
|
5738
5738
|
/**
|
5739
5739
|
* Generated when a View is hidden.
|
5740
|
+
*
|
5741
|
+
* @remarks
|
5742
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
5743
|
+
* This event can fire when calling:
|
5744
|
+
*
|
5745
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
5746
|
+
*
|
5740
5747
|
* @interface
|
5741
5748
|
*/
|
5742
5749
|
declare type HiddenEvent = BaseEvent_4 & {
|
@@ -12647,7 +12654,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
12647
12654
|
};
|
12648
12655
|
|
12649
12656
|
/**
|
12650
|
-
* Generated when a View is shown.
|
12657
|
+
* Generated when a View is shown.
|
12658
|
+
*
|
12659
|
+
* @remarks
|
12660
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
12661
|
+
* This event can fire when calling:
|
12662
|
+
*
|
12663
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
12664
|
+
*
|
12665
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
12666
|
+
*
|
12667
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
12668
|
+
*
|
12651
12669
|
* @interface
|
12652
12670
|
*/
|
12653
12671
|
declare type ShownEvent = BaseEvent_4 & {
|
package/out/node-adapter.js
CHANGED
@@ -14795,6 +14795,14 @@ function requireFdc3Common () {
|
|
14795
14795
|
throw new Error(errorToThrow);
|
14796
14796
|
}
|
14797
14797
|
}
|
14798
|
+
async _getChannels() {
|
14799
|
+
const channels = await this.client.getContextGroups();
|
14800
|
+
// fdc3 implementation of getSystemChannels returns an array of channels, have to decorate over
|
14801
|
+
// this so people know that these APIs are not supported
|
14802
|
+
return channels.map((channel) => {
|
14803
|
+
return { ...channel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
14804
|
+
});
|
14805
|
+
}
|
14798
14806
|
/**
|
14799
14807
|
* Returns a Channel object for the specified channel, creating it as an App Channel if it does not exist.
|
14800
14808
|
* @param channelId
|
@@ -14805,7 +14813,7 @@ function requireFdc3Common () {
|
|
14805
14813
|
this.wire.sendAction('fdc3-get-or-create-channel').catch((e) => {
|
14806
14814
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
14807
14815
|
});
|
14808
|
-
const systemChannels = await this.
|
14816
|
+
const systemChannels = await this._getChannels();
|
14809
14817
|
const userChannel = systemChannels.find((channel) => channel.id === channelId);
|
14810
14818
|
if (userChannel) {
|
14811
14819
|
return { ...userChannel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
@@ -14829,12 +14837,7 @@ function requireFdc3Common () {
|
|
14829
14837
|
this.wire.sendAction('fdc3-get-system-channels').catch((e) => {
|
14830
14838
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
14831
14839
|
});
|
14832
|
-
|
14833
|
-
// fdc3 implementation of getSystemChannels returns on array of channels, have to decorate over
|
14834
|
-
// this so people know that these APIs are not supported
|
14835
|
-
return channels.map((channel) => {
|
14836
|
-
return { ...channel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
14837
|
-
});
|
14840
|
+
return this._getChannels();
|
14838
14841
|
}
|
14839
14842
|
/**
|
14840
14843
|
* Join all Interop Clients at the given identity to context group `contextGroupId`.
|