@openfin/core 32.75.14 → 32.75.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "32.75.14",
3
+ "version": "32.75.18",
4
4
  "license": "SEE LICENSE IN LICENSE.MD",
5
5
  "main": "./src/mock.js",
6
6
  "types": "./src/mock.d.ts",
@@ -82,10 +82,8 @@ export interface ProtocolMap extends ProtocolMapBase {
82
82
  };
83
83
  response: OpenFin.NativeWindowIntegrationProviderAuthorization;
84
84
  };
85
- 'get-permissions': {
86
- request: void;
87
- response: any;
88
- };
85
+ 'get-permissions': GetterCall<any>;
86
+ 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
89
87
  'set-file-download-location': {
90
88
  request: OpenFin.ApplicationIdentity & {
91
89
  downloadLocation: string;
@@ -160,10 +158,7 @@ export interface ProtocolMap extends ProtocolMapBase {
160
158
  };
161
159
  response: void;
162
160
  };
163
- 'system-get-printers': {
164
- request: void;
165
- response: OpenFin.PrinterInfo[];
166
- };
161
+ 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
167
162
  'system-register-shutdown-handler': VoidCall;
168
163
  }
169
164
  type ApiCall<Request, Response> = {
@@ -171,6 +166,7 @@ type ApiCall<Request, Response> = {
171
166
  response: Response;
172
167
  };
173
168
  type VoidCall = ApiCall<void, void>;
169
+ type GetterCall<T> = ApiCall<void, T>;
174
170
  type IdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.Identity, Response>;
175
171
  interface ProtocolMapBase {
176
172
  [action: string]: {