@todesktop/shared 7.188.17 → 7.188.19
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 +14 -8
- package/lib/toDesktop.d.ts +0 -6
- package/package.json +1 -1
- package/src/base.ts +22 -13
- package/src/toDesktop.ts +0 -7
package/lib/base.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export interface ToDesktopJson {
|
|
|
103
103
|
asar?: boolean;
|
|
104
104
|
asarUnpack?: boolean | string[];
|
|
105
105
|
bucket?: string;
|
|
106
|
+
buildVersion?: string;
|
|
106
107
|
copyright?: string;
|
|
107
108
|
dmg?: {
|
|
108
109
|
background?: FilePath;
|
|
@@ -183,17 +184,22 @@ export declare type CustomMacCodeSign = {
|
|
|
183
184
|
} | {
|
|
184
185
|
type: 'hsm';
|
|
185
186
|
};
|
|
186
|
-
export declare type CustomMacNotarization =
|
|
187
|
+
export declare type CustomMacNotarization = CustomNotarizationApiKeyAuth | CustomNotarizationPasswordAuth | CustomNotarizationPasswordHsmAuth;
|
|
188
|
+
export interface CustomNotarizationApiKeyAuth {
|
|
189
|
+
appleApiKeyId: string;
|
|
190
|
+
appleApiIssuer: string;
|
|
191
|
+
type: 'hsm-api';
|
|
192
|
+
}
|
|
193
|
+
export interface CustomNotarizationPasswordAuth {
|
|
187
194
|
appleId: string;
|
|
188
195
|
appleIdPassword: string;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
type: 'hsm';
|
|
196
|
+
teamId: string;
|
|
197
|
+
}
|
|
198
|
+
export interface CustomNotarizationPasswordHsmAuth {
|
|
193
199
|
appleId: string;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
200
|
+
teamId: string;
|
|
201
|
+
type: 'hsm';
|
|
202
|
+
}
|
|
197
203
|
export declare type ReleaseRedirectionRule = {
|
|
198
204
|
appId: string;
|
|
199
205
|
rule: 'app';
|
package/lib/toDesktop.d.ts
CHANGED
|
@@ -77,12 +77,6 @@ export interface IIcon {
|
|
|
77
77
|
height: number;
|
|
78
78
|
type: string;
|
|
79
79
|
}
|
|
80
|
-
export interface CustomNotarization {
|
|
81
|
-
appleId: string;
|
|
82
|
-
appleIdPassword: string;
|
|
83
|
-
ascProvider?: string;
|
|
84
|
-
teamId?: string;
|
|
85
|
-
}
|
|
86
80
|
export interface IApp extends BaseApp {
|
|
87
81
|
appModelId: string;
|
|
88
82
|
appPkgName?: string;
|
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -115,6 +115,7 @@ export interface ToDesktopJson {
|
|
|
115
115
|
asar?: boolean;
|
|
116
116
|
asarUnpack?: boolean | string[];
|
|
117
117
|
bucket?: string;
|
|
118
|
+
buildVersion?: string;
|
|
118
119
|
copyright?: string;
|
|
119
120
|
dmg?: {
|
|
120
121
|
background?: FilePath;
|
|
@@ -204,19 +205,27 @@ export type CustomMacCodeSign =
|
|
|
204
205
|
};
|
|
205
206
|
|
|
206
207
|
export type CustomMacNotarization =
|
|
207
|
-
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
208
|
+
| CustomNotarizationApiKeyAuth
|
|
209
|
+
| CustomNotarizationPasswordAuth
|
|
210
|
+
| CustomNotarizationPasswordHsmAuth;
|
|
211
|
+
|
|
212
|
+
export interface CustomNotarizationApiKeyAuth {
|
|
213
|
+
appleApiKeyId: string;
|
|
214
|
+
appleApiIssuer: string;
|
|
215
|
+
type: 'hsm-api';
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export interface CustomNotarizationPasswordAuth {
|
|
219
|
+
appleId: string;
|
|
220
|
+
appleIdPassword: string;
|
|
221
|
+
teamId: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface CustomNotarizationPasswordHsmAuth {
|
|
225
|
+
appleId: string;
|
|
226
|
+
teamId: string;
|
|
227
|
+
type: 'hsm';
|
|
228
|
+
}
|
|
220
229
|
|
|
221
230
|
export type ReleaseRedirectionRule =
|
|
222
231
|
| {
|
package/src/toDesktop.ts
CHANGED
|
@@ -93,13 +93,6 @@ export interface IIcon {
|
|
|
93
93
|
type: string;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export interface CustomNotarization {
|
|
97
|
-
appleId: string;
|
|
98
|
-
appleIdPassword: string;
|
|
99
|
-
ascProvider?: string;
|
|
100
|
-
teamId?: string;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
96
|
export interface IApp extends BaseApp {
|
|
104
97
|
appModelId: string;
|
|
105
98
|
appPkgName?: string;
|