steamutils 1.2.41 → 1.2.42

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