steamutils 1.2.48 → 1.2.50

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
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>
@@ -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$/.tmp" />
6
5
  <excludeFolder url="file://$MODULE_DIR$/temp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
7
  <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
8
  </content>
9
9
  <orderEntry type="inheritedJdk" />
package/.idea/vcs.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
5
  </component>
6
6
  </project>
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) {
@@ -2582,7 +2575,7 @@ class SteamUser {
2582
2575
  matchInfo.waitTime = text.substringAfter('Wait Time: ')
2583
2576
  } else if (text.startsWith('Match Duration: ')) {
2584
2577
  matchInfo.duration = text.substringAfter('Match Duration: ')
2585
- } else if (text === 'Download GOTV Replay') {
2578
+ } else if (text === 'Download GOTV Replay' || text === 'Download Replay') {
2586
2579
  matchInfo.GOTV_Replay = tdEl.find('a').attr('href')
2587
2580
  } else if (text.startsWith('Viewers: ')) {
2588
2581
  matchInfo.viewers = parseInt(text.substringAfter('Viewers: '))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "steamutils",
3
- "version": "1.2.48",
3
+ "version": "1.2.50",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "axios": "^1.4.0",
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
- </state>
5
- </component>