Skip to content

Commit 28145f4

Browse files
committed
Update dependencies: Supabase.Gotrue@6.0.3 and Supabase.Realtime@7.0.2
1 parent 278be21 commit 28145f4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Supabase/Client.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ public Client(string supabaseUrl, string? supabaseKey, SupabaseOptions? options
183183
};
184184

185185
_realtime = new Realtime.Client(realtimeUrl, realtimeOptions);
186+
_realtime.GetHeaders = GetAuthHeaders;
186187

187188
_postgrest = new Postgrest.Client(restUrl, new Postgrest.ClientOptions { Schema = schema });
188189
_postgrest.GetHeaders = GetAuthHeaders;

Supabase/Supabase.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
4444
<PackageReference Include="Supabase.Core" Version="1.0.0" />
4545
<PackageReference Include="Supabase.Functions" Version="2.0.0" />
46-
<PackageReference Include="Supabase.Gotrue" Version="6.0.2" />
46+
<PackageReference Include="Supabase.Gotrue" Version="6.0.3" />
4747
<PackageReference Include="Supabase.Postgrest" Version="4.0.3" />
48-
<PackageReference Include="Supabase.Realtime" Version="7.0.1" />
48+
<PackageReference Include="Supabase.Realtime" Version="7.0.2" />
4949
<PackageReference Include="Supabase.Storage" Version="2.0.2" />
5050
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
5151
</ItemGroup>

SupabaseTests/Stubs/FakeRealtimeClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,6 @@ public void SetAuth(string jwt)
8484
public JsonSerializerSettings SerializerSettings { get; }
8585
public IRealtimeSocket Socket { get; }
8686
public ReadOnlyDictionary<string, RealtimeChannel> Subscriptions { get; }
87+
public Func<Dictionary<string, string>> GetHeaders { get; set; }
8788
}
8889
}

0 commit comments

Comments
 (0)