ipa-resign 0.0.5 → 0.0.7
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/LICENSE +47 -0
- package/README.md +22 -18
- package/assets/anisette/anisette_rs.js +557 -541
- package/assets/anisette/anisette_rs.wasm +0 -0
- package/assets/anisette/dist/anisette.d.ts +7 -0
- package/assets/anisette/dist/anisette.d.ts.map +1 -1
- package/assets/anisette/dist/anisette.js +32 -4
- package/assets/anisette/dist/anisette.js.map +1 -1
- package/assets/anisette/dist/anisette_rs.js +604 -841
- package/assets/anisette/dist/anisette_rs.node.js +539 -833
- package/assets/anisette/dist/anisette_rs.wasm +0 -0
- package/assets/anisette/dist/package.json +3 -0
- package/assets/zsign/zsign-wasm.min.js +27154 -27039
- package/dist/THIRD-PARTY-LICENSES.txt +1 -1
- package/dist/anisette-browser/index.d.ts +26 -0
- package/dist/anisette-browser/index.js +1 -452
- package/dist/browser/index.js +1 -554
- package/dist/core/index.js +1 -1302
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/dist/sign-browser/index.js +2 -18313
- package/package.json +6 -6
- package/assets/anisette/dist/unified-wasm-loader.d.ts +0 -47
- package/assets/anisette/dist/unified-wasm-loader.d.ts.map +0 -1
- package/assets/anisette/dist/unified-wasm-loader.js +0 -77
- package/assets/anisette/dist/unified-wasm-loader.js.map +0 -1
- package/dist/index.jsc +0 -0
|
@@ -32,6 +32,32 @@ export type AnisetteSource = {
|
|
|
32
32
|
export declare function setAnisetteSource(source: AnisetteSource): void;
|
|
33
33
|
export declare function getAnisetteHeadersAsync(): Promise<AnisetteHeaders>;
|
|
34
34
|
export declare function clearAnisetteCache(): void;
|
|
35
|
+
/** How the browser device presents to Apple's account device list. */
|
|
36
|
+
export type AnisetteDeviceConfig = {
|
|
37
|
+
/** Real Apple model id, e.g. `Macmini9,1` or `MacBookPro18,1`. Unknown ids show as "Mac". */
|
|
38
|
+
model?: string;
|
|
39
|
+
/** macOS version shown on the Version line, e.g. `26.5`. Free-form; recorded at registration. */
|
|
40
|
+
osVersion?: string;
|
|
41
|
+
/** macOS build paired with the version, e.g. `25F71`. Not displayed; kept for realism. */
|
|
42
|
+
osBuild?: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Set how browser sign-ins present to Apple's account device list, by part. Merges with the
|
|
46
|
+
* current config, so `setAnisetteDevice({ osVersion: '26.5' })` changes only the version. The
|
|
47
|
+
* `model` MUST be a real Apple model id (unknown → generic "Mac"); `osVersion`/`osBuild` are
|
|
48
|
+
* free-form (probe-verified, 2026-08). Call before the first sign-in — this resets the in-memory
|
|
49
|
+
* instance so the change takes effect. Note: the OS version only *records* at fresh device
|
|
50
|
+
* registration; re-authing an already-provisioned device keeps its original version.
|
|
51
|
+
*/
|
|
52
|
+
export declare function setAnisetteDevice(config: AnisetteDeviceConfig): void;
|
|
53
|
+
/**
|
|
54
|
+
* Escape hatch: set the raw `X-MMe-Client-Info` string directly, e.g.
|
|
55
|
+
* `<Macmini9,1> <macOS;26.5;25F71> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>`.
|
|
56
|
+
* Prefer setAnisetteDevice() for the common case; this is for non-macOS platform strings or
|
|
57
|
+
* custom app slots. Same rules apply (real model id; version passes through). Call before the
|
|
58
|
+
* first sign-in.
|
|
59
|
+
*/
|
|
60
|
+
export declare function setAnisetteClientInfo(value: string): void;
|
|
35
61
|
export declare function generateAnisetteHeadersLocallyAsync(onProgress?: SscProgress): Promise<Record<string, string>>;
|
|
36
62
|
export declare function clearLocalAnisetteState(): void;
|
|
37
63
|
|