Skip to content

Commit c9ee4fb

Browse files
committed
Updated CryptoExchange.Net version
1 parent 78691b2 commit c9ee4fb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

HTX.Net/Clients/SpotApi/HTXSocketClientSpotApi.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ protected override AuthenticationProvider CreateAuthenticationProvider(ApiCreden
9797
=> new HTXAuthenticationProvider(credentials, false);
9898

9999
/// <inheritdoc />
100-
protected override Query GetAuthenticationRequest(SocketConnection connection)
100+
protected override Task<Query?> GetAuthenticationRequestAsync(SocketConnection connection)
101101
{
102102
var path = connection.ConnectionUri;
103103

104-
return new HTXAuthQuery(new HTXAuthRequest<HTXAuthParams>
104+
return Task.FromResult<Query?>(new HTXAuthQuery(new HTXAuthRequest<HTXAuthParams>
105105
{
106106
Action = "req",
107107
Channel = "auth",
108108
Params = ((HTXAuthenticationProvider)AuthenticationProvider!).GetWebsocketAuthentication(path)
109-
});
109+
}));
110110
}
111111

112112
/// <inheritdoc />

HTX.Net/Clients/UsdtFutures/HTXSocketClientUsdtFuturesApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ public override ReadOnlyMemory<byte> PreprocessStreamMessage(SocketConnection co
6161
return data.DecompressGzip();
6262
}
6363

64-
protected override Query? GetAuthenticationRequest(SocketConnection connection)
64+
protected override Task<Query?> GetAuthenticationRequestAsync(SocketConnection connection)
6565
{
6666
var request = ((HTXAuthenticationProvider)AuthenticationProvider!).GetWebsocketAuthentication2(connection.ConnectionUri);
67-
return new HTXOpAuthQuery(request);
67+
return Task.FromResult<Query?>(new HTXOpAuthQuery(request));
6868
}
6969

7070
/// <inheritdoc />

HTX.Net/HTX.Net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<PrivateAssets>all</PrivateAssets>
4949
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5050
</PackageReference>
51-
<PackageReference Include="CryptoExchange.Net" Version="8.1.0" />
51+
<PackageReference Include="CryptoExchange.Net" Version="8.2.0" />
5252
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0">
5353
<PrivateAssets>all</PrivateAssets>
5454
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

HTX.Net/HTX.Net.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
<member name="M:HTX.Net.Clients.SpotApi.HTXSocketClientSpotApi.CreateAuthenticationProvider(CryptoExchange.Net.Authentication.ApiCredentials)">
438438
<inheritdoc />
439439
</member>
440-
<member name="M:HTX.Net.Clients.SpotApi.HTXSocketClientSpotApi.GetAuthenticationRequest(CryptoExchange.Net.Sockets.SocketConnection)">
440+
<member name="M:HTX.Net.Clients.SpotApi.HTXSocketClientSpotApi.GetAuthenticationRequestAsync(CryptoExchange.Net.Sockets.SocketConnection)">
441441
<inheritdoc />
442442
</member>
443443
<member name="M:HTX.Net.Clients.SpotApi.HTXSocketClientSpotApi.GetKlinesAsync(System.String,HTX.Net.Enums.KlineInterval)">

0 commit comments

Comments
 (0)