@todesktop/shared 7.188.76 → 7.188.78

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/lib/base.d.ts CHANGED
@@ -194,21 +194,18 @@ export type CustomMacCodeSign = {
194
194
  } | {
195
195
  type: 'hsm';
196
196
  };
197
- export type CustomMacNotarization = CustomNotarizationApiKeyAuth | CustomNotarizationPasswordAuth | CustomNotarizationPasswordHsmAuth;
197
+ export type CustomMacNotarization = CustomNotarizationApiKeyAuth | CustomNotarizationPasswordHsmAuth;
198
198
  export interface CustomNotarizationApiKeyAuth {
199
+ type: 'hsm-api';
199
200
  appleApiKeyId: string;
200
201
  appleApiIssuer: string;
201
- type: 'hsm-api';
202
- }
203
- export interface CustomNotarizationPasswordAuth {
204
- appleId: string;
205
- appleIdPassword: string;
206
- teamId: string;
202
+ $appleApiKey: string;
207
203
  }
208
204
  export interface CustomNotarizationPasswordHsmAuth {
205
+ type: 'hsm';
209
206
  appleId: string;
210
207
  teamId: string;
211
- type: 'hsm';
208
+ $appSpecificPassword: string;
212
209
  }
213
210
  export type ReleaseRedirectionRule = {
214
211
  appId: string;
@@ -88,7 +88,9 @@ export interface IApp extends BaseApp {
88
88
  customUserAgent?: ISwitchableValue<string>;
89
89
  disableContextMenu?: boolean;
90
90
  environmentVariables?: {
91
- [propertyName: string]: string;
91
+ [propertyName: string]: string | {
92
+ secret: string;
93
+ };
92
94
  };
93
95
  icon?: string;
94
96
  icons?: IIcon[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.76",
3
+ "version": "7.188.78",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -217,25 +217,20 @@ export type CustomMacCodeSign =
217
217
 
218
218
  export type CustomMacNotarization =
219
219
  | CustomNotarizationApiKeyAuth
220
- | CustomNotarizationPasswordAuth
221
220
  | CustomNotarizationPasswordHsmAuth;
222
221
 
223
222
  export interface CustomNotarizationApiKeyAuth {
223
+ type: 'hsm-api';
224
224
  appleApiKeyId: string;
225
225
  appleApiIssuer: string;
226
- type: 'hsm-api';
227
- }
228
-
229
- export interface CustomNotarizationPasswordAuth {
230
- appleId: string;
231
- appleIdPassword: string;
232
- teamId: string;
226
+ $appleApiKey: string;
233
227
  }
234
228
 
235
229
  export interface CustomNotarizationPasswordHsmAuth {
230
+ type: 'hsm';
236
231
  appleId: string;
237
232
  teamId: string;
238
- type: 'hsm';
233
+ $appSpecificPassword: string;
239
234
  }
240
235
 
241
236
  export type ReleaseRedirectionRule =
package/src/toDesktop.ts CHANGED
@@ -103,7 +103,10 @@ export interface IApp extends BaseApp {
103
103
  customDomain?: string;
104
104
  customUserAgent?: ISwitchableValue<string>;
105
105
  disableContextMenu?: boolean;
106
- environmentVariables?: { [propertyName: string]: string };
106
+ environmentVariables?: {
107
+ // values that have been made secret need to be retrieved from azure key vault
108
+ [propertyName: string]: string | { secret: string };
109
+ };
107
110
  icon?: string;
108
111
  icons?: IIcon[];
109
112
  internalUrls?: ISwitchableValue<string>;