Skip to content

Commit

Permalink
chore: update amplify dependency to 2.45.4
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisabhash committed Jan 13, 2025
1 parent d2089c8 commit 7125e2b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/aws-amplify/amplify-swift",
"state" : {
"revision" : "95d8f16780c4e11a243fdae93c386195347aea66",
"version" : "2.42.1"
"revision" : "7b1d5ee05a23ea24c7458dffed1c563c8501042d",
"version" : "2.45.4"
}
},
{
Expand All @@ -23,26 +23,26 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/awslabs/aws-crt-swift",
"state" : {
"revision" : "7b42e0343f28b3451aab20840dc670abd12790bd",
"version" : "0.36.0"
"revision" : "3f844bef042cc0a4c3381f7090414ce3f9a7e935",
"version" : "0.37.0"
}
},
{
"identity" : "aws-sdk-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/awslabs/aws-sdk-swift.git",
"state" : {
"revision" : "828358a2c39d138325b0f87a2d813f4b972e5f4f",
"version" : "1.0.0"
"revision" : "c6c1064da9bfccb119a7a8ab9ba636fb3bbfa6f5",
"version" : "1.0.47"
}
},
{
"identity" : "smithy-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/smithy-lang/smithy-swift",
"state" : {
"revision" : "0ed3440f8c41e27a0937364d5035d2d4fefb8aa3",
"version" : "0.71.0"
"revision" : "3cd9f181b3ba8ff71da43bf53c09f8de6790a4ad",
"version" : "0.96.0"
}
},
{
Expand Down
1 change: 1 addition & 0 deletions HostApp/HostApp/HostAppApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ struct HostAppApp: App {

init() {
do {
Amplify.Logging.logLevel = .verbose
let auth = AWSCognitoAuthPlugin()
let api = AWSAPIPlugin()
try Amplify.add(plugin: auth)
Expand Down
8 changes: 6 additions & 2 deletions HostApp/HostApp/Views/ExampleLivenessView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ struct ExampleLivenessView: View {
viewModel.presentationState = .error(.invalidSignature)
case .failure(.cameraNotAvailable):
viewModel.presentationState = .error(.cameraNotAvailable)
default:
viewModel.presentationState = .liveness
case .failure(.validation):
viewModel.presentationState = .error(.validation)
case .failure(.faceInOvalMatchExceededTimeLimitError):
viewModel.presentationState = .error(.faceInOvalMatchExceededTimeLimitError)
case .failure(_):
viewModel.presentationState = .error(.unknown)
}
}
}
Expand Down
16 changes: 8 additions & 8 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/aws-amplify/amplify-swift",
"state" : {
"revision" : "95d8f16780c4e11a243fdae93c386195347aea66",
"version" : "2.42.1"
"revision" : "7b1d5ee05a23ea24c7458dffed1c563c8501042d",
"version" : "2.45.4"
}
},
{
Expand All @@ -23,26 +23,26 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/awslabs/aws-crt-swift",
"state" : {
"revision" : "7b42e0343f28b3451aab20840dc670abd12790bd",
"version" : "0.36.0"
"revision" : "3f844bef042cc0a4c3381f7090414ce3f9a7e935",
"version" : "0.37.0"
}
},
{
"identity" : "aws-sdk-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/awslabs/aws-sdk-swift.git",
"state" : {
"revision" : "828358a2c39d138325b0f87a2d813f4b972e5f4f",
"version" : "1.0.0"
"revision" : "c6c1064da9bfccb119a7a8ab9ba636fb3bbfa6f5",
"version" : "1.0.47"
}
},
{
"identity" : "smithy-swift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/smithy-lang/smithy-swift",
"state" : {
"revision" : "0ed3440f8c41e27a0937364d5035d2d4fefb8aa3",
"version" : "0.71.0"
"revision" : "3cd9f181b3ba8ff71da43bf53c09f8de6790a4ad",
"version" : "0.96.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
targets: ["FaceLiveness"]),
],
dependencies: [
.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.42.1")
.package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.45.4")
],
targets: [
.target(
Expand Down

0 comments on commit 7125e2b

Please sign in to comment.