1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- import CryptoKit
1615import Foundation
1716
18- import Firebase
19-
2017@preconcurrency import Combine
2118import Observation
2219
@@ -154,7 +151,7 @@ extension QueryRefObservableObject: QueryRefInternal {
154151/// - ``data``: Published variable that contains bindable results of the query.
155152/// - ``lastError``: Published variable that contains ``DataConnectError`` if last fetch had error.
156153/// If last fetch was successful, this variable is cleared
157- @available ( macOS 15 , iOS 17 , tvOS 17 , watchOS 10 , * )
154+ @available ( macOS 14 , iOS 17 , tvOS 17 , watchOS 10 , * )
158155@Observable
159156public class QueryRefObservation <
160157 ResultData: Decodable & Sendable ,
@@ -232,7 +229,7 @@ public class QueryRefObservation<
232229 }
233230}
234231
235- @available ( macOS 15 , iOS 17 , tvOS 17 , watchOS 10 , * )
232+ @available ( macOS 14 , iOS 17 , tvOS 17 , watchOS 10 , * )
236233public extension QueryRefObservation {
237234 nonisolated func hash( into hasher: inout Hasher ) {
238235 hasher. combine ( baseRef)
@@ -243,14 +240,14 @@ public extension QueryRefObservation {
243240 }
244241}
245242
246- @available ( macOS 15 , iOS 17 , tvOS 17 , watchOS 10 , * )
243+ @available ( macOS 14 , iOS 17 , tvOS 17 , watchOS 10 , * )
247244extension QueryRefObservation : CustomStringConvertible {
248245 public nonisolated var description : String {
249246 " QueryRefObservation( \( String ( describing: baseRef) ) ) "
250247 }
251248}
252249
253- @available ( macOS 15 , iOS 17 , tvOS 17 , watchOS 10 , * )
250+ @available ( macOS 14 , iOS 17 , tvOS 17 , watchOS 10 , * )
254251extension QueryRefObservation : QueryRefInternal {
255252 func publishServerResultsToSubscribers( ) async throws {
256253 try await baseRef. publishServerResultsToSubscribers ( )
0 commit comments