File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff 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 />
Original file line number Diff line number Diff 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 />
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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)">
You can’t perform that action at this time.
0 commit comments