steamutils 1.2.48 → 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.
- package/index.js +1 -8
- 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) {
|