steamutils 1.2.40 → 1.2.42

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 +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6040,7 +6040,12 @@ class SteamUser {
6040
6040
  assetid: assetid,
6041
6041
  amount: amount,
6042
6042
  price: price,
6043
- }
6043
+ },
6044
+ method: "POST",
6045
+ headers: {
6046
+ 'content-type': 'application/x-www-form-urlencoded',
6047
+ Referer: `https://steamcommunity.com/profiles/${this.getSteamidUser()}/inventory/`
6048
+ },
6044
6049
  }))?.data
6045
6050
 
6046
6051
  return response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.40",
3
+ "version": "1.2.42",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.4.0",