Skip to content

Commit

Permalink
Merge pull request #49 from alokym86/master
Browse files Browse the repository at this point in the history
updated to CryptoExchange.Net v6.2.1
  • Loading branch information
ridicoulous committed Nov 29, 2023
2 parents 9aba3dc + 86349f3 commit 201f352
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Bitmex.Net/Bitmex.Net.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CryptoExchange.Net" Version="6.1.4" />
<PackageReference Include="CryptoExchange.Net" Version="6.2.1" />
<PackageReference Include="CsvHelper" Version="27.1.1" />
</ItemGroup>

Expand Down
4 changes: 1 addition & 3 deletions Bitmex.Net/BitmexAuthenticationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;

namespace Bitmex.Net.Client
{
Expand Down Expand Up @@ -68,7 +66,7 @@ public BitmexAuthenticationProvider(ApiCredentials credentials, TimeSpan? reques
headers.Add("api-expires", apiexpires.ToString(CultureInfo.InvariantCulture));
headers.Add("api-signature", signedData);
}
public override string Sign(string toSign)
public string Sign(string toSign)
{
return SignHMACSHA256(toSign);
}
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ Other CryptoExchange.Net implementations:
</table>

## Changelog
* 3.0.1
* updated to CryptoExchange.Net v6.2.1
* small fixess
* 3.0.0
* updated to CryptoExchange.Net v6.1.4
* 2.0.3
* updated to CryptoExchange.Net v5.4.3
* 2.0.2
Expand Down

0 comments on commit 201f352

Please sign in to comment.