diff --git a/Package.resolved b/Package.resolved index 8237d75..e9515ee 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/aws-amplify/amplify-swift", "state" : { - "revision" : "6c73bf77e8df9634b311de325927610188261ab4", - "version" : "2.33.6" + "revision" : "dbc4a0412f4b5cd96f3e756e78bbd1e8e0a35a2f", + "version" : "2.35.4" } }, { @@ -50,8 +50,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/stephencelis/SQLite.swift.git", "state" : { - "revision" : "e78ae0220e17525a15ac68c697a155eb7a672a8e", - "version" : "0.15.0" + "revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8", + "version" : "0.15.3" } }, { @@ -59,8 +59,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-log.git", "state" : { - "revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5", - "version" : "1.5.4" + "revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", + "version" : "1.6.1" } } ], diff --git a/Package.swift b/Package.swift index 0d83a66..ee5353c 100644 --- a/Package.swift +++ b/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["FaceLiveness"]), ], dependencies: [ - .package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.33.6") + .package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.35.4") ], targets: [ .target( diff --git a/Sources/FaceLiveness/Utilities/UserAgent.swift b/Sources/FaceLiveness/Utilities/UserAgent.swift index eddad6f..5cf3a3e 100644 --- a/Sources/FaceLiveness/Utilities/UserAgent.swift +++ b/Sources/FaceLiveness/Utilities/UserAgent.swift @@ -6,7 +6,7 @@ // import UIKit -import AWSPluginsCore +import InternalAmplifyCredentials struct UserAgentValues { @@ -55,7 +55,7 @@ struct UserAgentValues { static func standard(additionalMetadata: KeyValuePairs = [:]) -> Self { return .init( - amplifyVersion: AWSPluginsCore.AmplifyAWSServiceConfiguration.amplifyVersion, + amplifyVersion: AmplifyAWSServiceConfiguration.amplifyVersion, os: UIDevice.current.systemName.replacingOccurrences(of: " ", with: "-"), osVersion: UIDevice.current.systemVersion, swiftVersion: Swift().version(),