Skip to content

Commit 0d6a484

Browse files
committed
style: swift format
1 parent cbdac03 commit 0d6a484

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Sources/Realtime/RealtimeChannel.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,11 @@ public enum RealtimeSubscribeStates {
139139
/// .receive("error") { payload in print("Failed ot join", payload) }
140140
/// .receive("timeout") { payload in print("Networking issue...", payload) }
141141
///
142-
@available(*, deprecated, message: "Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md")
142+
@available(
143+
*,
144+
deprecated,
145+
message: "Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
146+
)
143147
public class RealtimeChannel {
144148
/// The topic of the RealtimeChannel. e.g. "rooms:friends"
145149
public let topic: String

Sources/Realtime/RealtimeClient.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ struct StateChangeCallbacks {
5858
/// The `RealtimeClient` constructor takes the mount point of the socket,
5959
/// the authentication params, as well as options that can be found in
6060
/// the Socket docs, such as configuring the heartbeat.
61-
@available(*, deprecated, message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md")
61+
@available(
62+
*,
63+
deprecated,
64+
message: "Use new RealtimeClientV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md"
65+
)
6266
public class RealtimeClient: PhoenixTransportDelegate {
6367
// ----------------------------------------------------------------------
6468

0 commit comments

Comments
 (0)