steamutils 1.2.45 → 1.2.46
Sign up to get free protection for your applications and to get access to all the features.
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/steamutils.iml +1 -1
- package/.idea/vcs.xml +1 -1
- package/index.js +16 -0
- package/package.json +1 -1
- package/.idea/deployment.xml +0 -21
package/.idea/steamutils.iml
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
<module type="WEB_MODULE" version="4">
|
3
3
|
<component name="NewModuleRootManager">
|
4
4
|
<content url="file://$MODULE_DIR$">
|
5
|
-
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
6
5
|
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
7
7
|
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
8
8
|
</content>
|
9
9
|
<orderEntry type="inheritedJdk" />
|
package/.idea/vcs.xml
CHANGED
package/index.js
CHANGED
@@ -5956,6 +5956,22 @@ class SteamUser {
|
|
5956
5956
|
}
|
5957
5957
|
}
|
5958
5958
|
|
5959
|
+
async selectPreviousAvatar(avatarHash) {
|
5960
|
+
const result = await this._httpRequest({
|
5961
|
+
url: 'actions/selectPreviousAvatar',
|
5962
|
+
method: "POST",
|
5963
|
+
data: {
|
5964
|
+
json: 1,
|
5965
|
+
sha: avatarHash
|
5966
|
+
},
|
5967
|
+
headers: {
|
5968
|
+
'Accept': 'application/json, text/plain, */*',
|
5969
|
+
}
|
5970
|
+
})
|
5971
|
+
return result?.data
|
5972
|
+
const successResponse = {"success": 1}
|
5973
|
+
}
|
5974
|
+
|
5959
5975
|
async getMiniprofile(steamId = this._steamid_user){
|
5960
5976
|
const response = await this._httpRequestAjax({
|
5961
5977
|
url: `miniprofile/${SteamUser.steamID642Miniprofile(steamId)}/json/?origin=https://steamcommunity.com/`
|
package/package.json
CHANGED
package/.idea/deployment.xml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<project version="4">
|
3
|
-
<component name="PublishConfigData" remoteFilesAllowedToDisappearOnAutoupload="false">
|
4
|
-
<serverData>
|
5
|
-
<paths name="steamsupport">
|
6
|
-
<serverdata>
|
7
|
-
<mappings>
|
8
|
-
<mapping local="$PROJECT_DIR$" web="/" />
|
9
|
-
</mappings>
|
10
|
-
</serverdata>
|
11
|
-
</paths>
|
12
|
-
<paths name="steamsupportui">
|
13
|
-
<serverdata>
|
14
|
-
<mappings>
|
15
|
-
<mapping local="$PROJECT_DIR$" web="/" />
|
16
|
-
</mappings>
|
17
|
-
</serverdata>
|
18
|
-
</paths>
|
19
|
-
</serverData>
|
20
|
-
</component>
|
21
|
-
</project>
|