Closed yakikotori closed 1 year ago
I think that return Array.Empty
I did some testing and it seems like Confirmation.ConfType
is always MarketSellTransaction, when they are a trade offer.
Fiddler shows the JSON contains
{
"success": true,
"conf": [
{
"type": 2,
"type_name": "Trade Offer",
}
]
}
The ConfirmationType
enum type has MarketSellTransaction = 2
which is incorrect.
I suppose that the enum definition needs to be updated.
great work ππΌ
I used your solution and i did a temp fix for the Steam Desktop authenticator :) πΊπΌ Basically right now i used a HttpClient instead of the browser.
I didn't commit the files from the SteamAuth repo, since im using your solution, only added more fields to the Confirmation class:
[JsonProperty(PropertyName = "headline")]
public string Headline { get; set; }
[JsonProperty(PropertyName = "summary")]
public List<String> Summary { get; set; }
[JsonProperty(PropertyName = "accept")]
public string Accept { get; set; }
[JsonProperty(PropertyName = "cancel")]
public string Cancel { get; set; }
[JsonProperty(PropertyName = "icon")]
public string Icon { get; set; }
Here's my change on the SteamAuth project:
https://github.com/geel9/SteamAuth/commit/1dd1bae576bfc9d3ca24f2093df7426c405b2e41
Apparently Steam changed how we get confirmations, this pr should make it work again, I made a few tests and it appears to be working fine, but feel free to test it yourself to make sure