import Foundation public struct SDKConfig: Sendable { public let appKey: String public let debug: Bool public let autoRegisterPush: Bool public init( appKey: String, debug: Bool = false, autoRegisterPush: Bool = true ) { self.appKey = appKey self.debug = debug self.autoRegisterPush = autoRegisterPush } } public extension SDKConfig { static func development( appKey: String, debug: Bool = false, autoRegisterPush: Bool = true ) -> SDKConfig { SDKConfig( appKey: appKey, debug: debug, autoRegisterPush: autoRegisterPush ) } } extension SDKConfig { } enum SDKEndpoints { static let apiBaseURL = URL(string: "https://dev.xuqinmin.com")! static let imWebSocketURL = URL(string: "wss://dev.xuqinmin.com/ws/im")! }