@mcesystems/apple-kit 1.0.51 → 1.0.53
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/dist/index.js +148 -213
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +147 -212
- package/dist/index.mjs.map +4 -4
- package/dist/resources/plist/certificate-trust.xml +3 -1
- package/dist/types/logic/actions/install.d.ts +1 -0
- package/dist/types/logic/actions/install.d.ts.map +1 -1
- package/dist/types/logic/activationFlow.d.ts +2 -3
- package/dist/types/logic/activationFlow.d.ts.map +1 -1
- package/dist/types/logic/iosCli.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
<key>PayloadCertificateFileName</key>
|
|
9
9
|
<string>{{certificateFileName}}</string>
|
|
10
10
|
<key>PayloadContent</key>
|
|
11
|
-
<data>
|
|
11
|
+
<data>
|
|
12
|
+
{{certificateBase64}}
|
|
13
|
+
</data>
|
|
12
14
|
<key>PayloadDescription</key>
|
|
13
15
|
<string>{{certificateDescription}}</string>
|
|
14
16
|
<key>PayloadDisplayName</key>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AppInfo, InstallAppOptions } from "@/types";
|
|
2
2
|
export declare function installApp(ipaPath: string, udid: string, options?: InstallAppOptions): Promise<void>;
|
|
3
|
+
export declare function installLocalApp(ipaPath: string, udid: string): Promise<void>;
|
|
3
4
|
export declare function uninstallApp(bundleId: string, udid: string): Promise<void>;
|
|
4
5
|
export declare function listApps(udid: string): Promise<AppInfo[]>;
|
|
5
6
|
export declare function isAppInstalled(bundleId: string, udid: string): Promise<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../src/logic/actions/install.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAwB,iBAAiB,EAAa,MAAM,SAAS,CAAC;AAO3F,wBAAsB,UAAU,CAC/B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,iBAAiB,GACzB,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../src/logic/actions/install.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAwB,iBAAiB,EAAa,MAAM,SAAS,CAAC;AAO3F,wBAAsB,UAAU,CAC/B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,iBAAiB,GACzB,OAAO,CAAC,IAAI,CAAC,CASf;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAIlF;AAED,wBAAsB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAQhF;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAkB/D;AAED,wBAAsB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAKrF;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgC5D;AAED,wBAAsB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA6D7F;AAwCD,wBAAsB,4BAA4B,CACjD,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EAAE,EACd,IAAI,EAAE,MAAM,GACV,OAAO,CAAC,IAAI,CAAC,CAgKf"}
|
|
@@ -2,15 +2,14 @@ import type { ActivationFlowConfig } from "@/types";
|
|
|
2
2
|
export declare class ActivationFlow {
|
|
3
3
|
private readonly iosCli;
|
|
4
4
|
private readonly mdmClientPromise;
|
|
5
|
-
private readonly organizationName?;
|
|
6
5
|
private readonly resourcesDir?;
|
|
7
6
|
constructor(config: ActivationFlowConfig);
|
|
8
7
|
run(udid: string): Promise<"activated" | "wiped">;
|
|
9
8
|
private installWifiProfile;
|
|
10
9
|
private getActivationState;
|
|
11
10
|
private installMdmProfile;
|
|
12
|
-
private
|
|
13
|
-
private
|
|
11
|
+
private installManagedApp;
|
|
12
|
+
private removeWifiProfile;
|
|
14
13
|
private requireMdmClient;
|
|
15
14
|
private retryIosCommand;
|
|
16
15
|
private retryActivateCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activationFlow.d.ts","sourceRoot":"","sources":["../../../src/logic/activationFlow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAa,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"activationFlow.d.ts","sourceRoot":"","sources":["../../../src/logic/activationFlow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,oBAAoB,EAAa,MAAM,SAAS,CAAC;AAiB/D,qBAAa,cAAc;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAiC;IAElE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAS;gBAE3B,MAAM,EAAE,oBAAoB;IAW3B,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,OAAO,CAAC;YAuBhD,kBAAkB;YAelB,kBAAkB;YAWlB,iBAAiB;YAkDjB,iBAAiB;YAUjB,iBAAiB;YAajB,gBAAgB;YAQhB,eAAe;YAOf,oBAAoB;YAOpB,KAAK;CAwBnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iosCli.d.ts","sourceRoot":"","sources":["../../../src/logic/iosCli.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAoB,MAAM,EAAmC,MAAM,cAAc,CAAC;AAmE9F,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"iosCli.d.ts","sourceRoot":"","sources":["../../../src/logic/iosCli.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAoB,MAAM,EAAmC,MAAM,cAAc,CAAC;AAmE9F,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAwC1D"}
|