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.
@@ -1,4 +1,4 @@
1
- Third-party software bundled into index.jsc.
1
+ Third-party software bundled into index.js.
2
2
  Generated by scripts/build.mjs. 28 packages.
3
3
 
4
4
  ========================================================================
@@ -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