mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-07 07:56:12 +00:00
Updated to version 8.5.0
This commit is contained in:
parent
290be7f5e0
commit
73c42bd452
@ -369,7 +369,7 @@ namespace CryptoExchange.Net.Authentication
|
|||||||
var rsa = RSA.Create();
|
var rsa = RSA.Create();
|
||||||
if (_credentials.CredentialType == ApiCredentialsType.RsaPem)
|
if (_credentials.CredentialType == ApiCredentialsType.RsaPem)
|
||||||
{
|
{
|
||||||
#if NETSTANDARD2_1_OR_GREATER
|
#if NETSTANDARD2_1_OR_GREATER || NET9_0_OR_GREATER
|
||||||
// Read from pem private key
|
// Read from pem private key
|
||||||
var key = _credentials.Secret!
|
var key = _credentials.Secret!
|
||||||
.Replace("\n", "")
|
.Replace("\n", "")
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
<PackageId>CryptoExchange.Net</PackageId>
|
<PackageId>CryptoExchange.Net</PackageId>
|
||||||
<Authors>JKorf</Authors>
|
<Authors>JKorf</Authors>
|
||||||
<Description>CryptoExchange.Net is a base library which is used to implement different cryptocurrency (exchange) API's. It provides a standardized way of implementing different API's, which results in a very similar experience for users of the API implementations.</Description>
|
<Description>CryptoExchange.Net is a base library which is used to implement different cryptocurrency (exchange) API's. It provides a standardized way of implementing different API's, which results in a very similar experience for users of the API implementations.</Description>
|
||||||
<PackageVersion>8.4.5</PackageVersion>
|
<PackageVersion>8.5.0</PackageVersion>
|
||||||
<AssemblyVersion>8.4.5</AssemblyVersion>
|
<AssemblyVersion>8.5.0</AssemblyVersion>
|
||||||
<FileVersion>8.4.5</FileVersion>
|
<FileVersion>8.5.0</FileVersion>
|
||||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||||
<PackageTags>OKX;OKX.Net;Mexc;Mexc.Net;Kucoin;Kucoin.Net;Kraken;Kraken.Net;Huobi;Huobi.Net;CoinEx;CoinEx.Net;Bybit;Bybit.Net;Bitget;Bitget.Net;Bitfinex;Bitfinex.Net;Binance;Binance.Net;CryptoCurrency;CryptoCurrency Exchange</PackageTags>
|
<PackageTags>OKX;OKX.Net;Mexc;Mexc.Net;Kucoin;Kucoin.Net;Kraken;Kraken.Net;Huobi;Huobi.Net;CoinEx;CoinEx.Net;Bybit;Bybit.Net;Bitget;Bitget.Net;Bitfinex;Bitfinex.Net;Binance;Binance.Net;CryptoCurrency;CryptoCurrency Exchange</PackageTags>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
|
@ -180,7 +180,7 @@ namespace CryptoExchange.Net
|
|||||||
{
|
{
|
||||||
var randomChars = new char[length];
|
var randomChars = new char[length];
|
||||||
|
|
||||||
#if NETSTANDARD2_1_OR_GREATER
|
#if NETSTANDARD2_1_OR_GREATER || NET9_0_OR_GREATER
|
||||||
for (int i = 0; i < length; i++)
|
for (int i = 0; i < length; i++)
|
||||||
randomChars[i] = _allowedRandomChars[RandomNumberGenerator.GetInt32(0, _allowedRandomChars.Length)];
|
randomChars[i] = _allowedRandomChars[RandomNumberGenerator.GetInt32(0, _allowedRandomChars.Length)];
|
||||||
#else
|
#else
|
||||||
|
10
README.md
10
README.md
@ -66,6 +66,16 @@ Make a one time donation in a crypto currency of your choice. If you prefer to d
|
|||||||
Alternatively, sponsor me on Github using [Github Sponsors](https://github.com/sponsors/JKorf).
|
Alternatively, sponsor me on Github using [Github Sponsors](https://github.com/sponsors/JKorf).
|
||||||
|
|
||||||
## Release notes
|
## Release notes
|
||||||
|
* Version 8.5.0 - 23 Dec 2024
|
||||||
|
* Added SetOptions method to update client settings
|
||||||
|
* Added SocketConnection parameter to PeriodicQuery callback
|
||||||
|
* Added setting of DefaultProxyCredentials on HttpClient instance when client is not provided by DI
|
||||||
|
* Added support for overriding request timeout per request
|
||||||
|
* Added build target for net9.0
|
||||||
|
* Added setting of KeepAliveTimeout on websocket connections to improve dropped connection detection
|
||||||
|
* Changed max wait time for close handshake response from 5 seconds to 1 second
|
||||||
|
* Fixed exception in trade tracker when there is no data in the initial snapshot
|
||||||
|
|
||||||
* Version 8.4.5 - 20 Dec 2024
|
* Version 8.4.5 - 20 Dec 2024
|
||||||
* Added EmptyArrayObjectConverter System.Text.Json JsonConverter
|
* Added EmptyArrayObjectConverter System.Text.Json JsonConverter
|
||||||
* Added JsonSerializerOptions parameter to SystemTextJsonMessageAccessor constructor
|
* Added JsonSerializerOptions parameter to SystemTextJsonMessageAccessor constructor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user