steamutils 1.2.15 → 1.2.17
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +17 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1224,7 +1224,8 @@ class SteamUser {
|
|
1224
1224
|
return result?.data
|
1225
1225
|
const resultExample = {
|
1226
1226
|
"730": {
|
1227
|
-
"success": true,
|
1227
|
+
"success": true,
|
1228
|
+
"data": {
|
1228
1229
|
"type": "game",
|
1229
1230
|
"name": "Counter-Strike: Global Offensive",
|
1230
1231
|
"steam_appid": 730,
|
@@ -5908,6 +5909,21 @@ class SteamUser {
|
|
5908
5909
|
}
|
5909
5910
|
}
|
5910
5911
|
}
|
5912
|
+
|
5913
|
+
async deauthorizeAllDevices(){
|
5914
|
+
const response = await this._httpRequestAjax({
|
5915
|
+
url: `https://store.steampowered.com/twofactor/manage_action`,
|
5916
|
+
method: 'POST',
|
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",
|
5921
|
+
}
|
5922
|
+
})
|
5923
|
+
console.log(response.data);
|
5924
|
+
const example = {
|
5925
|
+
}
|
5926
|
+
}
|
5911
5927
|
}
|
5912
5928
|
|
5913
5929
|
export default SteamUser
|