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
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"repositoryURL": "https://github.com/supabase-community/gotrue-swift",
2525
"state": {
2626
"branch": null,
27-
"revision": "5a5aca5aa63fbb4639458dc0c044f17586c3c9d7",
28-
"version": "0.0.4"
27+
"revision": "d4e0cb73db890358fb6efaaae7ca9fb636720c24",
28+
"version": "0.0.5"
2929
}
3030
},
3131
{
@@ -39,16 +39,16 @@
3939
},
4040
{
4141
"package": "PostgREST",
42-
"repositoryURL": "https://github.com/supabase/postgrest-swift",
42+
"repositoryURL": "https://github.com/supabase-community/postgrest-swift",
4343
"state": {
4444
"branch": null,
45-
"revision": "6583648399a3ff3979d7df388a8e7ba740e14378",
46-
"version": "0.0.2"
45+
"revision": "ebb07f8da5e8e4dee251c5bcb9c7f6ead537e1d6",
46+
"version": "0.0.4"
4747
}
4848
},
4949
{
5050
"package": "Realtime",
51-
"repositoryURL": "https://github.com/supabase/realtime-swift.git",
51+
"repositoryURL": "https://github.com/supabase-community/realtime-swift.git",
5252
"state": {
5353
"branch": null,
5454
"revision": "2b55564e1a724ca62067b0dc76e5e69439c30b76",
@@ -66,11 +66,11 @@
6666
},
6767
{
6868
"package": "SupabaseStorage",
69-
"repositoryURL": "https://github.com/supabase/storage-swift.git",
69+
"repositoryURL": "https://github.com/supabase-community/storage-swift.git",
7070
"state": {
7171
"branch": null,
72-
"revision": "ecc1b8b860cc67096be241f15d370451ed93f3ae",
73-
"version": "0.0.1"
72+
"revision": "ebb1ee7370ec0d50bcfb38ce05279e1475aebbf8",
73+
"version": "0.0.2"
7474
}
7575
},
7676
{

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)