Skip to content

Commit 3386e85

Browse files
committed
Update dependencies
1 parent 39476ae commit 3386e85

File tree

4 files changed

+24
-21
lines changed

4 files changed

+24
-21
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
format:
2+
swift format \
3+
--in-place \
4+
--ignore-unparsable-files \
5+
--recursive \
6+
./Sources Package.swift

Package.resolved

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

Package.swift

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,19 @@ let package = Package(
1919
)
2020
],
2121
dependencies: [
22-
.package(url: "https://github.com/supabase-community/gotrue-swift", .exactItem("0.0.4")),
23-
.package(
24-
name: "SupabaseStorage", url: "https://github.com/supabase/storage-swift.git", .exact("0.0.2")
25-
),
26-
.package(
27-
name: "Realtime", url: "https://github.com/supabase/realtime-swift.git", .exact("0.0.1")),
28-
.package(
29-
name: "PostgREST", url: "https://github.com/supabase/postgrest-swift", .exact("0.0.2")),
22+
.package(url: "https://github.com/supabase-community/gotrue-swift", from: "0.0.5"),
23+
.package(url: "https://github.com/supabase-community/storage-swift.git", from: "0.0.2"),
24+
.package(url: "https://github.com/supabase-community/realtime-swift.git", from: "0.0.1"),
25+
.package(url: "https://github.com/supabase-community/postgrest-swift", from: "0.0.4"),
3026
],
3127
targets: [
3228
.target(
3329
name: "Supabase",
3430
dependencies: [
3531
.product(name: "GoTrue", package: "gotrue-swift"),
36-
"SupabaseStorage",
37-
"Realtime",
38-
"PostgREST",
32+
.product(name: "SupabaseStorage", package: "storage-swift"),
33+
.product(name: "Realtime", package: "realtime-swift"),
34+
.product(name: "PostgREST", package: "postgrest-swift"),
3935
]
4036
)
4137
]

Sources/Supabase/SupabaseClient.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ public class SupabaseClient {
3939
public var database: PostgrestClient {
4040
var headers: [String: String] = defaultHeaders
4141
headers["Authorization"] = "Bearer \(auth.session?.accessToken ?? supabaseKey)"
42-
return PostgrestClient(url: restURL.absoluteString, headers: headers, schema: schema)
42+
return PostgrestClient(
43+
url: restURL.absoluteString, headers: headers, fetch: nil, schema: schema)
4344
}
4445

4546
/// Realtime client for Supabase

0 commit comments

Comments
 (0)