@todesktop/shared 7.188.72 → 7.188.74

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
@@ -213,10 +213,17 @@ export interface CustomNotarizationPasswordHsmAuth {
213
213
  export type ReleaseRedirectionRule = {
214
214
  appId: string;
215
215
  rule: 'app';
216
+ } | {
217
+ feedUrl: string;
218
+ rule: 'app';
216
219
  } | {
217
220
  appId: string;
218
221
  ipList: string[];
219
222
  rule: 'appByIp';
223
+ } | {
224
+ feedUrl: string;
225
+ ipList: string[];
226
+ rule: 'appByIp';
220
227
  } | {
221
228
  buildId: string;
222
229
  ipList: string[];
@@ -233,7 +240,8 @@ export interface BaseApp extends Schemable {
233
240
  customMacCodeSign?: CustomMacCodeSign;
234
241
  customNotarization?: CustomMacNotarization;
235
242
  customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
236
- hsmCertNames?: Record<MacTarget | WindowsTarget, string>;
243
+ macHsmCertNames?: Record<MacTarget, string>;
244
+ windowsHsmCertNames?: Record<WindowsTarget, string>;
237
245
  meta?: IAppMeta;
238
246
  parentApp?: BaseApp;
239
247
  parent?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.72",
3
+ "version": "7.188.74",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -243,11 +243,20 @@ export type ReleaseRedirectionRule =
243
243
  appId: string;
244
244
  rule: 'app';
245
245
  }
246
+ | {
247
+ feedUrl: string;
248
+ rule: 'app';
249
+ }
246
250
  | {
247
251
  appId: string;
248
252
  ipList: string[];
249
253
  rule: 'appByIp';
250
254
  }
255
+ | {
256
+ feedUrl: string;
257
+ ipList: string[];
258
+ rule: 'appByIp';
259
+ }
251
260
  | {
252
261
  buildId: string;
253
262
  ipList: string[];
@@ -266,7 +275,8 @@ export interface BaseApp extends Schemable {
266
275
  customMacCodeSign?: CustomMacCodeSign;
267
276
  customNotarization?: CustomMacNotarization;
268
277
  customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
269
- hsmCertNames?: Record<MacTarget | WindowsTarget, string>;
278
+ macHsmCertNames?: Record<MacTarget, string>;
279
+ windowsHsmCertNames?: Record<WindowsTarget, string>;
270
280
 
271
281
  meta?: IAppMeta;
272
282
  // this property is dynamically resolved at queueBuild in cloud functions