steamutils 1.2.50 → 1.2.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6144,7 +6144,7 @@ class SteamUser {
6144
6144
  } catch (e) {
6145
6145
  }
6146
6146
  })
6147
- const assets = Object.values(result.assets["730"]["2"])
6147
+ const assets = Object.values(result.assets["730"]?.["2"] || {})
6148
6148
  return {list, assets, success: true}
6149
6149
  }
6150
6150
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.50",
3
+ "version": "1.2.51",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.4.0",