@openfin/fdc3-api 38.81.24 → 38.81.29

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.
@@ -4521,6 +4521,17 @@ declare type DeviceInfo = {
4521
4521
  productId: string | number;
4522
4522
  };
4523
4523
 
4524
+ /**
4525
+ * Permission string keys for device APIs
4526
+ *
4527
+ * @remarks We currently only support USB and HID devices. Permissions for individual devices
4528
+ * must be granted in {@link Permissions.devices}.
4529
+ *
4530
+ * `usb`: Access to one or more USB devices
4531
+ * `hid : Access to one or more HID devices
4532
+ */
4533
+ declare type DevicePermissionName = 'usb' | 'hid';
4534
+
4524
4535
  /**
4525
4536
  * Generated when a page's theme color changes. This is usually due to encountering a meta tag.
4526
4537
  * @interface
@@ -10167,6 +10178,8 @@ declare namespace OpenFin {
10167
10178
  ApplicationPermissions,
10168
10179
  LaunchExternalProcessRule,
10169
10180
  SystemPermissions,
10181
+ DevicePermissionName,
10182
+ WebPermissionName,
10170
10183
  WebPermission,
10171
10184
  VerboseWebPermission,
10172
10185
  OpenExternalPermission,
@@ -14972,8 +14985,13 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14972
14985
  launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
14973
14986
  /**
14974
14987
  * Query permission of a secured api in current context.
14988
+ *
14975
14989
  * @param apiName - The full name of a secured API.
14976
14990
  *
14991
+ * @remarks If a function has a structured permission value, the value of `granted` will reflect the `enabled` key
14992
+ * of the call's permissions literal. In this case, *permission may still be denied to a call* pending arguments or other
14993
+ * runtime state. This is indicated with `state: unavailable`.
14994
+ *
14977
14995
  * @example
14978
14996
  * ```js
14979
14997
  * fin.System.queryPermissionForCurrentContext('System.launchExternalProcess').then(result => console.log(result)).catch(err => console.log(err));
@@ -17548,18 +17566,38 @@ declare namespace WebContentsEvents {
17548
17566
  *
17549
17567
  * @remarks We only support those web APIs listed by electron.
17550
17568
  *
17551
- * `audio`: Request access to audio devices.<br>
17552
- * `video`: Request access to video devices.<br>
17553
- * `geolocation`: Request access to user's current location.<br>
17569
+ * `audio`: Access to audio devices.<br>
17570
+ * `video`: Access to video devices.<br>
17571
+ * `geolocation`: Access to user's current location.<br>
17572
+ * `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
17573
+ * `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
17574
+ * `pointerLock`: Access to mouse movements as an input method.<br>
17575
+ * `fullscreen`: Access to fullscreen mode.<br>
17576
+ * `openExternal`: Access to open links in external applications.<br>
17577
+ * `clipboard-read`: Access to read from the clipboard.<br>
17578
+ * `clipboard-sanitized-write`: Access to write to the clipboard.
17579
+ * `usb`: Access to one or more USB devices
17580
+ * `hid : Access to one or more HID devices
17581
+ */
17582
+ declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExternalPermission;
17583
+
17584
+ /**
17585
+ * Permission string keys for webAPIs
17586
+ *
17587
+ * @remarks We only support those web APIs listed by electron.
17588
+ *
17589
+ * `audio`: Access to audio devices.<br>
17590
+ * `video`: Access to video devices.<br>
17591
+ * `geolocation`: Access to user's current location.<br>
17554
17592
  * `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
17555
- * `midiSysex`: Request the use of system exclusive messages in the webmidi API.<br>
17556
- * `pointerLock`: Request to directly interpret mouse movements as an input method.<br>
17557
- * `fullscreen`: Request for the app to enter fullscreen mode.<br>
17558
- * `openExternal`: Request to open links in external applications.<br>
17559
- * `clipboard-read`: Request access to read from the clipboard.<br>
17560
- * `clipboard-sanitized-write`: Request access to write to the clipboard.
17561
- */
17562
- declare type WebPermission = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write' | 'hid' | 'usb' | OpenExternalPermission;
17593
+ * `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
17594
+ * `pointerLock`: Access to mouse movements as an input method.<br>
17595
+ * `fullscreen`: Access to fullscreen mode.<br>
17596
+ * `openExternal`: Access to open links in external applications.<br>
17597
+ * `clipboard-read`: Access to read from the clipboard.<br>
17598
+ * `clipboard-sanitized-write`: Access to write to the clipboard.
17599
+ */
17600
+ declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
17563
17601
 
17564
17602
  /**
17565
17603
  * Object representing headers and their values, where the
@@ -4521,6 +4521,17 @@ declare type DeviceInfo = {
4521
4521
  productId: string | number;
4522
4522
  };
4523
4523
 
4524
+ /**
4525
+ * Permission string keys for device APIs
4526
+ *
4527
+ * @remarks We currently only support USB and HID devices. Permissions for individual devices
4528
+ * must be granted in {@link Permissions.devices}.
4529
+ *
4530
+ * `usb`: Access to one or more USB devices
4531
+ * `hid : Access to one or more HID devices
4532
+ */
4533
+ declare type DevicePermissionName = 'usb' | 'hid';
4534
+
4524
4535
  /**
4525
4536
  * Generated when a page's theme color changes. This is usually due to encountering a meta tag.
4526
4537
  * @interface
@@ -10167,6 +10178,8 @@ declare namespace OpenFin {
10167
10178
  ApplicationPermissions,
10168
10179
  LaunchExternalProcessRule,
10169
10180
  SystemPermissions,
10181
+ DevicePermissionName,
10182
+ WebPermissionName,
10170
10183
  WebPermission,
10171
10184
  VerboseWebPermission,
10172
10185
  OpenExternalPermission,
@@ -14972,8 +14985,13 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14972
14985
  launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
14973
14986
  /**
14974
14987
  * Query permission of a secured api in current context.
14988
+ *
14975
14989
  * @param apiName - The full name of a secured API.
14976
14990
  *
14991
+ * @remarks If a function has a structured permission value, the value of `granted` will reflect the `enabled` key
14992
+ * of the call's permissions literal. In this case, *permission may still be denied to a call* pending arguments or other
14993
+ * runtime state. This is indicated with `state: unavailable`.
14994
+ *
14977
14995
  * @example
14978
14996
  * ```js
14979
14997
  * fin.System.queryPermissionForCurrentContext('System.launchExternalProcess').then(result => console.log(result)).catch(err => console.log(err));
@@ -17548,18 +17566,38 @@ declare namespace WebContentsEvents {
17548
17566
  *
17549
17567
  * @remarks We only support those web APIs listed by electron.
17550
17568
  *
17551
- * `audio`: Request access to audio devices.<br>
17552
- * `video`: Request access to video devices.<br>
17553
- * `geolocation`: Request access to user's current location.<br>
17569
+ * `audio`: Access to audio devices.<br>
17570
+ * `video`: Access to video devices.<br>
17571
+ * `geolocation`: Access to user's current location.<br>
17572
+ * `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
17573
+ * `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
17574
+ * `pointerLock`: Access to mouse movements as an input method.<br>
17575
+ * `fullscreen`: Access to fullscreen mode.<br>
17576
+ * `openExternal`: Access to open links in external applications.<br>
17577
+ * `clipboard-read`: Access to read from the clipboard.<br>
17578
+ * `clipboard-sanitized-write`: Access to write to the clipboard.
17579
+ * `usb`: Access to one or more USB devices
17580
+ * `hid : Access to one or more HID devices
17581
+ */
17582
+ declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExternalPermission;
17583
+
17584
+ /**
17585
+ * Permission string keys for webAPIs
17586
+ *
17587
+ * @remarks We only support those web APIs listed by electron.
17588
+ *
17589
+ * `audio`: Access to audio devices.<br>
17590
+ * `video`: Access to video devices.<br>
17591
+ * `geolocation`: Access to user's current location.<br>
17554
17592
  * `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
17555
- * `midiSysex`: Request the use of system exclusive messages in the webmidi API.<br>
17556
- * `pointerLock`: Request to directly interpret mouse movements as an input method.<br>
17557
- * `fullscreen`: Request for the app to enter fullscreen mode.<br>
17558
- * `openExternal`: Request to open links in external applications.<br>
17559
- * `clipboard-read`: Request access to read from the clipboard.<br>
17560
- * `clipboard-sanitized-write`: Request access to write to the clipboard.
17561
- */
17562
- declare type WebPermission = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write' | 'hid' | 'usb' | OpenExternalPermission;
17593
+ * `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
17594
+ * `pointerLock`: Access to mouse movements as an input method.<br>
17595
+ * `fullscreen`: Access to fullscreen mode.<br>
17596
+ * `openExternal`: Access to open links in external applications.<br>
17597
+ * `clipboard-read`: Access to read from the clipboard.<br>
17598
+ * `clipboard-sanitized-write`: Access to write to the clipboard.
17599
+ */
17600
+ declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
17563
17601
 
17564
17602
  /**
17565
17603
  * Object representing headers and their values, where the
@@ -4521,6 +4521,17 @@ declare type DeviceInfo = {
4521
4521
  productId: string | number;
4522
4522
  };
4523
4523
 
4524
+ /**
4525
+ * Permission string keys for device APIs
4526
+ *
4527
+ * @remarks We currently only support USB and HID devices. Permissions for individual devices
4528
+ * must be granted in {@link Permissions.devices}.
4529
+ *
4530
+ * `usb`: Access to one or more USB devices
4531
+ * `hid : Access to one or more HID devices
4532
+ */
4533
+ declare type DevicePermissionName = 'usb' | 'hid';
4534
+
4524
4535
  /**
4525
4536
  * Generated when a page's theme color changes. This is usually due to encountering a meta tag.
4526
4537
  * @interface
@@ -10167,6 +10178,8 @@ declare namespace OpenFin {
10167
10178
  ApplicationPermissions,
10168
10179
  LaunchExternalProcessRule,
10169
10180
  SystemPermissions,
10181
+ DevicePermissionName,
10182
+ WebPermissionName,
10170
10183
  WebPermission,
10171
10184
  VerboseWebPermission,
10172
10185
  OpenExternalPermission,
@@ -14972,8 +14985,13 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14972
14985
  launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
14973
14986
  /**
14974
14987
  * Query permission of a secured api in current context.
14988
+ *
14975
14989
  * @param apiName - The full name of a secured API.
14976
14990
  *
14991
+ * @remarks If a function has a structured permission value, the value of `granted` will reflect the `enabled` key
14992
+ * of the call's permissions literal. In this case, *permission may still be denied to a call* pending arguments or other
14993
+ * runtime state. This is indicated with `state: unavailable`.
14994
+ *
14977
14995
  * @example
14978
14996
  * ```js
14979
14997
  * fin.System.queryPermissionForCurrentContext('System.launchExternalProcess').then(result => console.log(result)).catch(err => console.log(err));
@@ -17548,18 +17566,38 @@ declare namespace WebContentsEvents {
17548
17566
  *
17549
17567
  * @remarks We only support those web APIs listed by electron.
17550
17568
  *
17551
- * `audio`: Request access to audio devices.<br>
17552
- * `video`: Request access to video devices.<br>
17553
- * `geolocation`: Request access to user's current location.<br>
17569
+ * `audio`: Access to audio devices.<br>
17570
+ * `video`: Access to video devices.<br>
17571
+ * `geolocation`: Access to user's current location.<br>
17572
+ * `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
17573
+ * `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
17574
+ * `pointerLock`: Access to mouse movements as an input method.<br>
17575
+ * `fullscreen`: Access to fullscreen mode.<br>
17576
+ * `openExternal`: Access to open links in external applications.<br>
17577
+ * `clipboard-read`: Access to read from the clipboard.<br>
17578
+ * `clipboard-sanitized-write`: Access to write to the clipboard.
17579
+ * `usb`: Access to one or more USB devices
17580
+ * `hid : Access to one or more HID devices
17581
+ */
17582
+ declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExternalPermission;
17583
+
17584
+ /**
17585
+ * Permission string keys for webAPIs
17586
+ *
17587
+ * @remarks We only support those web APIs listed by electron.
17588
+ *
17589
+ * `audio`: Access to audio devices.<br>
17590
+ * `video`: Access to video devices.<br>
17591
+ * `geolocation`: Access to user's current location.<br>
17554
17592
  * `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
17555
- * `midiSysex`: Request the use of system exclusive messages in the webmidi API.<br>
17556
- * `pointerLock`: Request to directly interpret mouse movements as an input method.<br>
17557
- * `fullscreen`: Request for the app to enter fullscreen mode.<br>
17558
- * `openExternal`: Request to open links in external applications.<br>
17559
- * `clipboard-read`: Request access to read from the clipboard.<br>
17560
- * `clipboard-sanitized-write`: Request access to write to the clipboard.
17561
- */
17562
- declare type WebPermission = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write' | 'hid' | 'usb' | OpenExternalPermission;
17593
+ * `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
17594
+ * `pointerLock`: Access to mouse movements as an input method.<br>
17595
+ * `fullscreen`: Access to fullscreen mode.<br>
17596
+ * `openExternal`: Access to open links in external applications.<br>
17597
+ * `clipboard-read`: Access to read from the clipboard.<br>
17598
+ * `clipboard-sanitized-write`: Access to write to the clipboard.
17599
+ */
17600
+ declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
17563
17601
 
17564
17602
  /**
17565
17603
  * Object representing headers and their values, where the
package/out/fdc3-api.d.ts CHANGED
@@ -4580,6 +4580,17 @@ declare type DeviceInfo = {
4580
4580
  productId: string | number;
4581
4581
  };
4582
4582
 
4583
+ /**
4584
+ * Permission string keys for device APIs
4585
+ *
4586
+ * @remarks We currently only support USB and HID devices. Permissions for individual devices
4587
+ * must be granted in {@link Permissions.devices}.
4588
+ *
4589
+ * `usb`: Access to one or more USB devices
4590
+ * `hid : Access to one or more HID devices
4591
+ */
4592
+ declare type DevicePermissionName = 'usb' | 'hid';
4593
+
4583
4594
  /**
4584
4595
  * Generated when a page's theme color changes. This is usually due to encountering a meta tag.
4585
4596
  * @interface
@@ -10482,6 +10493,8 @@ declare namespace OpenFin {
10482
10493
  ApplicationPermissions,
10483
10494
  LaunchExternalProcessRule,
10484
10495
  SystemPermissions,
10496
+ DevicePermissionName,
10497
+ WebPermissionName,
10485
10498
  WebPermission,
10486
10499
  VerboseWebPermission,
10487
10500
  OpenExternalPermission,
@@ -15371,8 +15384,13 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
15371
15384
  launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
15372
15385
  /**
15373
15386
  * Query permission of a secured api in current context.
15387
+ *
15374
15388
  * @param apiName - The full name of a secured API.
15375
15389
  *
15390
+ * @remarks If a function has a structured permission value, the value of `granted` will reflect the `enabled` key
15391
+ * of the call's permissions literal. In this case, *permission may still be denied to a call* pending arguments or other
15392
+ * runtime state. This is indicated with `state: unavailable`.
15393
+ *
15376
15394
  * @example
15377
15395
  * ```js
15378
15396
  * fin.System.queryPermissionForCurrentContext('System.launchExternalProcess').then(result => console.log(result)).catch(err => console.log(err));
@@ -17991,18 +18009,38 @@ declare namespace WebContentsEvents {
17991
18009
  *
17992
18010
  * @remarks We only support those web APIs listed by electron.
17993
18011
  *
17994
- * `audio`: Request access to audio devices.<br>
17995
- * `video`: Request access to video devices.<br>
17996
- * `geolocation`: Request access to user's current location.<br>
18012
+ * `audio`: Access to audio devices.<br>
18013
+ * `video`: Access to video devices.<br>
18014
+ * `geolocation`: Access to user's current location.<br>
18015
+ * `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
18016
+ * `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
18017
+ * `pointerLock`: Access to mouse movements as an input method.<br>
18018
+ * `fullscreen`: Access to fullscreen mode.<br>
18019
+ * `openExternal`: Access to open links in external applications.<br>
18020
+ * `clipboard-read`: Access to read from the clipboard.<br>
18021
+ * `clipboard-sanitized-write`: Access to write to the clipboard.
18022
+ * `usb`: Access to one or more USB devices
18023
+ * `hid : Access to one or more HID devices
18024
+ */
18025
+ declare type WebPermission = WebPermissionName | DevicePermissionName | OpenExternalPermission;
18026
+
18027
+ /**
18028
+ * Permission string keys for webAPIs
18029
+ *
18030
+ * @remarks We only support those web APIs listed by electron.
18031
+ *
18032
+ * `audio`: Access to audio devices.<br>
18033
+ * `video`: Access to video devices.<br>
18034
+ * `geolocation`: Access to user's current location.<br>
17997
18035
  * `notifications`: Request notification creation and the ability to display them in the user's system tray.<br>
17998
- * `midiSysex`: Request the use of system exclusive messages in the webmidi API.<br>
17999
- * `pointerLock`: Request to directly interpret mouse movements as an input method.<br>
18000
- * `fullscreen`: Request for the app to enter fullscreen mode.<br>
18001
- * `openExternal`: Request to open links in external applications.<br>
18002
- * `clipboard-read`: Request access to read from the clipboard.<br>
18003
- * `clipboard-sanitized-write`: Request access to write to the clipboard.
18004
- */
18005
- declare type WebPermission = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write' | 'hid' | 'usb' | OpenExternalPermission;
18036
+ * `midiSysex`: Use of system exclusive messages in the webmidi API.<br>
18037
+ * `pointerLock`: Access to mouse movements as an input method.<br>
18038
+ * `fullscreen`: Access to fullscreen mode.<br>
18039
+ * `openExternal`: Access to open links in external applications.<br>
18040
+ * `clipboard-read`: Access to read from the clipboard.<br>
18041
+ * `clipboard-sanitized-write`: Access to write to the clipboard.
18042
+ */
18043
+ declare type WebPermissionName = 'audio' | 'video' | 'geolocation' | 'notifications' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'clipboard-read' | 'clipboard-sanitized-write';
18006
18044
 
18007
18045
  /**
18008
18046
  * Object representing headers and their values, where the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "38.81.24",
3
+ "version": "38.81.29",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "private": false,