steamutils 1.2.16 → 1.2.17

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 +4 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5914,8 +5914,10 @@ class SteamUser {
5914
5914
  const response = await this._httpRequestAjax({
5915
5915
  url: `https://store.steampowered.com/twofactor/manage_action`,
5916
5916
  method: 'POST',
5917
- data: {
5918
- action: 'deauthorize'
5917
+ data: "action=deauthorize&sessionid=" + this._sessionid,
5918
+ headers: {
5919
+ "content-type": "application/x-www-form-urlencoded",
5920
+ "Referer": "https://store.steampowered.com/twofactor/manage",
5919
5921
  }
5920
5922
  })
5921
5923
  console.log(response.data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.16",
3
+ "version": "1.2.17",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.4.0",