steamcommunity 3.48.3 → 3.48.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -22
- package/classes/CEconItem.js +120 -120
- package/classes/CSteamUser.js +225 -225
- package/components/groups.js +798 -798
- package/components/users.js +7 -0
- package/package.json +1 -1
package/components/users.js
CHANGED
|
@@ -629,6 +629,13 @@ SteamCommunity.prototype.getUserInventoryContents = function(userID, appID, cont
|
|
|
629
629
|
return;
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
+
if (appID == 730 && body && body.success && !body.assets) {
|
|
633
|
+
// CS inventory has no visible items. We need a special case for this because Valve is incapable of
|
|
634
|
+
// doing anything not dumb.
|
|
635
|
+
callback(null, [], [], body.total_inventory_count);
|
|
636
|
+
return;
|
|
637
|
+
}
|
|
638
|
+
|
|
632
639
|
if (!body || !body.success || !body.assets || !body.descriptions) {
|
|
633
640
|
if (body) {
|
|
634
641
|
// Dunno if the error/Error property even exists on this new endpoint
|