@limrun/api 0.28.3 → 0.28.4
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/CHANGELOG.md +9 -0
- package/exec-client.d.mts +6 -0
- package/exec-client.d.mts.map +1 -1
- package/exec-client.d.ts +6 -0
- package/exec-client.d.ts.map +1 -1
- package/exec-client.js.map +1 -1
- package/exec-client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/ios-client.d.mts +2 -0
- package/ios-client.d.mts.map +1 -1
- package/ios-client.d.ts +2 -0
- package/ios-client.d.ts.map +1 -1
- package/ios-client.js +1 -1
- package/ios-client.js.map +1 -1
- package/ios-client.mjs +1 -1
- package/ios-client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/xcode-instances-helpers.d.mts +7 -2
- package/resources/xcode-instances-helpers.d.mts.map +1 -1
- package/resources/xcode-instances-helpers.d.ts +7 -2
- package/resources/xcode-instances-helpers.d.ts.map +1 -1
- package/resources/xcode-instances-helpers.js +2 -2
- package/resources/xcode-instances-helpers.js.map +1 -1
- package/resources/xcode-instances-helpers.mjs +2 -2
- package/resources/xcode-instances-helpers.mjs.map +1 -1
- package/src/exec-client.ts +6 -0
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/ios-client.ts +12 -5
- package/src/resources/xcode-instances-helpers.ts +11 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/ios-client.ts
CHANGED
|
@@ -259,6 +259,8 @@ export type CommandResult = {
|
|
|
259
259
|
export type AppInstallationOptions = {
|
|
260
260
|
/** MD5 hash for caching - if provided and matches cached version, skips download */
|
|
261
261
|
md5?: string;
|
|
262
|
+
/** Client-side timeout for app installation. Defaults to 120 seconds. */
|
|
263
|
+
timeoutMs?: number;
|
|
262
264
|
/**
|
|
263
265
|
* Launch mode after installation:
|
|
264
266
|
* - 'ForegroundIfRunning': Bring to foreground if already running, otherwise launch
|
|
@@ -1670,11 +1672,16 @@ export async function createInstanceClient(options: InstanceClientOptions): Prom
|
|
|
1670
1672
|
};
|
|
1671
1673
|
|
|
1672
1674
|
const installApp = (url: string, options?: AppInstallationOptions): Promise<AppInstallationResult> => {
|
|
1673
|
-
return sendRequest<AppInstallationResult>(
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1675
|
+
return sendRequest<AppInstallationResult>(
|
|
1676
|
+
'appInstallation',
|
|
1677
|
+
{
|
|
1678
|
+
url,
|
|
1679
|
+
md5: options?.md5,
|
|
1680
|
+
launchMode: options?.launchMode,
|
|
1681
|
+
},
|
|
1682
|
+
undefined,
|
|
1683
|
+
options?.timeoutMs ?? 120_000,
|
|
1684
|
+
);
|
|
1678
1685
|
};
|
|
1679
1686
|
|
|
1680
1687
|
const setOrientation = (orientation: 'Portrait' | 'Landscape'): Promise<void> => {
|
|
@@ -51,11 +51,18 @@ export type XcodeProjectConfig = {
|
|
|
51
51
|
workspace?: string;
|
|
52
52
|
project?: string;
|
|
53
53
|
scheme?: string;
|
|
54
|
-
sdk?: 'iphonesimulator' | 'iphoneos';
|
|
54
|
+
sdk?: 'iphonesimulator' | 'iphoneos' | 'watchsimulator' | 'watchos';
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export type XcodeSigningConfig = {
|
|
58
|
+
certificateP12Base64?: string;
|
|
59
|
+
certificatePassword?: string;
|
|
60
|
+
provisioningProfileBase64?: string;
|
|
55
61
|
};
|
|
56
62
|
|
|
57
63
|
export type XcodeBuildOptions = {
|
|
58
|
-
upload?: { assetName: string } | { signedUploadUrl: string
|
|
64
|
+
upload?: { assetName: string } | { signedUploadUrl: string };
|
|
65
|
+
signing?: XcodeSigningConfig;
|
|
59
66
|
};
|
|
60
67
|
|
|
61
68
|
export type XcodeClient = {
|
|
@@ -228,6 +235,7 @@ export class XcodeInstances extends GeneratedXcodeInstances {
|
|
|
228
235
|
const request: ExecRequest = {
|
|
229
236
|
command: 'xcodebuild',
|
|
230
237
|
...(settings && { xcodebuild: settings }),
|
|
238
|
+
...(options?.signing && { signing: options.signing }),
|
|
231
239
|
};
|
|
232
240
|
|
|
233
241
|
if (options?.upload && 'assetName' in options.upload) {
|
|
@@ -249,9 +257,8 @@ export class XcodeInstances extends GeneratedXcodeInstances {
|
|
|
249
257
|
return exec(requestPromise, { apiUrl, token, log });
|
|
250
258
|
}
|
|
251
259
|
|
|
252
|
-
if (options?.upload && 'signedUploadUrl' in options.upload
|
|
260
|
+
if (options?.upload && 'signedUploadUrl' in options.upload) {
|
|
253
261
|
request.signedUploadUrl = options.upload.signedUploadUrl;
|
|
254
|
-
request.additionalMetadata = { signedDownloadUrl: options.upload.signedDownloadUrl };
|
|
255
262
|
}
|
|
256
263
|
|
|
257
264
|
return exec(request, { apiUrl, token, log });
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.28.
|
|
1
|
+
export const VERSION = '0.28.4'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.28.
|
|
1
|
+
export declare const VERSION = "0.28.4";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.28.
|
|
1
|
+
export declare const VERSION = "0.28.4";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.28.
|
|
1
|
+
export const VERSION = '0.28.4'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|