Skip to content

Commit

Permalink
Updated CryptoExchange.Net to version 8.4.4 to fix deserialization er…
Browse files Browse the repository at this point in the history
…ror in .net framework
  • Loading branch information
JKorf committed Dec 8, 2024
1 parent 6c3d142 commit f2d71d3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
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.4.3" />
<PackageReference Include="CryptoExchange.Net" Version="8.4.4" />
<PackageReference Include="Crc32.NET" Version="1.2.0" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 1 addition & 1 deletion CoinEx.Net/Objects/Models/V2/CoinExFuturesOrder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public record CoinExFuturesOrder
/// Client order id
/// </summary>
[JsonPropertyName("client_id")]
[JsonConverterCtor<ReplaceConverter>($"{CoinExExchange.ClientOrderIdPrefix}->")]
[JsonConverterCtor(typeof(ReplaceConverter), $"{CoinExExchange.ClientOrderIdPrefix}->")]
public string? ClientOrderId { get; set; }
/// <summary>
/// Fee
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public record CoinExFuturesPlaceOrderRequest
/// The client order id
/// </summary>
[JsonPropertyName("client_id"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonConverterCtor<ReplaceConverter>($"{CoinExExchange.ClientOrderIdPrefix}->")]
[JsonConverterCtor(typeof(ReplaceConverter), $"{CoinExExchange.ClientOrderIdPrefix}->")]
public string? ClientOrderId { get; set; }
/// <summary>
/// Whether to hide the order
Expand Down
2 changes: 1 addition & 1 deletion CoinEx.Net/Objects/Models/V2/CoinExOrder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public record CoinExOrder
/// Client order id
/// </summary>
[JsonPropertyName("client_id")]
[JsonConverterCtor<ReplaceConverter>($"{CoinExExchange.ClientOrderIdPrefix}->")]
[JsonConverterCtor(typeof(ReplaceConverter), $"{CoinExExchange.ClientOrderIdPrefix}->")]
public string? ClientOrderId { get; set; }
/// <summary>
/// Fee in base asset
Expand Down
2 changes: 1 addition & 1 deletion CoinEx.Net/Objects/Models/V2/CoinExStopOrder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public record CoinExStopOrder
/// Client order id
/// </summary>
[JsonPropertyName("client_id")]
[JsonConverterCtor<ReplaceConverter>($"{CoinExExchange.ClientOrderIdPrefix}->")]
[JsonConverterCtor(typeof(ReplaceConverter), $"{CoinExExchange.ClientOrderIdPrefix}->")]
public string? ClientOrderId { get; set; }
/// <summary>
/// Timestamp order was created
Expand Down
2 changes: 1 addition & 1 deletion CoinEx.Net/Objects/Models/V2/CoinExStreamOrder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public record CoinExStreamOrder
/// Client order id
/// </summary>
[JsonPropertyName("client_id")]
[JsonConverterCtor<ReplaceConverter>($"{CoinExExchange.ClientOrderIdPrefix}->")]
[JsonConverterCtor(typeof(ReplaceConverter), $"{CoinExExchange.ClientOrderIdPrefix}->")]
public string? ClientOrderId { get; set; }
/// <summary>
/// Fee in base asset
Expand Down

0 comments on commit f2d71d3

Please sign in to comment.