this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

pull in latest CoreATProtocol

+15 -15
+10 -10
Package.resolved
··· 7 7 "location" : "https://tangled.org/@sparrowtek.com/CoreATProtocol", 8 8 "state" : { 9 9 "branch" : "main", 10 - "revision" : "05e65a69c1b04ebce48011890814248e91cb3eef" 10 + "revision" : "7c0b9e265aeda72cb9791830c45168f97048d88c" 11 11 } 12 12 }, 13 13 { ··· 25 25 "location" : "https://github.com/SparrowTek/NetworkingKit.git", 26 26 "state" : { 27 27 "branch" : "main", 28 - "revision" : "9f3b3147ec60ad869a6079c58b0aabcde8e174da" 28 + "revision" : "8df3678a8e21522daebd71346156e1a7fae19d58" 29 29 } 30 30 }, 31 31 { ··· 42 42 "kind" : "remoteSourceControl", 43 43 "location" : "https://github.com/apple/swift-asn1.git", 44 44 "state" : { 45 - "revision" : "9f542610331815e29cc3821d3b6f488db8715517", 46 - "version" : "1.6.0" 45 + "revision" : "eb50cbd14606a9161cbc5d452f18797c90ef0bab", 46 + "version" : "1.7.0" 47 47 } 48 48 }, 49 49 { ··· 51 51 "kind" : "remoteSourceControl", 52 52 "location" : "https://github.com/apple/swift-certificates.git", 53 53 "state" : { 54 - "revision" : "24ccdeeeed4dfaae7955fcac9dbf5489ed4f1a25", 55 - "version" : "1.18.0" 54 + "revision" : "5aa1c0d1bc204908df47c2075bdbb39573d05e8d", 55 + "version" : "1.19.0" 56 56 } 57 57 }, 58 58 { ··· 60 60 "kind" : "remoteSourceControl", 61 61 "location" : "https://github.com/apple/swift-crypto.git", 62 62 "state" : { 63 - "revision" : "fa308c07a6fa04a727212d793e761460e41049c3", 64 - "version" : "4.3.0" 63 + "revision" : "476538ccb827f2dd18efc5de754cc87d77127a47", 64 + "version" : "4.4.0" 65 65 } 66 66 }, 67 67 { ··· 69 69 "kind" : "remoteSourceControl", 70 70 "location" : "https://github.com/apple/swift-log.git", 71 71 "state" : { 72 - "revision" : "bbd81b6725ae874c69e9b8c8804d462356b55523", 73 - "version" : "1.10.1" 72 + "revision" : "5073617dac96330a486245e4c0179cb0a6fd2256", 73 + "version" : "1.12.0" 74 74 } 75 75 } 76 76 ],
+1 -1
Sources/bskyKit/BskyAPI.swift
··· 89 89 extension BskyAPI: EndpointType { 90 90 public var baseURL: URL? { 91 91 get async { 92 - guard let host = await APEnvironment.current.host, 92 + guard let host = await ATProtoSession.shared.host, 93 93 let url = URL(string: host) else { 94 94 return nil 95 95 }
+1 -1
Sources/bskyKit/BskyService.swift
··· 70 70 71 71 private func execute<T: Decodable & Sendable>(_ endpoint: BskyAPI) async throws -> T { 72 72 try ensureHostConfigured() 73 - let delegate = APEnvironment.current.routerDelegate 73 + let delegate = ATProtoSession.shared.routerDelegate 74 74 return try await RouterCache.bsky(delegate: delegate).execute(endpoint) 75 75 } 76 76
+1 -1
Sources/bskyKit/Configuration.swift
··· 18 18 19 19 @APActor 20 20 func ensureHostConfigured() throws { 21 - guard let host = APEnvironment.current.host else { 21 + guard let host = ATProtoSession.shared.host else { 22 22 throw BskyKitConfigurationError.hostNotConfigured 23 23 } 24 24 guard URL(string: host) != nil else {
+1 -1
Sources/bskyKit/RepoAPI.swift
··· 26 26 extension RepoAPI: EndpointType { 27 27 public var baseURL: URL? { 28 28 get async { 29 - guard let host = await APEnvironment.current.host, 29 + guard let host = await ATProtoSession.shared.host, 30 30 let url = URL(string: host) else { 31 31 return nil 32 32 }
+1 -1
Sources/bskyKit/RepoService.swift
··· 16 16 17 17 private func execute<T: Decodable & Sendable>(_ endpoint: RepoAPI) async throws -> T { 18 18 try ensureHostConfigured() 19 - let delegate = APEnvironment.current.routerDelegate 19 + let delegate = ATProtoSession.shared.routerDelegate 20 20 return try await RouterCache.repo(delegate: delegate).execute(endpoint) 21 21 } 22 22