DoctorMcKay / node-steam-user

Allows interaction with the Steam network via the Steam client protocol
https://dev.doctormckay.com/forum/7-node-steam-user/
MIT License
892 stars 157 forks source link

Change the getUserOwnedApps() method description #471

Closed rcode-app closed 2 months ago

rcode-app commented 9 months ago

Describe the bug

The key names are incorrect.

"games_count" => "app_count" "games" => "apps"

Versions

steam-user: ^5.0.8

2024-02-09 19 56 40 2024-02-09 19 55 15

response: { app_count: 26, apps: [ { content_descriptorids: [Array], appid: 10, name: 'Counter-Strike', playtime_2weeks: null, playtime_forever: 74464, img_icon_url: 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/10/6b0312cda02f5f777efa2f3318c307ff9acafbb5.jpg', has_community_visible_stats: null, playtime_windows_forever: 0, playtime_mac_forever: 0, playtime_linux_forever: 0, rtime_last_played: 1456867622, capsule_filename: null, sort_as: null, has_workshop: null, has_market: null, has_dlc: null, has_leaderboards: null }, ... ] }

simonkovtyk commented 4 months ago

https://github.com/DoctorMcKay/node-steam-user/pull/484

simonkovtyk commented 3 months ago

And also the fix for the definitly types here: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/70209

DoctorMcKay commented 2 months ago

Fixed in 5.1.0