@todesktop/shared 7.188.77 → 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 +5 -8
- package/package.json +1 -1
- package/src/base.ts +4 -9
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 |
|
|
197
|
+
export type CustomMacNotarization = CustomNotarizationApiKeyAuth | CustomNotarizationPasswordHsmAuth;
|
|
198
198
|
export interface CustomNotarizationApiKeyAuth {
|
|
199
|
+
type: 'hsm-api';
|
|
199
200
|
appleApiKeyId: string;
|
|
200
201
|
appleApiIssuer: string;
|
|
201
|
-
|
|
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
|
-
|
|
208
|
+
$appSpecificPassword: string;
|
|
212
209
|
}
|
|
213
210
|
export type ReleaseRedirectionRule = {
|
|
214
211
|
appId: string;
|
package/package.json
CHANGED
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
|
-
|
|
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
|
-
|
|
233
|
+
$appSpecificPassword: string;
|
|
239
234
|
}
|
|
240
235
|
|
|
241
236
|
export type ReleaseRedirectionRule =
|