diff --git a/ATProtoLite-Demo/ATProtoLite-Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ATProtoLite-Demo/ATProtoLite-Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 5c9bfa5..d5929c9 100644 --- a/ATProtoLite-Demo/ATProtoLite-Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ATProtoLite-Demo/ATProtoLite-Demo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "a181d4ea539bab301ef81799ae7006319ef1881564c08386cfc9670493ad267c", + "originHash" : "7698967d6bb59aa11fc8c62e14e7ce4d7524dfcb07fc7f038bb56a437f1e829f", "pins" : [ { "identity" : "atresolve", "kind" : "remoteSourceControl", "location" : "https://github.com/germ-network/ATResolve", "state" : { - "revision" : "6b69a7bd310fd8a4b1a2281d6d8665ebe889b6bc", - "version" : "1.1.3" + "revision" : "26459d9d6e7deb27066b9d7d2931279acc107138", + "version" : "1.0.0-germ.2" } }, { @@ -15,8 +15,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/germ-network/autonomous-comm-protocol.git", "state" : { - "revision" : "f939a2ff62b065dfd792dc9f11b75f2ddfa4adf1", - "version" : "1.1.9" + "revision" : "295a73d20310c82ca84e46c4dde8af1d49b5a3d8", + "version" : "1.1.10" } }, { @@ -24,8 +24,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/germ-network/OAuthenticator", "state" : { - "revision" : "2e3936413622bf16a83928b91aaf8ae4ace769f9", - "version" : "0.7.1-germ.1" + "revision" : "f657aa04cb6241c0811052264f345046f6938274", + "version" : "0.7.2-germ.1" } }, { diff --git a/ATProtoLite-Demo/ATProtoLite-Demo/Views/AuthenticatedView.swift b/ATProtoLite-Demo/ATProtoLite-Demo/Views/AuthenticatedView.swift index f4dde27..1752e87 100644 --- a/ATProtoLite-Demo/ATProtoLite-Demo/Views/AuthenticatedView.swift +++ b/ATProtoLite-Demo/ATProtoLite-Demo/Views/AuthenticatedView.swift @@ -86,16 +86,16 @@ struct CachedAuthenticatedView: View { } } if let blocked { - Text("Blocked: \(blocked)") + Text(verbatim: "Blocked: \(blocked)") } if let blocking { - Text("Blocking: \(blocking)") + Text(verbatim: "Blocking: \(blocking)") } if let following { - Text("Following: \(following)") + Text(verbatim: "Following: \(following)") } if let followedBy { - Text("Followed by: \(followedBy)") + Text(verbatim: "Followed by: \(followedBy)") } } } @@ -113,7 +113,7 @@ struct CachedAuthenticatedView: View { let metadata = try await ATProtoAuthAPI.getAuthedMetadata( for: theirDID.fullId, pdsURL: pdsURL, - authenticator: authenticator.authenticator + authenticator: authenticator ) blocking = metadata.blockingURI != nil blocked = metadata.isBlocked @@ -144,7 +144,7 @@ struct CachedAuthenticatedView: View { ), for: myDID.fullId, pdsURL: pdsURL, - authenticator: authenticator.authenticator + authenticator: authenticator ) } } diff --git a/ATProtoLite-Demo/ATProtoLite-Demo/Views/LoginView.swift b/ATProtoLite-Demo/ATProtoLite-Demo/Views/LoginView.swift index 38c96c1..9cfa7ee 100644 --- a/ATProtoLite-Demo/ATProtoLite-Demo/Views/LoginView.swift +++ b/ATProtoLite-Demo/ATProtoLite-Demo/Views/LoginView.swift @@ -73,10 +73,9 @@ struct LoginView: View { ) self.pds = pds - let pdsURL = try URL(string: pds!)! + let pdsURL = URL(string: pds!)! try await viewModel.getAuthenticator(pdsURL: pdsURL) - .authenticator .authenticate() } self.authenticatingTask = authenticatingTask