Update dependency SteamKit2 to v2.4.0-Beta.1 (#2454)

* Update dependency SteamKit2 to v2.4.0-Beta.1

* Fix warnings

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Archi <JustArchi@JustArchi.net>
This commit is contained in:
renovate[bot] 2021-11-18 22:47:54 +01:00 committed by GitHub
parent 7b51cca934
commit 7892f110ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 11 deletions

View file

@ -257,8 +257,7 @@ public sealed class ArchiWebHandler : IDisposable {
return null;
}
// Extra entry for format
Dictionary<string, object> arguments = new(3, StringComparer.Ordinal) {
Dictionary<string, object?> arguments = new(2, StringComparer.Ordinal) {
// ReSharper disable once RedundantSuppressNullableWarningExpression - required for .NET Framework
{ "access_token", accessToken! },
@ -1323,8 +1322,7 @@ public sealed class ArchiWebHandler : IDisposable {
return false;
}
// Extra entry for format
Dictionary<string, object> arguments = new(3, StringComparer.Ordinal) {
Dictionary<string, object?> arguments = new(2, StringComparer.Ordinal) {
// ReSharper disable once RedundantSuppressNullableWarningExpression - required for .NET Framework
{ "key", steamApiKey! },
@ -1381,8 +1379,7 @@ public sealed class ArchiWebHandler : IDisposable {
return null;
}
// Extra entry for format
Dictionary<string, object> arguments = new(6, StringComparer.Ordinal) {
Dictionary<string, object?> arguments = new(5, StringComparer.Ordinal) {
{ "active_only", 1 },
{ "get_descriptions", 1 },
{ "get_received_offers", 1 },
@ -1872,8 +1869,7 @@ public sealed class ArchiWebHandler : IDisposable {
return null;
}
// Extra entry for format
Dictionary<string, object> arguments = new(!string.IsNullOrEmpty(tradeToken) ? 4 : 3, StringComparer.Ordinal) {
Dictionary<string, object?> arguments = new(!string.IsNullOrEmpty(tradeToken) ? 3 : 2, StringComparer.Ordinal) {
// ReSharper disable once RedundantSuppressNullableWarningExpression - required for .NET Framework
{ "key", steamApiKey! },
@ -2056,8 +2052,7 @@ public sealed class ArchiWebHandler : IDisposable {
// AES encrypt our login key with our session key
byte[] encryptedLoginKey = CryptoHelper.SymmetricEncrypt(loginKey, sessionKey);
// Extra entry for format
Dictionary<string, object> arguments = new(4, StringComparer.Ordinal) {
Dictionary<string, object?> arguments = new(3, StringComparer.Ordinal) {
{ "encrypted_loginkey", encryptedLoginKey },
{ "sessionkey", encryptedSessionKey },
{ "steamid", steamID }

View file

@ -12,7 +12,7 @@
<PackageVersion Include="Newtonsoft.Json" Version="13.0.1" />
<PackageVersion Include="Nito.AsyncEx.Coordination" Version="5.1.2" />
<PackageVersion Include="NLog.Web.AspNetCore" Version="4.14.0" />
<PackageVersion Include="SteamKit2" Version="2.4.0-Alpha.3" />
<PackageVersion Include="SteamKit2" Version="2.4.0-Beta.1" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.2.3" />
<PackageVersion Include="Swashbuckle.AspNetCore.Annotations" Version="6.2.3" />
<PackageVersion Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.2.3" />