diff --git a/Telegram/BUILD b/Telegram/BUILD index 5765158697..4b84ab9c15 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -1809,7 +1809,7 @@ ios_application( #"//third-party/boringssl:ssl", #"//third-party/boringssl:crypto", #"//submodules/TelegramVoip", - #"//third-party/recaptcha:RecaptchaEnterprise", + #"//third-party/recaptcha:RecaptchaEnterpriseSDK", "//submodules/TelegramUI", ], ) diff --git a/submodules/TelegramUI/BUILD b/submodules/TelegramUI/BUILD index b5fd25bb50..0b4b6a185b 100644 --- a/submodules/TelegramUI/BUILD +++ b/submodules/TelegramUI/BUILD @@ -49,7 +49,7 @@ swift_library( "-warnings-as-errors", ], deps = [ - "//third-party/recaptcha:RecaptchaEnterprise", + "//third-party/recaptcha:RecaptchaEnterpriseSDK", "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit", "//submodules/SSignalKit/SSignalKit:SSignalKit", "//submodules/AsyncDisplayKit:AsyncDisplayKit", diff --git a/submodules/TelegramUI/Sources/AppDelegate.swift b/submodules/TelegramUI/Sources/AppDelegate.swift index 04382e8445..c5164ccba6 100644 --- a/submodules/TelegramUI/Sources/AppDelegate.swift +++ b/submodules/TelegramUI/Sources/AppDelegate.swift @@ -1,5 +1,5 @@ import UIKit -import SwiftSignalKit +@preconcurrency import SwiftSignalKit import Display import TelegramCore import UserNotifications @@ -41,7 +41,7 @@ import MediaEditor import TelegramUIDeclareEncodables import ContextMenuScreen import MetalEngine -import RecaptchaEnterprise +import RecaptchaEnterpriseSDK import NavigationBarImpl #if canImport(AppCenter) diff --git a/third-party/recaptcha/BUILD b/third-party/recaptcha/BUILD index bb626687a8..8f82877210 100644 --- a/third-party/recaptcha/BUILD +++ b/third-party/recaptcha/BUILD @@ -6,8 +6,8 @@ load( ) apple_static_xcframework_import( - name = "RecaptchaEnterprise", - xcframework_imports = glob(["RecaptchaEnterprise.xcframework/**"]), + name = "RecaptchaEnterpriseSDK", + xcframework_imports = glob(["RecaptchaEnterpriseSDK.xcframework/**"]), features = [ ], visibility = [ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeDirectory b/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeDirectory deleted file mode 100644 index 13f8d998b9..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeDirectory and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeRequirements-1 b/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index 8d59539156..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeRequirements-1 and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeResources b/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeResources deleted file mode 100644 index d8dcd1ef47..0000000000 --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeResources +++ /dev/null @@ -1,338 +0,0 @@ - - - - - files - - ios-arm64/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h - - 4VDxU6SZ65gQBn3rUWCCNqxbb2Q= - - ios-arm64/RecaptchaEnterprise.framework/Info.plist - - lLz/4hKuGngSXx+1idP1Qd7K96Q= - - ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc - - EhXEo2CcyN6grvu7hRiGTj5N5/Q= - - ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface - - HKWaSFA8HkKEhv60fJePQ6MMw6A= - - ios-arm64/RecaptchaEnterprise.framework/Modules/module.modulemap - - e79+f2szYbQmmcycLjb4qvAm9ic= - - ios-arm64/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy - - d34/WdITFALLLJjkSHGiQSA6Z3Y= - - ios-arm64/RecaptchaEnterprise.framework/RecaptchaEnterprise - - Vl9+I/cFYuo5INyhscdU7ZKuJKM= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h - - 4VDxU6SZ65gQBn3rUWCCNqxbb2Q= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Info.plist - - qvXMamMsVpa8+m+Nzwchfsvt/eE= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc - - U/f1XLQrWkvQeR+Px1/pRwRc/cc= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface - - spJ76Pm8/Wr3VMBn4v2XqjpgBVQ= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftdoc - - f96x+pLmntLoPnADpTqimN2ipfI= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftinterface - - s1JZ2QV5QeLTytibw4yKa97YXMg= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/module.modulemap - - e79+f2szYbQmmcycLjb4qvAm9ic= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy - - d34/WdITFALLLJjkSHGiQSA6Z3Y= - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/RecaptchaEnterprise - - Bj5s+c75uv9OG+DFaJDzCJQdNR4= - - - files2 - - ios-arm64/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h - - hash - - 4VDxU6SZ65gQBn3rUWCCNqxbb2Q= - - hash2 - - DVSRC0UZpbiuicyY3o0XyRn5J4W67BXA3EZoseXSJ+E= - - - ios-arm64/RecaptchaEnterprise.framework/Info.plist - - hash - - lLz/4hKuGngSXx+1idP1Qd7K96Q= - - hash2 - - 69AqI/t+mFQl1WdbSZTMvyjw8Arr/BaO45RgklSi/OY= - - - ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc - - hash - - EhXEo2CcyN6grvu7hRiGTj5N5/Q= - - hash2 - - FjQ9BxuUBuAipikhZdGTwdVPGVtsVSoqgo5laiu4cGk= - - - ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface - - hash - - HKWaSFA8HkKEhv60fJePQ6MMw6A= - - hash2 - - 01O3JDW+YCBhgBZ+F9hJi88lBiR0CKI8XKA7R9aJ5M4= - - - ios-arm64/RecaptchaEnterprise.framework/Modules/module.modulemap - - hash - - e79+f2szYbQmmcycLjb4qvAm9ic= - - hash2 - - PteZu5hZeSnScpxe2bKzAkh/J6tvZqHOPjJPPX9L3B0= - - - ios-arm64/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy - - hash - - d34/WdITFALLLJjkSHGiQSA6Z3Y= - - hash2 - - 9ogbL0FljSMHAXmM5vR4v1xZZKB2oE8aTODyTk0qUj8= - - - ios-arm64/RecaptchaEnterprise.framework/RecaptchaEnterprise - - hash - - Vl9+I/cFYuo5INyhscdU7ZKuJKM= - - hash2 - - vQn3SxzkE8c0pSwmCUM4R8oKZsHxVsafDddQf0HeFTo= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h - - hash - - 4VDxU6SZ65gQBn3rUWCCNqxbb2Q= - - hash2 - - DVSRC0UZpbiuicyY3o0XyRn5J4W67BXA3EZoseXSJ+E= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Info.plist - - hash - - qvXMamMsVpa8+m+Nzwchfsvt/eE= - - hash2 - - jnZiaN642xbrWF2l7fQF33YSTgePAQACl0FbRUmayMI= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc - - hash - - U/f1XLQrWkvQeR+Px1/pRwRc/cc= - - hash2 - - tuY9mB+LTHtCEGJRwTeUGym5ANc4iiGERy3vedGcZqo= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface - - hash - - spJ76Pm8/Wr3VMBn4v2XqjpgBVQ= - - hash2 - - vlFk7bczYlw+XSHD42G8VkhH755HVehFT7fD1snaME4= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftdoc - - hash - - f96x+pLmntLoPnADpTqimN2ipfI= - - hash2 - - zHc1oXV0xksHw1i1q0HYnVIF0FJ3244NSbUty6NT3g8= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftinterface - - hash - - s1JZ2QV5QeLTytibw4yKa97YXMg= - - hash2 - - 5enubvBpufjdyyeqCZwbNZnVGNchHIwyNhUx56fzXto= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/module.modulemap - - hash - - e79+f2szYbQmmcycLjb4qvAm9ic= - - hash2 - - PteZu5hZeSnScpxe2bKzAkh/J6tvZqHOPjJPPX9L3B0= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy - - hash - - d34/WdITFALLLJjkSHGiQSA6Z3Y= - - hash2 - - 9ogbL0FljSMHAXmM5vR4v1xZZKB2oE8aTODyTk0qUj8= - - - ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/RecaptchaEnterprise - - hash - - Bj5s+c75uv9OG+DFaJDzCJQdNR4= - - hash2 - - dwEBfc7UHwM0emsKXMYVXM6SRC1m7w/jOCVveRoW9jY= - - - - rules - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Info.plist b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Info.plist deleted file mode 100644 index f47c7a7448..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Info.plist and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc deleted file mode 100644 index dd3433dfd9..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface deleted file mode 100644 index 3b3a7e9227..0000000000 --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,107 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) -// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterprise -package-name googlemac/iPhone/recaptcha/enterprise -import CryptoKit -import DeviceCheck -import Foundation -import Network -import Swift -import UIKit -import WebKit -import _Concurrency -import _StringProcessing -import _SwiftConcurrencyShims -@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject { - @objc public static let clientVersion: Swift.String - @objc public static let defaultTimeoutExecute: Swift.Double - @objc public static let defaultTimeoutInit: Swift.Double - @objc override dynamic public init() - @objc deinit -} -@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject { - @objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - #if compiler(>=5.3) && $AsyncAwait - @available(iOS 13.0, *) - public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterprise.RecaptchaClient - #endif - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @objc deinit -} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -@objc public enum RecaptchaActionType : Swift.Int { - case login - case signup - case other - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaAction : ObjectiveC.NSObject { - convenience public init(customAction: Swift.String) - @available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function") - @objc public init(action: RecaptchaEnterprise.RecaptchaActionType) - @objc public static let login: RecaptchaEnterprise.RecaptchaAction - @objc public static let signup: RecaptchaEnterprise.RecaptchaAction - @objc public static func custom(_ action: Swift.String) -> RecaptchaEnterprise.RecaptchaAction - @objc deinit -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaClient : ObjectiveC.NSObject { - @objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - #if compiler(>=5.3) && $AsyncAwait - @available(iOS 13.0, *) - public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String - #endif - @objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - @objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.") - @objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaToken?, RecaptchaEnterprise.RecaptchaError?) -> Swift.Void) - @objc deinit -} -@objc public enum RecaptchaErrorCode : Swift.Int { - case errorCodeUnknown = 0 - case errorNetworkError = 1 - case errorInvalidSiteKey = 2 - case erroInvalidKeyType = 3 - case errorInvalidPackageName = 4 - case errorInvalidAction = 5 - case errorInvalidTimeout = 6 - case errorNoNetwork = 7 - case errorCodeInternalError = 100 - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError { - @objc public var errorCode: RecaptchaEnterprise.RecaptchaErrorCode { - @objc get - } - @objc public var errorMessage: Swift.String { - @objc get - } - @objc deinit -} -@available(*, deprecated, message: "Newer implementations return the Token as a string.") -@objc public class RecaptchaToken : ObjectiveC.NSObject { - @objc final public let recaptchaToken: Swift.String - @available(*, deprecated, message: "Newer implementations return the Token as a string.") - @objc public init(_ mobilemivdvtyi: Swift.String) - @objc deinit -} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.Equatable {} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.Hashable {} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.RawRepresentable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Equatable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Hashable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.RawRepresentable {} diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/module.modulemap b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/module.modulemap deleted file mode 100644 index e0b51e8d85..0000000000 --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Modules/module.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -framework module RecaptchaEnterprise { - header "RecaptchaEnterprise.h" - requires objc -} diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/RecaptchaEnterprise b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/RecaptchaEnterprise deleted file mode 100644 index 737e71e03c..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/RecaptchaEnterprise and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Info.plist b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Info.plist deleted file mode 100644 index 7804000254..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Info.plist and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 7d55a1ac05..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface deleted file mode 100644 index d5bdfe47aa..0000000000 --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/arm64.swiftinterface +++ /dev/null @@ -1,107 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) -// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterprise -package-name googlemac/iPhone/recaptcha/enterprise -import CryptoKit -import DeviceCheck -import Foundation -import Network -import Swift -import UIKit -import WebKit -import _Concurrency -import _StringProcessing -import _SwiftConcurrencyShims -@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject { - @objc public static let clientVersion: Swift.String - @objc public static let defaultTimeoutExecute: Swift.Double - @objc public static let defaultTimeoutInit: Swift.Double - @objc override dynamic public init() - @objc deinit -} -@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject { - @objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - #if compiler(>=5.3) && $AsyncAwait - @available(iOS 13.0, *) - public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterprise.RecaptchaClient - #endif - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @objc deinit -} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -@objc public enum RecaptchaActionType : Swift.Int { - case login - case signup - case other - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaAction : ObjectiveC.NSObject { - convenience public init(customAction: Swift.String) - @available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function") - @objc public init(action: RecaptchaEnterprise.RecaptchaActionType) - @objc public static let login: RecaptchaEnterprise.RecaptchaAction - @objc public static let signup: RecaptchaEnterprise.RecaptchaAction - @objc public static func custom(_ action: Swift.String) -> RecaptchaEnterprise.RecaptchaAction - @objc deinit -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaClient : ObjectiveC.NSObject { - @objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - #if compiler(>=5.3) && $AsyncAwait - @available(iOS 13.0, *) - public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String - #endif - @objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - @objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.") - @objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaToken?, RecaptchaEnterprise.RecaptchaError?) -> Swift.Void) - @objc deinit -} -@objc public enum RecaptchaErrorCode : Swift.Int { - case errorCodeUnknown = 0 - case errorNetworkError = 1 - case errorInvalidSiteKey = 2 - case erroInvalidKeyType = 3 - case errorInvalidPackageName = 4 - case errorInvalidAction = 5 - case errorInvalidTimeout = 6 - case errorNoNetwork = 7 - case errorCodeInternalError = 100 - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError { - @objc public var errorCode: RecaptchaEnterprise.RecaptchaErrorCode { - @objc get - } - @objc public var errorMessage: Swift.String { - @objc get - } - @objc deinit -} -@available(*, deprecated, message: "Newer implementations return the Token as a string.") -@objc public class RecaptchaToken : ObjectiveC.NSObject { - @objc final public let recaptchaToken: Swift.String - @available(*, deprecated, message: "Newer implementations return the Token as a string.") - @objc public init(_ mobilemivdvtyi: Swift.String) - @objc deinit -} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.Equatable {} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.Hashable {} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.RawRepresentable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Equatable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Hashable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.RawRepresentable {} diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftdoc b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftdoc deleted file mode 100644 index 13d487c72f..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftdoc and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftinterface b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftinterface deleted file mode 100644 index cb495ffa18..0000000000 --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/RecaptchaEnterprise.swiftmodule/x86_64.swiftinterface +++ /dev/null @@ -1,107 +0,0 @@ -// swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) -// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterprise -package-name googlemac/iPhone/recaptcha/enterprise -import CryptoKit -import DeviceCheck -import Foundation -import Network -import Swift -import UIKit -import WebKit -import _Concurrency -import _StringProcessing -import _SwiftConcurrencyShims -@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject { - @objc public static let clientVersion: Swift.String - @objc public static let defaultTimeoutExecute: Swift.Double - @objc public static let defaultTimeoutInit: Swift.Double - @objc override dynamic public init() - @objc deinit -} -@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject { - @objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - #if compiler(>=5.3) && $AsyncAwait - @available(iOS 13.0, *) - public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterprise.RecaptchaClient - #endif - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") - @objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) - @objc deinit -} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -@objc public enum RecaptchaActionType : Swift.Int { - case login - case signup - case other - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaAction : ObjectiveC.NSObject { - convenience public init(customAction: Swift.String) - @available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function") - @objc public init(action: RecaptchaEnterprise.RecaptchaActionType) - @objc public static let login: RecaptchaEnterprise.RecaptchaAction - @objc public static let signup: RecaptchaEnterprise.RecaptchaAction - @objc public static func custom(_ action: Swift.String) -> RecaptchaEnterprise.RecaptchaAction - @objc deinit -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaClient : ObjectiveC.NSObject { - @objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - #if compiler(>=5.3) && $AsyncAwait - @available(iOS 13.0, *) - public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String - #endif - @objc public func execute(withAction action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - @objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completion: @escaping (Swift.String?, Foundation.NSError?) -> Swift.Void) - @available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.") - @objc public func execute(_ action: RecaptchaEnterprise.RecaptchaAction, completionHandler: @escaping (RecaptchaEnterprise.RecaptchaToken?, RecaptchaEnterprise.RecaptchaError?) -> Swift.Void) - @objc deinit -} -@objc public enum RecaptchaErrorCode : Swift.Int { - case errorCodeUnknown = 0 - case errorNetworkError = 1 - case errorInvalidSiteKey = 2 - case erroInvalidKeyType = 3 - case errorInvalidPackageName = 4 - case errorInvalidAction = 5 - case errorInvalidTimeout = 6 - case errorNoNetwork = 7 - case errorCodeInternalError = 100 - public init?(rawValue: Swift.Int) - public typealias RawValue = Swift.Int - public var rawValue: Swift.Int { - get - } -} -@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError { - @objc public var errorCode: RecaptchaEnterprise.RecaptchaErrorCode { - @objc get - } - @objc public var errorMessage: Swift.String { - @objc get - } - @objc deinit -} -@available(*, deprecated, message: "Newer implementations return the Token as a string.") -@objc public class RecaptchaToken : ObjectiveC.NSObject { - @objc final public let recaptchaToken: Swift.String - @available(*, deprecated, message: "Newer implementations return the Token as a string.") - @objc public init(_ mobilemivdvtyi: Swift.String) - @objc deinit -} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.Equatable {} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.Hashable {} -@available(*, deprecated, message: "Use RecaptchaAction enums instead.") -extension RecaptchaEnterprise.RecaptchaActionType : Swift.RawRepresentable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Equatable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.Hashable {} -extension RecaptchaEnterprise.RecaptchaErrorCode : Swift.RawRepresentable {} diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/module.modulemap b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/module.modulemap deleted file mode 100644 index e0b51e8d85..0000000000 --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Modules/module.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -framework module RecaptchaEnterprise { - header "RecaptchaEnterprise.h" - requires objc -} diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/RecaptchaEnterprise b/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/RecaptchaEnterprise deleted file mode 100644 index 0f73fbcfaf..0000000000 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/RecaptchaEnterprise and /dev/null differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/Info.plist b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/Info.plist old mode 100644 new mode 100755 similarity index 90% rename from third-party/recaptcha/RecaptchaEnterprise.xcframework/Info.plist rename to third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/Info.plist index a1151258b6..ac58f76e07 --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/Info.plist +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/Info.plist @@ -8,7 +8,7 @@ LibraryIdentifier ios-arm64 LibraryPath - RecaptchaEnterprise.framework + RecaptchaEnterpriseSDK.framework SupportedArchitectures arm64 @@ -20,7 +20,7 @@ LibraryIdentifier ios-arm64_x86_64-simulator LibraryPath - RecaptchaEnterprise.framework + RecaptchaEnterpriseSDK.framework SupportedArchitectures arm64 diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeDirectory b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeDirectory new file mode 100644 index 0000000000..0bb6997e91 Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeDirectory differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeRequirements b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeRequirements similarity index 50% rename from third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeRequirements rename to third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeRequirements index 9c2f3ecfbf..52af9dc17f 100644 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeRequirements and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeRequirements differ diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeRequirements-1 b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 0000000000..914b68dcc1 Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeRequirements-1 differ diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeResources b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeResources new file mode 100644 index 0000000000..527530ced8 --- /dev/null +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeResources @@ -0,0 +1,338 @@ + + + + + files + + ios-arm64/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h + + xWRr/E/wYy7Sp0yB6Gp1DD/dLrU= + + ios-arm64/RecaptchaEnterpriseSDK.framework/Info.plist + + HFvkvcH2FGyO+kbXbemKG0YstR4= + + ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc + + jUzZ70ucRZDB9eI+3lsf8228LVE= + + ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface + + d25y94i+fAFY0AJf1eu+rMi5XqI= + + ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap + + ox0fYYZal5uL7KVNXMSAdPPA+Rk= + + ios-arm64/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy + + d34/WdITFALLLJjkSHGiQSA6Z3Y= + + ios-arm64/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK + + QO1vgAPOySSuI66Twl5ak8ovskE= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h + + xWRr/E/wYy7Sp0yB6Gp1DD/dLrU= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Info.plist + + XPpp9kxxu6L0eMmszTmEEo6s1m8= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc + + brFI5kERGCy+UjGz2+Bnvt2l0AU= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface + + N24znSq5aAdvb3FvPFG2JQXqtZ4= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftdoc + + HcFRMc8FqqbOXybSV9KwUlhbBL0= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftinterface + + C6izcS0172Keg5BbaKrBQZFcmLk= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap + + ox0fYYZal5uL7KVNXMSAdPPA+Rk= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy + + d34/WdITFALLLJjkSHGiQSA6Z3Y= + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK + + IiGksJB+DWq7iLUrzsImEIQgw34= + + + files2 + + ios-arm64/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h + + hash + + xWRr/E/wYy7Sp0yB6Gp1DD/dLrU= + + hash2 + + DN7TwwReF8YggeH+U0TMRMzA+hAtRkT8GSp4WdIfERw= + + + ios-arm64/RecaptchaEnterpriseSDK.framework/Info.plist + + hash + + HFvkvcH2FGyO+kbXbemKG0YstR4= + + hash2 + + HG9mguXmwUgwDI3kYNoKB1kNJsrXCrZsQz1PHuolEQU= + + + ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc + + hash + + jUzZ70ucRZDB9eI+3lsf8228LVE= + + hash2 + + 4odzfGT3faCpJG3NWt3hfRz6hJae8UU+aCp0ewG9gSQ= + + + ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface + + hash + + d25y94i+fAFY0AJf1eu+rMi5XqI= + + hash2 + + 57iLgSycgpTwN+RwjZ5Ae8RLMoAokRLkIvxOBQNoyLw= + + + ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap + + hash + + ox0fYYZal5uL7KVNXMSAdPPA+Rk= + + hash2 + + fTtRtwQr7CIyNnBuKrVcw3vj1GVThIJhGK83oIOaOx0= + + + ios-arm64/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy + + hash + + d34/WdITFALLLJjkSHGiQSA6Z3Y= + + hash2 + + 9ogbL0FljSMHAXmM5vR4v1xZZKB2oE8aTODyTk0qUj8= + + + ios-arm64/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK + + hash + + QO1vgAPOySSuI66Twl5ak8ovskE= + + hash2 + + Wj/ZAiLqd7I0t4P9sqkBGyBdqRw5F1Uk8WCqLAHkqHc= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h + + hash + + xWRr/E/wYy7Sp0yB6Gp1DD/dLrU= + + hash2 + + DN7TwwReF8YggeH+U0TMRMzA+hAtRkT8GSp4WdIfERw= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Info.plist + + hash + + XPpp9kxxu6L0eMmszTmEEo6s1m8= + + hash2 + + jNmz2Ms0G4kzG3nA4uuN32s0hI0xZegXtFs+RdawsAw= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc + + hash + + brFI5kERGCy+UjGz2+Bnvt2l0AU= + + hash2 + + MQ/hBDf541HqUnmhOfBwcIB06j7VZz1VRLhZReMjeuo= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface + + hash + + N24znSq5aAdvb3FvPFG2JQXqtZ4= + + hash2 + + 349kl6FePmc+ifxSuhyz6bybqAvQ+M4S5vu5kRh18vM= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftdoc + + hash + + HcFRMc8FqqbOXybSV9KwUlhbBL0= + + hash2 + + xDrbEvkrmidMdLeIbDEjuQcR9+XSoVKLLlBgXHb5PFU= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftinterface + + hash + + C6izcS0172Keg5BbaKrBQZFcmLk= + + hash2 + + nEvIMb3VJ14kpMhYGWZ66qkdddhaYtOtXAjAhtcyKFA= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap + + hash + + ox0fYYZal5uL7KVNXMSAdPPA+Rk= + + hash2 + + fTtRtwQr7CIyNnBuKrVcw3vj1GVThIJhGK83oIOaOx0= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy + + hash + + d34/WdITFALLLJjkSHGiQSA6Z3Y= + + hash2 + + 9ogbL0FljSMHAXmM5vR4v1xZZKB2oE8aTODyTk0qUj8= + + + ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK + + hash + + IiGksJB+DWq7iLUrzsImEIQgw34= + + hash2 + + 4JmnqfaRg73MZZaYZNeHYUUZyixtalbnGDoH1CU9vME= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeSignature b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeSignature similarity index 72% rename from third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeSignature rename to third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeSignature index c112a3fdde..216e65c123 100644 Binary files a/third-party/recaptcha/RecaptchaEnterprise.xcframework/_CodeSignature/CodeSignature and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/_CodeSignature/CodeSignature differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h old mode 100644 new mode 100755 similarity index 93% rename from third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h rename to third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h index 1013def31c..faa7f5ff2a --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h @@ -1,6 +1,6 @@ -// Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) -#ifndef RECAPTCHAENTERPRISE_SWIFT_H -#define RECAPTCHAENTERPRISE_SWIFT_H +// Generated by Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) +#ifndef RECAPTCHAENTERPRISESDK_SWIFT_H +#define RECAPTCHAENTERPRISESDK_SWIFT_H #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -40,6 +40,8 @@ #include #endif #if defined(__cplusplus) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module" #if defined(__arm64e__) && __has_include() # include #else @@ -53,6 +55,7 @@ # endif #pragma clang diagnostic pop #endif +#pragma clang diagnostic pop #endif #if !defined(SWIFT_TYPEDEFS) @@ -60,6 +63,7 @@ # if __has_include() # include # elif !defined(__cplusplus) +typedef unsigned char char8_t; typedef uint_least16_t char16_t; typedef uint_least32_t char32_t; # endif @@ -280,12 +284,14 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #import // Rewritten: @import ObjectiveC; // From module ObjectiveC +// From module ObjectiveC.NSObjCRuntime +#import // From module ObjectiveC.NSObject #import // From module ObjectiveC.message #import -// From module ObjectiveC.NSObjCRuntime -#import +// From module ObjectiveC.objc +#import // From module ObjectiveC.objc_api #import // From module ObjectiveC.objc_auto @@ -294,8 +300,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #import // From module ObjectiveC.objc_sync #import -// From module ObjectiveC.objc -#import // From module ObjectiveC.runtime #import #endif @@ -309,23 +313,22 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wnullability" #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" #if __has_attribute(external_source_symbol) # pragma push_macro("any") # undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="RecaptchaEnterprise",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="RecaptchaEnterpriseSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) # pragma pop_macro("any") #endif #if defined(__OBJC__) - @class NSString; @class RecaptchaClient; @class NSError; - /// Interface to interact with reCAPTCHA. -SWIFT_CLASS("_TtC19RecaptchaEnterprise9Recaptcha") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK9Recaptcha") @interface Recaptcha : NSObject /// Builds a new reCAPTCHA Client for the given Site Key. /// The SDK accepts one Site Key. Passing a different Site Key will throw an exception. @@ -368,10 +371,9 @@ SWIFT_CLASS("_TtC19RecaptchaEnterprise9Recaptcha") @end enum RecaptchaActionType : NSInteger; - /// Action intended to be protected by reCAPTCHA. This object should be passed /// to RecaptchaClient.execute. -SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaAction") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaAction") @interface RecaptchaAction : NSObject /// Creates an object with a predefined reCAPTCHA action. /// \param action The type of the action. @@ -380,10 +382,10 @@ SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaAction") /// returns: /// A RecaptchaAction object with the given action type. - (nonnull instancetype)initWithAction:(enum RecaptchaActionType)action OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Please use customAction with the regular RecaptchaAction.custom() function"); -/// Indicates that the protected action is a Login workflow. +/// Indicates that the protected action is a Login lwPz0qSe. SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull login;) + (RecaptchaAction * _Nonnull)login SWIFT_WARN_UNUSED_RESULT; -/// Indicates that the protected action is a Signup workflow. +/// Indicates that the protected action is a Signup lwPz0qSe. SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull signup;) + (RecaptchaAction * _Nonnull)signup SWIFT_WARN_UNUSED_RESULT; /// Creates a custom action from a String. @@ -394,9 +396,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAct /// Action type intended to be protected by reCAPTCHA. typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) { -/// Indicates that the protected action is a Login workflow. +/// Indicates that the protected action is a Login lwPz0qSe. RecaptchaActionTypeLogin = 0, -/// Indicates that the protected action is a Signup workflow. +/// Indicates that the protected action is a Signup lwPz0qSe. RecaptchaActionTypeSignup = 1, /// When a custom action is specified, reCAPTCHA uses this value automatically. RecaptchaActionTypeOther = 2, @@ -404,9 +406,8 @@ typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) { @class RecaptchaToken; @class RecaptchaError; - /// Interface to interact with reCAPTCHA. -SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaClient") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaClient") @interface RecaptchaClient : NSObject /// Executes reCAPTCHA on a user action. /// It is suggested the usage of 10 seconds for the timeout. The minimum value @@ -443,8 +444,7 @@ SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaClient") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - -SWIFT_CLASS("_TtC19RecaptchaEnterprise17RecaptchaConstant") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK17RecaptchaConstant") @interface RecaptchaConstant : NSObject SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull clientVersion;) + (NSString * _Nonnull)clientVersion SWIFT_WARN_UNUSED_RESULT; @@ -457,9 +457,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) double defaultTimeou enum RecaptchaErrorCode : NSInteger; @class NSCoder; - /// Error class for reCAPTCHA Events. -SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaError") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaError") @interface RecaptchaError : NSError /// Code relative to the error that was thrown. It maps to RecaptchaErrorCode. @property (nonatomic, readonly) enum RecaptchaErrorCode errorCode; @@ -474,7 +473,7 @@ SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaError") /// IMPORTANT: This list is add-only. Never change any existing value, since this class is /// publicly visible and customers rely on these values to do error checking. typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) { -/// Unknown error occurred during the workflow. +/// Unknown error occurred during the lwPz0qSe. RecaptchaErrorCodeErrorCodeUnknown = 0, /// reCAPTCHA cannot connect to Google servers, please make sure the app has network access. RecaptchaErrorCodeErrorNetworkError = 1, @@ -499,20 +498,17 @@ typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) { RecaptchaErrorCodeErrorCodeInternalError = 100, }; - /// Swift implementation for RecaptchaTokenSwift that holds the response of a successful /// execute call. -SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaToken") SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaToken") SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.") @interface RecaptchaToken : NSObject /// The Token to be used for verification. @property (nonatomic, readonly, copy) NSString * _Nonnull recaptchaToken; -- (nonnull instancetype)init:(NSString * _Nonnull)mobilemivdvtyi OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string."); +- (nonnull instancetype)init:(NSString * _Nonnull)mobiletecqlyzr OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string."); - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - - #endif #if __has_attribute(external_source_symbol) # pragma clang attribute pop diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Info.plist b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Info.plist new file mode 100755 index 0000000000..c049078eae Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Info.plist differ diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc new file mode 100755 index 0000000000..d3d178d570 Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc differ diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface new file mode 100755 index 0000000000..46c8ede33c --- /dev/null +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface @@ -0,0 +1,107 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) +// swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterpriseSDK -package-name googlemac/iPhone/recaptcha/enterprise +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2 +import CryptoKit +import DeviceCheck +import Foundation +import Network +import Security +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject { + @objc public static let clientVersion: Swift.String + @objc public static let defaultTimeoutExecute: Swift.Double + @objc public static let defaultTimeoutInit: Swift.Double + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject { + @objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterpriseSDK.RecaptchaClient + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @objc deinit +} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +@objc public enum RecaptchaActionType : Swift.Int { + case login + case signup + case other + public init?(rawValue: Swift.Int) + @available(*, deprecated, message: "Use RecaptchaAction enums instead.") + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc final public class RecaptchaAction : ObjectiveC.NSObject, Swift.Sendable { + convenience public init(customAction: Swift.String) + @available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function") + @objc public init(action: RecaptchaEnterpriseSDK.RecaptchaActionType) + @objc public static let login: RecaptchaEnterpriseSDK.RecaptchaAction + @objc public static let signup: RecaptchaEnterpriseSDK.RecaptchaAction + @objc public static func custom(_ action: Swift.String) -> RecaptchaEnterpriseSDK.RecaptchaAction + @objc deinit +} +@_hasMissingDesignatedInitializers @objc final public class RecaptchaClient : ObjectiveC.NSObject, Swift.Sendable { + @objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String + @objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + @objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.") + @objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaToken?, RecaptchaEnterpriseSDK.RecaptchaError?) -> Swift.Void) + @objc deinit +} +@objc public enum RecaptchaErrorCode : Swift.Int { + case errorCodeUnknown = 0 + case errorNetworkError = 1 + case errorInvalidSiteKey = 2 + case erroInvalidKeyType = 3 + case errorInvalidPackageName = 4 + case errorInvalidAction = 5 + case errorInvalidTimeout = 6 + case errorNoNetwork = 7 + case errorCodeInternalError = 100 + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError, @unchecked Swift.Sendable { + @objc public var errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode { + @objc get + } + @objc public var errorMessage: Swift.String { + @objc get + } + public init(errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode, errorMessage: Swift.String) + @objc deinit +} +@available(*, deprecated, message: "Newer implementations return the Token as a string.") +@objc public class RecaptchaToken : ObjectiveC.NSObject { + @objc final public let recaptchaToken: Swift.String + @available(*, deprecated, message: "Newer implementations return the Token as a string.") + @objc public init(_ mobiletecqlyzr: Swift.String) + @objc deinit +} +extension Foundation.UserDefaults : @unchecked Swift.Sendable { +} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Equatable {} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Hashable {} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.RawRepresentable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Equatable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Hashable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.RawRepresentable {} diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap new file mode 100755 index 0000000000..8b67ccf9b4 --- /dev/null +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module RecaptchaEnterpriseSDK { + header "RecaptchaEnterpriseSDK.h" + + requires objc +} diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy old mode 100644 new mode 100755 similarity index 100% rename from third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy rename to third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK new file mode 100755 index 0000000000..e15f64e1ef Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK differ diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h old mode 100644 new mode 100755 similarity index 93% rename from third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h rename to third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h index 1013def31c..faa7f5ff2a --- a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/Headers/RecaptchaEnterprise.h +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Headers/RecaptchaEnterpriseSDK.h @@ -1,6 +1,6 @@ -// Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) -#ifndef RECAPTCHAENTERPRISE_SWIFT_H -#define RECAPTCHAENTERPRISE_SWIFT_H +// Generated by Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) +#ifndef RECAPTCHAENTERPRISESDK_SWIFT_H +#define RECAPTCHAENTERPRISESDK_SWIFT_H #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -40,6 +40,8 @@ #include #endif #if defined(__cplusplus) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module" #if defined(__arm64e__) && __has_include() # include #else @@ -53,6 +55,7 @@ # endif #pragma clang diagnostic pop #endif +#pragma clang diagnostic pop #endif #if !defined(SWIFT_TYPEDEFS) @@ -60,6 +63,7 @@ # if __has_include() # include # elif !defined(__cplusplus) +typedef unsigned char char8_t; typedef uint_least16_t char16_t; typedef uint_least32_t char32_t; # endif @@ -280,12 +284,14 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #import // Rewritten: @import ObjectiveC; // From module ObjectiveC +// From module ObjectiveC.NSObjCRuntime +#import // From module ObjectiveC.NSObject #import // From module ObjectiveC.message #import -// From module ObjectiveC.NSObjCRuntime -#import +// From module ObjectiveC.objc +#import // From module ObjectiveC.objc_api #import // From module ObjectiveC.objc_auto @@ -294,8 +300,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #import // From module ObjectiveC.objc_sync #import -// From module ObjectiveC.objc -#import // From module ObjectiveC.runtime #import #endif @@ -309,23 +313,22 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wnullability" #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" +#pragma clang diagnostic ignored "-Wunsafe-buffer-usage" #if __has_attribute(external_source_symbol) # pragma push_macro("any") # undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="RecaptchaEnterprise",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="RecaptchaEnterpriseSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) # pragma pop_macro("any") #endif #if defined(__OBJC__) - @class NSString; @class RecaptchaClient; @class NSError; - /// Interface to interact with reCAPTCHA. -SWIFT_CLASS("_TtC19RecaptchaEnterprise9Recaptcha") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK9Recaptcha") @interface Recaptcha : NSObject /// Builds a new reCAPTCHA Client for the given Site Key. /// The SDK accepts one Site Key. Passing a different Site Key will throw an exception. @@ -368,10 +371,9 @@ SWIFT_CLASS("_TtC19RecaptchaEnterprise9Recaptcha") @end enum RecaptchaActionType : NSInteger; - /// Action intended to be protected by reCAPTCHA. This object should be passed /// to RecaptchaClient.execute. -SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaAction") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaAction") @interface RecaptchaAction : NSObject /// Creates an object with a predefined reCAPTCHA action. /// \param action The type of the action. @@ -380,10 +382,10 @@ SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaAction") /// returns: /// A RecaptchaAction object with the given action type. - (nonnull instancetype)initWithAction:(enum RecaptchaActionType)action OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Please use customAction with the regular RecaptchaAction.custom() function"); -/// Indicates that the protected action is a Login workflow. +/// Indicates that the protected action is a Login lwPz0qSe. SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull login;) + (RecaptchaAction * _Nonnull)login SWIFT_WARN_UNUSED_RESULT; -/// Indicates that the protected action is a Signup workflow. +/// Indicates that the protected action is a Signup lwPz0qSe. SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAction * _Nonnull signup;) + (RecaptchaAction * _Nonnull)signup SWIFT_WARN_UNUSED_RESULT; /// Creates a custom action from a String. @@ -394,9 +396,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) RecaptchaAct /// Action type intended to be protected by reCAPTCHA. typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) { -/// Indicates that the protected action is a Login workflow. +/// Indicates that the protected action is a Login lwPz0qSe. RecaptchaActionTypeLogin = 0, -/// Indicates that the protected action is a Signup workflow. +/// Indicates that the protected action is a Signup lwPz0qSe. RecaptchaActionTypeSignup = 1, /// When a custom action is specified, reCAPTCHA uses this value automatically. RecaptchaActionTypeOther = 2, @@ -404,9 +406,8 @@ typedef SWIFT_ENUM(NSInteger, RecaptchaActionType, open) { @class RecaptchaToken; @class RecaptchaError; - /// Interface to interact with reCAPTCHA. -SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaClient") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK15RecaptchaClient") @interface RecaptchaClient : NSObject /// Executes reCAPTCHA on a user action. /// It is suggested the usage of 10 seconds for the timeout. The minimum value @@ -443,8 +444,7 @@ SWIFT_CLASS("_TtC19RecaptchaEnterprise15RecaptchaClient") + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - -SWIFT_CLASS("_TtC19RecaptchaEnterprise17RecaptchaConstant") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK17RecaptchaConstant") @interface RecaptchaConstant : NSObject SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull clientVersion;) + (NSString * _Nonnull)clientVersion SWIFT_WARN_UNUSED_RESULT; @@ -457,9 +457,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) double defaultTimeou enum RecaptchaErrorCode : NSInteger; @class NSCoder; - /// Error class for reCAPTCHA Events. -SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaError") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaError") @interface RecaptchaError : NSError /// Code relative to the error that was thrown. It maps to RecaptchaErrorCode. @property (nonatomic, readonly) enum RecaptchaErrorCode errorCode; @@ -474,7 +473,7 @@ SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaError") /// IMPORTANT: This list is add-only. Never change any existing value, since this class is /// publicly visible and customers rely on these values to do error checking. typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) { -/// Unknown error occurred during the workflow. +/// Unknown error occurred during the lwPz0qSe. RecaptchaErrorCodeErrorCodeUnknown = 0, /// reCAPTCHA cannot connect to Google servers, please make sure the app has network access. RecaptchaErrorCodeErrorNetworkError = 1, @@ -499,20 +498,17 @@ typedef SWIFT_ENUM(NSInteger, RecaptchaErrorCode, open) { RecaptchaErrorCodeErrorCodeInternalError = 100, }; - /// Swift implementation for RecaptchaTokenSwift that holds the response of a successful /// execute call. -SWIFT_CLASS("_TtC19RecaptchaEnterprise14RecaptchaToken") SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.") +SWIFT_CLASS("_TtC22RecaptchaEnterpriseSDK14RecaptchaToken") SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string.") @interface RecaptchaToken : NSObject /// The Token to be used for verification. @property (nonatomic, readonly, copy) NSString * _Nonnull recaptchaToken; -- (nonnull instancetype)init:(NSString * _Nonnull)mobilemivdvtyi OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string."); +- (nonnull instancetype)init:(NSString * _Nonnull)mobiletecqlyzr OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("Newer implementations return the Token as a string."); - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end - - #endif #if __has_attribute(external_source_symbol) # pragma clang attribute pop diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Info.plist b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Info.plist new file mode 100755 index 0000000000..69423c7622 Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Info.plist differ diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc new file mode 100755 index 0000000000..95b957f603 Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftdoc differ diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface new file mode 100755 index 0000000000..b200e495f1 --- /dev/null +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/arm64.swiftinterface @@ -0,0 +1,107 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) +// swift-module-flags: -target arm64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterpriseSDK -package-name googlemac/iPhone/recaptcha/enterprise +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2 +import CryptoKit +import DeviceCheck +import Foundation +import Network +import Security +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject { + @objc public static let clientVersion: Swift.String + @objc public static let defaultTimeoutExecute: Swift.Double + @objc public static let defaultTimeoutInit: Swift.Double + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject { + @objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterpriseSDK.RecaptchaClient + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @objc deinit +} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +@objc public enum RecaptchaActionType : Swift.Int { + case login + case signup + case other + public init?(rawValue: Swift.Int) + @available(*, deprecated, message: "Use RecaptchaAction enums instead.") + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc final public class RecaptchaAction : ObjectiveC.NSObject, Swift.Sendable { + convenience public init(customAction: Swift.String) + @available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function") + @objc public init(action: RecaptchaEnterpriseSDK.RecaptchaActionType) + @objc public static let login: RecaptchaEnterpriseSDK.RecaptchaAction + @objc public static let signup: RecaptchaEnterpriseSDK.RecaptchaAction + @objc public static func custom(_ action: Swift.String) -> RecaptchaEnterpriseSDK.RecaptchaAction + @objc deinit +} +@_hasMissingDesignatedInitializers @objc final public class RecaptchaClient : ObjectiveC.NSObject, Swift.Sendable { + @objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String + @objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + @objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.") + @objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaToken?, RecaptchaEnterpriseSDK.RecaptchaError?) -> Swift.Void) + @objc deinit +} +@objc public enum RecaptchaErrorCode : Swift.Int { + case errorCodeUnknown = 0 + case errorNetworkError = 1 + case errorInvalidSiteKey = 2 + case erroInvalidKeyType = 3 + case errorInvalidPackageName = 4 + case errorInvalidAction = 5 + case errorInvalidTimeout = 6 + case errorNoNetwork = 7 + case errorCodeInternalError = 100 + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError, @unchecked Swift.Sendable { + @objc public var errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode { + @objc get + } + @objc public var errorMessage: Swift.String { + @objc get + } + public init(errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode, errorMessage: Swift.String) + @objc deinit +} +@available(*, deprecated, message: "Newer implementations return the Token as a string.") +@objc public class RecaptchaToken : ObjectiveC.NSObject { + @objc final public let recaptchaToken: Swift.String + @available(*, deprecated, message: "Newer implementations return the Token as a string.") + @objc public init(_ mobiletecqlyzr: Swift.String) + @objc deinit +} +extension Foundation.UserDefaults : @unchecked Swift.Sendable { +} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Equatable {} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Hashable {} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.RawRepresentable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Equatable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Hashable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.RawRepresentable {} diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftdoc b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftdoc new file mode 100755 index 0000000000..8823335c47 Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftdoc differ diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftinterface b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftinterface new file mode 100755 index 0000000000..9dfb682606 --- /dev/null +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/RecaptchaEnterpriseSDK.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,107 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) +// swift-module-flags: -target x86_64-apple-ios15.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -enable-experimental-feature AccessLevelOnImport -enable-bare-slash-regex -module-name RecaptchaEnterpriseSDK -package-name googlemac/iPhone/recaptcha/enterprise +// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2 +import CryptoKit +import DeviceCheck +import Foundation +import Network +import Security +import Swift +import UIKit +import WebKit +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +@objc @_inheritsConvenienceInitializers @objcMembers public class RecaptchaConstant : ObjectiveC.NSObject { + @objc public static let clientVersion: Swift.String + @objc public static let defaultTimeoutExecute: Swift.Double + @objc public static let defaultTimeoutInit: Swift.Double + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc public class Recaptcha : ObjectiveC.NSObject { + @objc public static func fetchClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + public static func fetchClient(withSiteKey siteKey: Swift.String) async throws -> RecaptchaEnterpriseSDK.RecaptchaClient + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(withSiteKey siteKey: Swift.String, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(withSiteKey siteKey: Swift.String, completion: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use the new api `fetchClient(withSiteKey:completion:)` instead.") + @objc public static func getClient(siteKey: Swift.String, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaClient?, Foundation.NSError?) -> Swift.Void) + @objc deinit +} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +@objc public enum RecaptchaActionType : Swift.Int { + case login + case signup + case other + public init?(rawValue: Swift.Int) + @available(*, deprecated, message: "Use RecaptchaAction enums instead.") + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc final public class RecaptchaAction : ObjectiveC.NSObject, Swift.Sendable { + convenience public init(customAction: Swift.String) + @available(*, deprecated, message: "Please use customAction with the regular RecaptchaAction.custom() function") + @objc public init(action: RecaptchaEnterpriseSDK.RecaptchaActionType) + @objc public static let login: RecaptchaEnterpriseSDK.RecaptchaAction + @objc public static let signup: RecaptchaEnterpriseSDK.RecaptchaAction + @objc public static func custom(_ action: Swift.String) -> RecaptchaEnterpriseSDK.RecaptchaAction + @objc deinit +} +@_hasMissingDesignatedInitializers @objc final public class RecaptchaClient : ObjectiveC.NSObject, Swift.Sendable { + @objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, withTimeout timeout: Swift.Double = RecaptchaConstant.defaultTimeoutExecute) async throws -> Swift.String + @objc final public func execute(withAction action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + @objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completion: @escaping @Sendable (Swift.String?, Foundation.NSError?) -> Swift.Void) + @available(*, deprecated, message: "Use `execute(withAction:completion:)` instead.") + @objc final public func execute(_ action: RecaptchaEnterpriseSDK.RecaptchaAction, completionHandler: @escaping @Sendable (RecaptchaEnterpriseSDK.RecaptchaToken?, RecaptchaEnterpriseSDK.RecaptchaError?) -> Swift.Void) + @objc deinit +} +@objc public enum RecaptchaErrorCode : Swift.Int { + case errorCodeUnknown = 0 + case errorNetworkError = 1 + case errorInvalidSiteKey = 2 + case erroInvalidKeyType = 3 + case errorInvalidPackageName = 4 + case errorInvalidAction = 5 + case errorInvalidTimeout = 6 + case errorNoNetwork = 7 + case errorCodeInternalError = 100 + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers @objc public class RecaptchaError : Foundation.NSError, @unchecked Swift.Sendable { + @objc public var errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode { + @objc get + } + @objc public var errorMessage: Swift.String { + @objc get + } + public init(errorCode: RecaptchaEnterpriseSDK.RecaptchaErrorCode, errorMessage: Swift.String) + @objc deinit +} +@available(*, deprecated, message: "Newer implementations return the Token as a string.") +@objc public class RecaptchaToken : ObjectiveC.NSObject { + @objc final public let recaptchaToken: Swift.String + @available(*, deprecated, message: "Newer implementations return the Token as a string.") + @objc public init(_ mobiletecqlyzr: Swift.String) + @objc deinit +} +extension Foundation.UserDefaults : @unchecked Swift.Sendable { +} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Equatable {} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.Hashable {} +@available(*, deprecated, message: "Use RecaptchaAction enums instead.") +extension RecaptchaEnterpriseSDK.RecaptchaActionType : Swift.RawRepresentable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Equatable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.Hashable {} +extension RecaptchaEnterpriseSDK.RecaptchaErrorCode : Swift.RawRepresentable {} diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap new file mode 100755 index 0000000000..8b67ccf9b4 --- /dev/null +++ b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/Modules/module.modulemap @@ -0,0 +1,5 @@ +framework module RecaptchaEnterpriseSDK { + header "RecaptchaEnterpriseSDK.h" + + requires objc +} diff --git a/third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy old mode 100644 new mode 100755 similarity index 100% rename from third-party/recaptcha/RecaptchaEnterprise.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterprise.framework/PrivacyInfo.xcprivacy rename to third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/PrivacyInfo.xcprivacy diff --git a/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK new file mode 100755 index 0000000000..1f7a7fc44a Binary files /dev/null and b/third-party/recaptcha/RecaptchaEnterpriseSDK.xcframework/ios-arm64_x86_64-simulator/RecaptchaEnterpriseSDK.framework/RecaptchaEnterpriseSDK differ