diff --git a/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift b/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift index dcb4e7aa..3b812d7a 100644 --- a/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift +++ b/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift @@ -21,12 +21,12 @@ public struct DeviceInfo: Codable, Sendable { var clientString: String { """ - <\(modelID)> + <\(modelID)> """ } var userAgent: String { - "AuthKit/1 (Macintosh; OS X 26.6) (com.apple.dt.Xcode/26.0)" + "AuthKit/1 (Macintosh; OS X 27.0) (com.apple.dt.Xcode/26.5)" } public init(modelID: String) { diff --git a/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift b/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift index d734ba31..4301e1db 100644 --- a/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift +++ b/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift @@ -39,6 +39,7 @@ actor GrandSlamLookupManager { } */ var request = HTTPRequest(url: Self.lookupURL) request.headerFields = [ + .userAgent: deviceInfo.clientInfo.userAgent, .init(DeviceInfo.clientInfoKey)!: deviceInfo.clientInfo.clientString, .init(DeviceInfo.deviceIDKey)!: deviceInfo.deviceID, .init(AnisetteData.iLocaleKey)!: Locale.current.identifier,