Skip to content

Commit 0df143d

Browse files
committed
format code
1 parent 99a0721 commit 0df143d

File tree

4 files changed

+157
-9
lines changed

4 files changed

+157
-9
lines changed

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
.library(
1717
name: "Supabase",
1818
targets: ["Supabase"]
19-
),
19+
)
2020
],
2121
dependencies: [
2222
.package(url: "https://github.com/supabase-community/gotrue-swift", from: "0.1.0"),
@@ -41,8 +41,8 @@ let package = Package(
4141
"-warn-concurrency",
4242
"-enable-actor-data-race-checks",
4343
]
44-
),
44+
)
4545
]
46-
),
46+
)
4747
]
4848
)

Sources/Supabase/SupabaseClient.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ public class SupabaseClient {
3737

3838
/// Realtime client for Supabase
3939
public var realtime: RealtimeClient {
40-
RealtimeClient(
41-
endPoint: supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
42-
params: defaultHeaders
43-
)
44-
}
40+
RealtimeClient(
41+
endPoint: supabaseURL.appendingPathComponent("/realtime/v1").absoluteString,
42+
params: defaultHeaders
43+
)
44+
}
4545

4646
/// Supabase Functions allows you to deploy and invoke edge functions.
4747
public var functions: FunctionsClient {
@@ -75,7 +75,7 @@ public class SupabaseClient {
7575
defaultHeaders = [
7676
"X-Client-Info": "supabase-swift/\(version)",
7777
"apikey": supabaseKey,
78-
].merging(headers) { old, _ in old }
78+
].merging(headers) { _, new in new }
7979

8080
auth = GoTrueClient(
8181
url: supabaseURL.appendingPathComponent("/auth/v1"),
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

supabase-swift.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 140 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)