@todesktop/shared 7.188.16 → 7.188.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/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;
@@ -133,6 +134,7 @@ export interface ToDesktopJson {
133
134
  category?: string;
134
135
  dmgBackground?: FilePath;
135
136
  entitlements?: FilePath;
137
+ provisioningProfile?: FilePath;
136
138
  extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
137
139
  icon?: FilePath;
138
140
  requirements?: FilePath;
@@ -182,17 +184,22 @@ export declare type CustomMacCodeSign = {
182
184
  } | {
183
185
  type: 'hsm';
184
186
  };
185
- 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 {
186
194
  appleId: string;
187
195
  appleIdPassword: string;
188
- ascProvider?: string;
189
- teamId?: string;
190
- } | {
191
- type: 'hsm';
196
+ teamId: string;
197
+ }
198
+ export interface CustomNotarizationPasswordHsmAuth {
192
199
  appleId: string;
193
- ascProvider?: string;
194
- teamId?: string;
195
- };
200
+ teamId: string;
201
+ type: 'hsm';
202
+ }
196
203
  export declare type ReleaseRedirectionRule = {
197
204
  appId: string;
198
205
  rule: 'app';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.16",
3
+ "version": "7.188.18",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
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;
@@ -145,6 +146,7 @@ export interface ToDesktopJson {
145
146
  category?: string;
146
147
  dmgBackground?: FilePath;
147
148
  entitlements?: FilePath;
149
+ provisioningProfile?: FilePath;
148
150
  extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
149
151
  icon?: FilePath;
150
152
  requirements?: FilePath;
@@ -203,19 +205,27 @@ export type CustomMacCodeSign =
203
205
  };
204
206
 
205
207
  export type CustomMacNotarization =
206
- | {
207
- appleId: string;
208
- appleIdPassword: string;
209
- ascProvider?: string;
210
- teamId?: string;
211
- }
212
- | {
213
- // password is stored on hsm
214
- type: 'hsm';
215
- appleId: string;
216
- ascProvider?: string;
217
- teamId?: string;
218
- };
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
+ }
219
229
 
220
230
  export type ReleaseRedirectionRule =
221
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;