Skip to content

Commit

Permalink
Updated CryptoExchange.Net version
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Nov 6, 2024
1 parent c762aa7 commit 9cf417e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CoinEx.Net/Clients/FuturesApi/CoinExSocketClientFuturesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ public override string FormatSymbol(string baseAsset, string quoteAsset, Trading
}

/// <inheritdoc />
protected override Query? GetAuthenticationRequest(SocketConnection connection)
protected override Task<Query?> GetAuthenticationRequestAsync(SocketConnection connection)
{
var authProvider = (CoinExV2AuthenticationProvider)AuthenticationProvider!;
var authParams = authProvider.GetSocketAuthParameters();
return new CoinExQuery("server.sign", authParams, false, 0);
return Task.FromResult<Query?>(new CoinExQuery("server.sign", authParams, false, 0));
}

/// <inheritdoc />
Expand Down
4 changes: 2 additions & 2 deletions CoinEx.Net/Clients/SpotApiV1/CoinExSocketClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ protected override AuthenticationProvider CreateAuthenticationProvider(ApiCreden
}

/// <inheritdoc />
protected override Query? GetAuthenticationRequest(SocketConnection connection)
protected override Task<Query?> GetAuthenticationRequestAsync(SocketConnection connection)
{
var authProvider = (CoinExAuthenticationProvider)AuthenticationProvider!;
var authParams = authProvider.GetSocketAuthParameters();
return new CoinExQuery<CoinExSubscriptionStatus>("server.sign", authParams, false);
return Task.FromResult<Query?>(new CoinExQuery<CoinExSubscriptionStatus>("server.sign", authParams, false));
}

#region public
Expand Down
4 changes: 2 additions & 2 deletions CoinEx.Net/Clients/SpotApiV2/CoinExSocketClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ public override string FormatSymbol(string baseAsset, string quoteAsset, Trading
}

/// <inheritdoc />
protected override Query? GetAuthenticationRequest(SocketConnection connection)
protected override Task<Query?> GetAuthenticationRequestAsync(SocketConnection connection)
{
var authProvider = (CoinExV2AuthenticationProvider)AuthenticationProvider!;
var authParams = authProvider.GetSocketAuthParameters();
return new CoinExQuery("server.sign", authParams, false, 0);
return Task.FromResult<Query?>(new CoinExQuery("server.sign", authParams, false, 0));
}

/// <inheritdoc />
Expand Down
2 changes: 1 addition & 1 deletion CoinEx.Net/CoinEx.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="CryptoExchange.Net" Version="8.1.0" />
<PackageReference Include="CryptoExchange.Net" Version="8.2.0" />
<PackageReference Include="Crc32.NET" Version="1.2.0" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
Expand Down
6 changes: 3 additions & 3 deletions CoinEx.Net/CoinEx.Net.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9cf417e

Please sign in to comment.