steamutils 1.2.47 → 1.2.49

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 +11 -8
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -25,6 +25,7 @@ let tooManyRequestTimestamp = 0
25
25
  export const MatchHistoryType = {
26
26
  matchhistoryscrimmage: 'matchhistoryscrimmage',
27
27
  matchhistorycompetitive: 'matchhistorycompetitive',
28
+ matchhistorypremier: 'matchhistorypremier',
28
29
  }
29
30
 
30
31
  export const MatchWinLose = {
@@ -1632,14 +1633,6 @@ class SteamUser {
1632
1633
  params.data += '&sessionID=' + this._sessionid
1633
1634
  } else {
1634
1635
  params.data.sessionid = params.data.sessionID = this._sessionid
1635
-
1636
- // if(!params.headers.get('content-type')) {
1637
- // const formData = new URLSearchParams()
1638
- // for (let key in params.data) {
1639
- // formData.append(key, params.data[key])
1640
- // }
1641
- // params.data = formData
1642
- // }
1643
1636
  }
1644
1637
 
1645
1638
  if (params.data instanceof URLSearchParams) {
@@ -5957,6 +5950,16 @@ class SteamUser {
5957
5950
  }
5958
5951
 
5959
5952
  async selectPreviousAvatar(avatarHash) {
5953
+ //gfdgfdgfdgfd
5954
+ //gfdgfdgfdgfd
5955
+ //gfdgfdgfdgfd
5956
+ //gfdgfdgfdgfd
5957
+ //gfdgfdgfdgfd
5958
+ //gfdgfdgfdgfd
5959
+ //gfdgfdgfdgfd
5960
+ //gfdgfdgfdgfd
5961
+ //gfdgfdgfdgfd
5962
+ //gfdgfdgfdgfd
5960
5963
  const result = await this._httpRequest({
5961
5964
  url: 'actions/selectPreviousAvatar',
5962
5965
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.47",
3
+ "version": "1.2.49",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.4.0",